Package com.portal.app.ccare.comp
Interface PMapInfoPageBean
- All Superinterfaces:
Remote
- All Known Implementing Classes:
PMapInfoPageBeanImpl
-
Method Summary
Modifier and TypeMethodDescriptionvoid
collectDataForMapping
(PModelHandle eventModel, HashMap map) Collects data for mapping done.getMappedModelHandles
(PModelHandle fromPlanHandle, PModelHandle toPlanHandle) Returns an array (of size 2) modelhandles.getModelToMap
(FList service, PModelHandle modelToMap) Returns the model handle containing the services which are available for mapping.getServiceTypeToInstanceCountMap
(FList planFList, boolean addOnlyPurchasedServices) Returns mapping between a service type and number of purchased services of this type in the given planFlistvoid
updatePlanOffering
(PModelHandle offering, SparseArray servsForCust) Updates the plan offering with theservsForCust
-
Method Details
-
getMappedModelHandles
PModelHandle[] getMappedModelHandles(PModelHandle fromPlanHandle, PModelHandle toPlanHandle) throws RemoteException 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.- Parameters:
fromPlanHandle
- plan from which transition is being done.toPlanHandle
- plan to which the account is transitioning.- Returns:
- Throws:
RemoteException
-
getModelToMap
Returns the model handle containing the services which are available for mapping.- Parameters:
service
- service whose mapping services are required.modelToMap
- this model is the FromPlanModel from which the services of typeservice
need to be retrieved.- Returns:
- the model handle containing the services which are available for mapping as filtered from
modelToMap
- Throws:
RemoteException
-
updatePlanOffering
Updates the plan offering with theservsForCust
- Parameters:
offering
- plan offeringservsForCust
- services which need customization- Throws:
RemoteException
-
collectDataForMapping
Collects data for mapping done.- Parameters:
eventModel
- collect data modelmap
- map containing the services and their associated mapped services.- Throws:
RemoteException
-
getServiceTypeToInstanceCountMap
HashMap getServiceTypeToInstanceCountMap(FList planFList, boolean addOnlyPurchasedServices) throws RemoteException Returns mapping between a service type and number of purchased services of this type in the given planFlist- 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
-