Package com.portal.app.ccare.comp
Class PARConnectionAdjBeanImpl
java.lang.Object
com.portal.bas.PControllerImpl
com.portal.bas.comp.PIAComponentCollectionBean
com.portal.app.ccare.comp.PARConnectionAdjBeanImpl
- All Implemented Interfaces:
PIACollectionBean,PControllerBean,Serializable,Remote,Unreferenced
The following opcodes are used by this controller:
PortalOp.BILL_ACCOUNT_ADJUSTMENTPortalOp.BILL_DEBIT
- 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 TypeMethodDescriptionadjustConnection(ArrayList aList, PModelHandle hAcct) Perform Connection level adjustment for currency and non-currency resource CallPortalOp.BILL_ACCOUNT_ADJUSTMENTfor currency CallPortalOp.BILL_DEBITfor non-currencyReturns list of balancegroups for a given service and connectiongetBalanceGroupResources(Poid mSelectedBGPoid, String strServiceName, Poid mServicePoid) Returns Model with list of resources for a given balancegroup and serviceprotected PCachedContextReturns client context of the customer centergetCurrencyResources(PModelHandle hAcct, int[] naCurr) returns currency type resourceReturns Current Account IdgetReasonCodes(ArrayList alReason) return reason code for given reason typebooleanThis method is used to find if an account has any non-currency resourcesvoidMethods inherited from class com.portal.bas.comp.PIAComponentCollectionBean
addChild, getCollectedData, getSelectionDataFor, removeChild, updateMethods inherited from class com.portal.bas.PControllerImpl
addRemoteListener, closeSecContext, createClientException, distributeEventToListeners, fireModelChangeEvent, getAppController, getArrayRange, getField, getField, getField, getFieldWithRestriction, getFieldWithRestriction, getFieldWithRestriction, getModel, getRemoteListenerHandle, getSecContext, handleDistributeToListener, isLight, register, releaseContext, releaseRemoteListener, removeRemoteListener, setField, setField, setModel, unreferencedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.portal.bas.PControllerBean
addRemoteListener, getArrayRange, getModel, getRemoteListenerHandle, isLight, register, releaseRemoteListener, removeRemoteListener, setModel
-
Field Details
-
SUCCESS_STR
-
-
Constructor Details
-
PARConnectionAdjBeanImpl
- Throws:
RemoteException
-
-
Method Details
-
setModelHandle
- Parameters:
pmh-
-
getModelHandle
-
adjustConnection
Perform Connection level adjustment for currency and non-currency resource CallPortalOp.BILL_ACCOUNT_ADJUSTMENTfor currency CallPortalOp.BILL_DEBITfor non-currency- Parameters:
aList- ArrayList containing data to perform this operationhArAcct- Handle for the AR account poid- Throws:
RemoteException
-
getReasonCodes
return reason code for given reason type- Parameters:
alReason- ArrayList- Returns:
- ReasonCodeData[]
- Throws:
RemoteException
-
getCurrencyResources
returns currency type resource- Parameters:
hAcct- PModelHandlenaCurr- int[]- Returns:
- Vector
- Throws:
RemoteException
-
getContext
Returns client context of the customer center- Overrides:
getContextin classPControllerImpl- Returns:
- PCachedContext
- Throws:
RemoteException
-
getBalanaceGroupModel
Returns list of balancegroups for a given service and connection- Parameters:
pMh- PModelHandle- Returns:
- PModelHandle
-
isAccountHavingNonCurrencyResources
This method is used to find if an account has any non-currency resources- Returns:
- true if present else false
-
getCurrentAccountPoid
Returns Current Account Id- Returns:
- Poid
-
getBalanceGroupResources
public PModelHandle getBalanceGroupResources(Poid mSelectedBGPoid, String strServiceName, Poid mServicePoid) Returns Model with list of resources for a given balancegroup and service- Parameters:
mSelectedBGPoid- PoidstrServiceName- StringmServicePoid- Poid- Returns:
- PModelHandle
-