Class PBalanceGroupAndServicesLoader

java.lang.Object
com.portal.app.cc.PBalanceGroupAndServicesLoader

public class PBalanceGroupAndServicesLoader extends Object
BalanceGroupAndServicesLoader This object is used to load balance group, services and deal details
Author:
Manjunatha L
  • Constructor Details

  • Method Details

    • getBalDetailsUpdate

      public Hashtable getBalDetailsUpdate()
      Returns balance group details
      Returns:
      Hashtable
    • getServiceBalGrpDetails

      public Hashtable getServiceBalGrpDetails()
      Returns services to balance group details
      Returns:
      Hashtable
    • getDealServicesDetails

      public Hashtable getDealServicesDetails()
      Returns deal to services details
      Returns:
      Hashtable
    • getProductDealsDetails

      public Hashtable getProductDealsDetails()
      Returns product to deal details
      Returns:
      Hashtable
    • getBillInfoDetails

      public Hashtable getBillInfoDetails()
      Returns billinfo details
      Returns:
      Hashtable
    • getServicesVector

      protected Vector getServicesVector(SparseArray servSA, String balName, int balIndex, Vector balVect) throws EBufException
      Updates deal to services details and returns vector of services
      Parameters:
      servSA - SparseArray
      balName - String
      balIndex - int
      balVect - Vector
      Returns:
      Vector of services
      Throws:
      EBufException
    • getDealVector

      protected Vector getDealVector(FList svcFlist, String svcName, String balName) throws EBufException
      Updates product to deal details and returns vector of deals
      Parameters:
      svcFlist - FList
      svcName - String
      balName - String
      Returns:
      Vector of deals
      Throws:
      EBufException
    • getBalanceVector

      protected Vector getBalanceVector(SparseArray balSA, SparseArray servSA) throws EBufException
      Updates balance group details and returns vector of balances
      Parameters:
      balSA - SparseArray
      servSA - SparseArray
      Returns:
      Vector of balances
      Throws:
      EBufException
    • getBillsForMaintenance

      public void getBillsForMaintenance() throws RemoteException, EBufException
      method used for populationg balance group, services and deal details
      Throws:
      RemoteException
      EBufException
    • setBalGrpAndServicesToDSPur

      protected void setBalGrpAndServicesToDSPur(Vector vecBalGrpSvc, Hashtable balSvcHT)
      method used to load balance group and services data structures
      Parameters:
      vecBalGrpSvc - Vector
      balSvcHT - Hashtable
    • getBalancePoid

      protected Poid getBalancePoid(String balName)
      method returns the poid for the passed string balancename
      Parameters:
      balName - String
      Returns:
      Poid
    • getDealsForService

      public Vector getDealsForService(String serviceName, String balName) throws RemoteException
      overloading method to get dealsinvalid input: '&svcs' for the passed accountpoid.
      Parameters:
      serviceName - String
      balName - String
      Returns:
      Vector
      Throws:
      RemoteException
    • getAccInfo

      public void getAccInfo() throws EBufException, RemoteException
      Used to featch all bill and billinfo details
      Throws:
      EBufException
      RemoteException
    • initBalanceGroupData

      public void initBalanceGroupData(HashMap hMap) throws EBufException
      Method used to initialize the datastructure object
      Parameters:
      hMap - HashMap
      Throws:
      EBufException
    • extractDatas

      public void extractDatas()
    • getControllerClassName

      public String getControllerClassName() throws RemoteException
      Throws:
      RemoteException