Class PARConnectionAdjBeanImpl

All Implemented Interfaces:
PIACollectionBean, PControllerBean, Serializable, Remote, Unreferenced

public class PARConnectionAdjBeanImpl extends PIAComponentCollectionBean
The following opcodes are used by this controller:
  • PortalOp.BILL_ACCOUNT_ADJUSTMENT
  • PortalOp.BILL_DEBIT
See Also:
  • Field Details

    • SUCCESS_STR

      public static String SUCCESS_STR
  • Constructor Details

  • Method Details

    • setModelHandle

      public void setModelHandle(PModelHandle pmh)
      Parameters:
      pmh -
    • getModelHandle

      public PModelHandle getModelHandle()
    • adjustConnection

      public String adjustConnection(ArrayList aList, PModelHandle hAcct) throws RemoteException
      Perform Connection level adjustment for currency and non-currency resource Call PortalOp.BILL_ACCOUNT_ADJUSTMENT for currency Call PortalOp.BILL_DEBIT for non-currency
      Parameters:
      aList - ArrayList containing data to perform this operation
      hArAcct - Handle for the AR account poid
      Throws:
      RemoteException
    • getReasonCodes

      public ReasonCodeData[] getReasonCodes(ArrayList alReason) throws RemoteException
      return reason code for given reason type
      Parameters:
      alReason - ArrayList
      Returns:
      ReasonCodeData[]
      Throws:
      RemoteException
    • getCurrencyResources

      public Vector getCurrencyResources(PModelHandle hAcct, int[] naCurr) throws RemoteException
      returns currency type resource
      Parameters:
      hAcct - PModelHandle
      naCurr - int[]
      Returns:
      Vector
      Throws:
      RemoteException
    • getContext

      protected PCachedContext getContext() throws RemoteException
      Returns client context of the customer center
      Overrides:
      getContext in class PControllerImpl
      Returns:
      PCachedContext
      Throws:
      RemoteException
    • getBalanaceGroupModel

      public PModelHandle getBalanaceGroupModel(PModelHandle pMh)
      Returns list of balancegroups for a given service and connection
      Parameters:
      pMh - PModelHandle
      Returns:
      PModelHandle
    • isAccountHavingNonCurrencyResources

      public boolean isAccountHavingNonCurrencyResources(PModelHandle pMh)
      This method is used to find if an account has any non-currency resources
      Returns:
      true if present else false
    • getCurrentAccountPoid

      public Poid 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 - Poid
      strServiceName - String
      mServicePoid - Poid
      Returns:
      PModelHandle