Class PMapInfoPageBeanImpl

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

public class PMapInfoPageBeanImpl extends PIAComponentCollectionBean implements PMapInfoPageBean
See Also:
  • Constructor Details

  • Method Details

    • getMappedModelHandles

      public PModelHandle[] getMappedModelHandles(PModelHandle fromPlanHandle, PModelHandle toPlanHandle) throws RemoteException
      Description copied from interface: PMapInfoPageBean
      Returns an array (of size 2) modelhandles. The modelhandle at index 0, contains the services of FromPlan which are available for mapping during transition. The modelhandle at index 1, contains the services of ToPlan which require mapping in the ToPlan.
      Specified by:
      getMappedModelHandles in interface PMapInfoPageBean
      Parameters:
      fromPlanHandle - plan from which transition is being done.
      toPlanHandle - plan to which the account is transitioning.
      Returns:
      Throws:
      RemoteException
    • getModelToMap

      public PModelHandle getModelToMap(FList service, PModelHandle modelToMap) throws RemoteException
      Description copied from interface: PMapInfoPageBean
      Returns the model handle containing the services which are available for mapping.
      Specified by:
      getModelToMap in interface PMapInfoPageBean
      Parameters:
      service - service whose mapping services are required.
      modelToMap - this model is the FromPlanModel from which the services of type service need to be retrieved.
      Returns:
      the model handle containing the services which are available for mapping as filtered from modelToMap
      Throws:
      RemoteException
    • updatePlanOffering

      public void updatePlanOffering(PModelHandle offering, SparseArray servsForCust) throws RemoteException
      Description copied from interface: PMapInfoPageBean
      Updates the plan offering with the servsForCust
      Specified by:
      updatePlanOffering in interface PMapInfoPageBean
      Parameters:
      offering - plan offering
      servsForCust - services which need customization
      Throws:
      RemoteException
    • collectDataForMapping

      public void collectDataForMapping(PModelHandle eventModel, HashMap map) throws RemoteException
      Collects data from the mapping done.
      Specified by:
      collectDataForMapping in interface PMapInfoPageBean
      Parameters:
      eventModel - collect data model
      map - indicates the from service id and its mapped services in ToPlan
      Throws:
      RemoteException
    • getServiceTypeToInstanceCountMap

      public HashMap getServiceTypeToInstanceCountMap(FList planFList, boolean addOnlyPurchasedServices)
      Returns mapping between a service type and number of purchased services of this type in the given planFlist
      Specified by:
      getServiceTypeToInstanceCountMap in interface PMapInfoPageBean
      Parameters:
      planFList -
      addOnlyPurchasedServices - if true, looks for only purchased services (i.e services which has PIN_FLD_BOOLEAN as 1), if false ignores PIN_FLD_BOOLEAN for service flist and looks for PIN_FLD_BOOLEAN for deals.
      Returns:
      Throws:
      RemoteException