Package com.portal.app.ccare.comp
Class PARFlexibleBillNowControllerImpl
java.lang.Object
com.portal.bas.PControllerImpl
com.portal.bas.comp.PIAComponentCollectionBean
com.portal.app.ccare.comp.PARFlexibleBillNowControllerImpl
- All Implemented Interfaces:
PARFlexibleBillNowController
,PIACollectionBean
,PControllerBean
,Serializable
,Remote
,Unreferenced
public class PARFlexibleBillNowControllerImpl
extends PIAComponentCollectionBean
implements PARFlexibleBillNowController
- See Also:
-
Field Summary
Fields 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 TypeMethodDescriptiongetAccountPendingItems
(HashMap criteria, boolean includeChildren, Object[] billInfoData, boolean userConfirmed) This method will return all the pending items for the account using the opcode PCM_OP_AR_GET_BILL_ITEMS.getBillUnitPendingItems
(HashMap criteria, boolean includeChildren, boolean userConfirmed) This method will return all the pending items of the currently selected bill unit of the account using the opcode PCM_OP_AR_GET_BILL_ITEMS.This method performs the billing by calling the opcode PCM_OP_BILL_MAKE_BILL_NOWMethods 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
-
Constructor Details
-
PARFlexibleBillNowControllerImpl
Default constructor- Throws:
RemoteException
-
-
Method Details
-
getAccountPendingItems
public Object getAccountPendingItems(HashMap criteria, boolean includeChildren, Object[] billInfoData, boolean userConfirmed) throws RemoteException This method will return all the pending items for the account using the opcode PCM_OP_AR_GET_BILL_ITEMS.- Specified by:
getAccountPendingItems
in interfacePARFlexibleBillNowController
- Parameters:
criteria
- , HashMap data passed in for searching.includeChildren
- , boolean flag indicates whether to include the children or not.billInfoData
- , It contains bill info data like ARbillinfo poid.userConfirmed
- , This flag indicates whether the user wants to retrieve all the pending items with/without considering the Threshold. This should be called with "false" first, and then after showing a confirmation to the user and if still they want to continue then pass "true"- Returns:
- Object, This Object can be either Integer or PModelHandle. If Integer object returned then it indicates the threshold has exceeded. If PModelHandle is returned, then it contains the real pending items data.
- Throws:
RemoteException
-
getBillUnitPendingItems
public Object getBillUnitPendingItems(HashMap criteria, boolean includeChildren, boolean userConfirmed) throws RemoteException This method will return all the pending items of the currently selected bill unit of the account using the opcode PCM_OP_AR_GET_BILL_ITEMS.- Specified by:
getBillUnitPendingItems
in interfacePARFlexibleBillNowController
- Parameters:
criteria
- , HashMap data passed in for searching.includeChildren
- , boolean flag indicates whether to include the children or not.userConfirmed
- , This flag indicates whether the user wants to retrieve all the pending items with/without considering the Threshold. This should be called with "false" first, and then after showing a confirmation to the user and if still they want to continue then pass "true"- Returns:
- Object, This Object can be either Integer or PModelHandle. If Integer object returned then it indicates the threshold has exceeded. If PModelHandle is returned, then it contains the real pending items data.
- Throws:
RemoteException
-
performBillNow
public PModelHandle performBillNow(ArrayList<PendingItemChargeNode> nodes) throws RemoteException, EBufException This method performs the billing by calling the opcode PCM_OP_BILL_MAKE_BILL_NOW- Specified by:
performBillNow
in interfacePARFlexibleBillNowController
- Parameters:
nodes
- , ArrayList of selected nodes which is sent for the billingselectedItems
- , ArrayList of selected nodes which is sent for the billing- Returns:
- PModelHandle
- Throws:
RemoteException
EBufException
-