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:
  • Constructor Details

  • 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 interface PARFlexibleBillNowController
      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 interface PARFlexibleBillNowController
      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

      This method performs the billing by calling the opcode PCM_OP_BILL_MAKE_BILL_NOW
      Specified by:
      performBillNow in interface PARFlexibleBillNowController
      Parameters:
      nodes - , ArrayList of selected nodes which is sent for the billing
      selectedItems - , ArrayList of selected nodes which is sent for the billing
      Returns:
      PModelHandle
      Throws:
      RemoteException
      EBufException