Package com.portal.app.ccare.comp
Class PMapInfoPageBeanImpl
java.lang.Object
com.portal.bas.PControllerImpl
com.portal.bas.comp.PIAComponentCollectionBean
com.portal.app.ccare.comp.PMapInfoPageBeanImpl
- All Implemented Interfaces:
PMapInfoPageBean,PIACollectionBean,PControllerBean,Serializable,Remote,Unreferenced
- See Also:
-
Field Summary
Fields inherited from class com.portal.bas.PControllerImpl
mFList, mRemoteListeners, UPDATE_CLIENT, UPDATE_MODEL_CHANGE, UPDATE_NEW_MODEL, UPDATE_PROPERTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcollectDataForMapping(PModelHandle eventModel, HashMap map) Collects data from the 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 planFlistvoidupdatePlanOffering(PModelHandle offering, SparseArray servsForCust) Updates the plan offering with theservsForCustMethods inherited from class com.portal.bas.comp.PIAComponentCollectionBean
addChild, getCollectedData, getSelectionDataFor, removeChild, updateMethods inherited from class com.portal.bas.PControllerImpl
addRemoteListener, closeSecContext, createClientException, distributeEventToListeners, fireModelChangeEvent, getAppController, getArrayRange, getContext, getField, getField, getField, getFieldWithRestriction, getFieldWithRestriction, getFieldWithRestriction, getModel, getRemoteListenerHandle, getSecContext, handleDistributeToListener, isLight, register, releaseContext, releaseRemoteListener, removeRemoteListener, setField, setField, setModel, unreferencedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.portal.bas.PControllerBean
addRemoteListener, getArrayRange, getModel, getRemoteListenerHandle, isLight, register, releaseRemoteListener, removeRemoteListener, setModel
-
Constructor Details
-
PMapInfoPageBeanImpl
- Throws:
RemoteException
-
-
Method Details
-
getMappedModelHandles
public PModelHandle[] getMappedModelHandles(PModelHandle fromPlanHandle, PModelHandle toPlanHandle) throws RemoteException Description copied from interface:PMapInfoPageBeanReturns 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:
getMappedModelHandlesin interfacePMapInfoPageBean- Parameters:
fromPlanHandle- plan from which transition is being done.toPlanHandle- plan to which the account is transitioning.- Returns:
- Throws:
RemoteException
-
getModelToMap
Description copied from interface:PMapInfoPageBeanReturns the model handle containing the services which are available for mapping.- Specified by:
getModelToMapin interfacePMapInfoPageBean- Parameters:
service- service whose mapping services are required.modelToMap- this model is the FromPlanModel from which the services of typeserviceneed 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:PMapInfoPageBeanUpdates the plan offering with theservsForCust- Specified by:
updatePlanOfferingin interfacePMapInfoPageBean- Parameters:
offering- plan offeringservsForCust- services which need customization- Throws:
RemoteException
-
collectDataForMapping
Collects data from the mapping done.- Specified by:
collectDataForMappingin interfacePMapInfoPageBean- Parameters:
eventModel- collect data modelmap- indicates the from service id and its mapped services in ToPlan- Throws:
RemoteException
-
getServiceTypeToInstanceCountMap
Returns mapping between a service type and number of purchased services of this type in the given planFlist- Specified by:
getServiceTypeToInstanceCountMapin interfacePMapInfoPageBean- 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
-