Interface PIABalanceInfoBean

All Superinterfaces:
Remote
All Known Implementing Classes:
PIABalanceInfoBeanImpl

public interface PIABalanceInfoBean extends Remote
Controller bean interface for the Account Balance Panel
Author:
Kapono Carter
  • Field Details

  • Method Details

    • getCurrencyData

      List getCurrencyData() throws RemoteException
      Throws:
      RemoteException
    • getCurrencyData

      Object getCurrencyData(int index) throws RemoteException
      Throws:
      RemoteException
    • getNonCurrencyData

      List getNonCurrencyData() throws RemoteException
      Throws:
      RemoteException
    • getNonCurrencyData

      Object getNonCurrencyData(int index) throws RemoteException
      Throws:
      RemoteException
    • update

      void update(int reason, Object data) throws RemoteException
      Updates the balance panel with the balance information for the current account. The primary and secondary currency (if any) is retrieved, as well as the current balance and credit limit. Data is sent to the client in 2 shots - once for each table.
      Parameters:
      reason -
      data -
      Throws:
      RemoteException
    • getCurrencySymbol

      Object getCurrencySymbol(int index) throws RemoteException
      Used to retrieve the currency symbol for a given row or to get a modelFieldDescription for a given row.
      Parameters:
      index -
      Throws:
      RemoteException
    • getBEIDData

      Object getBEIDData(int index, boolean currency) throws RemoteException
      Throws:
      RemoteException
    • getBEIDDescription

      Object getBEIDDescription(int index) throws RemoteException
      Throws:
      RemoteException
    • isSecIDNonZero

      Boolean isSecIDNonZero() throws RemoteException
      Throws:
      RemoteException
    • getReasonData

      Object getReasonData(Object eventData) throws RemoteException
      Throws:
      RemoteException
    • setAccountPoid

      void setAccountPoid(Poid pAcctPoid)
      Sets the account poid
      Parameters:
      pAcctPoid - a Poid for an account
    • getAccountPoid

      Poid getAccountPoid()
      Gets the account poid
      Returns:
      pAcctPoid a Poid for an account
    • setBalanceGroupPoid

      void setBalanceGroupPoid(Poid pBalGrpPoid)
      Sets the Balance Group poid
      Parameters:
      pBalGrpPoid - a Poid for Balance Group
    • getBalanceGroupPoid

      Poid getBalanceGroupPoid()
      Gets the Balance Group poid
      Returns:
      pBalGrpPoid a Poid for Balance Group
    • setBillinfoPoid

      void setBillinfoPoid(Poid pBillinfoPoid)
      Sets the Billinfo poid
      Parameters:
      pBillinfoPoid - a Poid for billinfo
    • getBillinfoPoid

      Poid getBillinfoPoid()
      Gets the Billinfo poid
      Returns:
      pBillinfoPoid a Poid for Billinfo
    • getAllSvcLvlBillinfos

      Hashtable getAllSvcLvlBillinfos()
      Gets the available billinfo's for given account.
      Returns:
      A Hashtable of billinfo details.
    • getAcctLvlBillinfoDetails

      Hashtable getAcctLvlBillinfoDetails()
      Gets the available billinfo to which default accoutn level balance group is associated with for given account.
      Returns:
      A Hashtable of billinfo details.
    • getAllNameinfo

      Hashtable getAllNameinfo()
      Gets the available nameinfo for given account.
      Returns:
      A Hashtable of nameinfo details.
    • getSvcsForBalGrpOfAcctAndBillinfo

      Hashtable getSvcsForBalGrpOfAcctAndBillinfo()
      Gets the available services for the balance group for given account and billinfo poid
      Returns:
      A Hashtable of services associated to all balances groups of given billinfo.
    • getBalsOfAllBalGrpsOfAcctAndBillinfo

      Hashtable getBalsOfAllBalGrpsOfAcctAndBillinfo()
      Gets the available balances for each balance group for given account and billinfo poid
      Returns:
      A Hashtable of balances details for all balances groups of given billinfo.
    • getAcctLvlBalanceGroupAndBillinfoID

      PModelHandle getAcctLvlBalanceGroupAndBillinfoID(PModelHandle mHAcct, ResourceBundle bundle) throws RemoteException
      Gets default account level billinfo and balance group details.This is the Action method for the bean.
      Parameters:
      mHAcct - the PModelHandle for the account
      bundle - the resource bundle
      Returns:
      mHBalGrp the PModelHandle for Flist containing account poid and default account level balance group and billinfo poid's.
      Throws:
      RemoteException - thrown if no billinfo and balance group found or for null POIDs
    • getBalGrpsAndSvcsForAcctAndBillInfo

      void getBalGrpsAndSvcsForAcctAndBillInfo(Poid pAcctPoid, Poid pBillinfoPoid) throws RemoteException
      Gets balance groups and services details associated to the given account and billinfo objects.
      Parameters:
      pAcctPoid - account POID.
      pBillinfoPoid - Billinfo POID.
      Throws:
      RemoteException - thrown if no balace groups and services are found or for null POIDs
    • getAllBillInfoAndDetailsForAcct

      PModelHandle getAllBillInfoAndDetailsForAcct(PModelHandle mHAcct) throws RemoteException
      Gets all billinfo details for the the given account poid
      Parameters:
      mHAcct - the PModelHandle for the account
      Returns:
      mhBillInfos the PModelHandle for the list of all the billinfo's and its details for given account.
      Throws:
      RemoteException - thrown if no billinfo's are found or for null POIDs
    • processOutputFlistOfBillinfos

      void processOutputFlistOfBillinfos(PModelHandle mhBillInfos) throws RemoteException
      Parses the output flist with all the billinfos and its details for the given account poid
      Parameters:
      mhBillInfos - the PModelHandle for Flist containing all the billinfos and its details for the given account poid.
      Throws:
      RemoteException - thrown if no billinfos are found or for null POIDs
    • getBalancesForAcctAndBalGrpID

      Hashtable getBalancesForAcctAndBalGrpID(Poid pAcctPoid, Poid pBalGrpPoid) throws RemoteException
      Gets balance details for the given account and balance group Poid.This is the Action method for the bean.
      Parameters:
      pAcctPoid - account POID.
      pBalGrpPoid - Balance group POID.
      Returns:
      A Hashtable of balances details.
      Throws:
      RemoteException - thrown if no balances found or for null POIDs
    • getCurrencyCurrentBal

      BigDecimal getCurrencyCurrentBal()
      Gets the Current balance for currency balance group
      Returns:
      mCurrentBalance a BigDecimal current balance amount for the currency balance
    • getPrimaryCurrencySymbol

      String getPrimaryCurrencySymbol()
      Gets the primary currency symbol of the account.
      Returns:
      mPrimaryCurrencySymbol a String of primary currency symbol of the account.
    • getBalanceSummaryForBillInfo

      BigDecimal getBalanceSummaryForBillInfo(Poid billInfoPoid, int nIncludeChildren) throws RemoteException
      method for geting the currency balance of selected bilInfo
      Parameters:
      billInfoPoid - selected BillInfoPOID.
      nIncludeChildren - flag to include child Accounts
      Returns:
      BigDecimal Currency balance of selected bilInfo
      Throws:
      RemoteException
    • getCurrencyCreditLimitForBillunit

      BigDecimal getCurrencyCreditLimitForBillunit()
      Gets the Credit limit for selected Billinfo . This method does a summation of the Credit limit of all Balance Groups of a given Billinfo. If the Credit Limit of any Balance Group is unlimited then this method will return a null.
      Returns:
      A BigDecimal Credit Limit of given billinfo.