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_ADJUSTMENT
PortalOp.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_ADJUSTMENT
for currency CallPortalOp.BILL_DEBIT
for 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 PCachedContext
Returns 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 typeboolean
This method is used to find if an account has any non-currency resourcesvoid
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, 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
-
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_ADJUSTMENT
for currency CallPortalOp.BILL_DEBIT
for 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:
getContext
in 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
-