Package com.portal.app.ccare.comp
Class PARItemAdjustBeanImpl
java.lang.Object
com.portal.bas.PControllerImpl
com.portal.bas.comp.PIAComponentCollectionBean
com.portal.app.ccare.comp.PARItemAdjustBeanImpl
- All Implemented Interfaces:
PARItemAdjustBean
,PIACollectionBean
,PControllerBean
,Serializable
,Remote
,Unreferenced
Implementation for
PARItemAdjustBean
interface.- Version:
- %version: 6 % %date_modified: Apr 29 13:21:54 2004 %
- Author:
- simonw
- See Also:
-
Field Summary
FieldsFields inherited from class com.portal.bas.PControllerImpl
mFList, mRemoteListeners, UPDATE_CLIENT, UPDATE_MODEL_CHANGE, UPDATE_NEW_MODEL, UPDATE_PROPERTY
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadjustItem
(PModelHandle mHandle, BigDecimal amount, Date transDate, String notes, String prog_name, Integer Reasoncode, Integer domainType, Integer taxInfo) getConvertedAmount
(int srcCurrency, int destCurrency, BigDecimal amount) getReasonCodes
(int reasonType, Locale locale) return reason code for given reason typeboolean
isPayingParentAccount
(PModelHandle hItemRow) Methods inherited from class com.portal.bas.comp.PIAComponentCollectionBean
addChild, getCollectedData, getSelectionDataFor, removeChild, update
Methods inherited from class com.portal.bas.PControllerImpl
addRemoteListener, closeSecContext, createClientException, distributeEventToListeners, fireModelChangeEvent, getAppController, getArrayRange, getContext, getField, getField, getField, getFieldWithRestriction, getFieldWithRestriction, getFieldWithRestriction, getModel, getRemoteListenerHandle, getSecContext, handleDistributeToListener, isLight, register, releaseContext, releaseRemoteListener, removeRemoteListener, setField, setField, setModel, unreferenced
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.portal.bas.PControllerBean
addRemoteListener, getArrayRange, getModel, getRemoteListenerHandle, isLight, register, releaseRemoteListener, removeRemoteListener, setModel
-
Field Details
-
FAIL_PERMISSION
-
FAIL_BACKDATE
-
FAIL_EBUFEXCEPTION
-
SUCCESS_STR
-
-
Constructor Details
-
PARItemAdjustBeanImpl
- Throws:
RemoteException
-
-
Method Details
-
adjustItem
public String adjustItem(PModelHandle mHandle, BigDecimal amount, Date transDate, String notes, String prog_name, Integer Reasoncode, Integer domainType, Integer taxInfo) throws RemoteException - Specified by:
adjustItem
in interfacePARItemAdjustBean
- Parameters:
amount
-transDate
-notes
-prog_name
-- Returns:
- Throws:
RemoteException
-
getConvertedAmount
public BigDecimal getConvertedAmount(int srcCurrency, int destCurrency, BigDecimal amount) throws RemoteException - Specified by:
getConvertedAmount
in interfacePARItemAdjustBean
- Parameters:
srcCurrency
-destCurrency
-amount
-- Returns:
- Throws:
RemoteException
-
getReasonCodes
return reason code for given reason type- Specified by:
getReasonCodes
in interfacePARItemAdjustBean
- Throws:
RemoteException
-
isPayingParentAccount
- Specified by:
isPayingParentAccount
in interfacePARItemAdjustBean
- Throws:
RemoteException
-