public class PMapInfoPageBeanImpl extends PIAComponentCollectionBean implements PMapInfoPageBean
mFList, mRemoteListeners, UPDATE_CLIENT, UPDATE_MODEL_CHANGE, UPDATE_NEW_MODEL, UPDATE_PROPERTY
Constructor and Description |
---|
PMapInfoPageBeanImpl() |
Modifier and Type | Method and Description |
---|---|
void |
collectDataForMapping(PModelHandle eventModel,
HashMap map)
Collects data from the mapping done.
|
PModelHandle[] |
getMappedModelHandles(PModelHandle fromPlanHandle,
PModelHandle toPlanHandle)
Returns an array (of size 2) modelhandles.
|
PModelHandle |
getModelToMap(FList service,
PModelHandle modelToMap)
Returns the model handle containing the services which are available for mapping.
|
HashMap |
getServiceTypeToInstanceCountMap(FList planFList,
boolean addOnlyPurchasedServices)
Returns mapping between a service type and number of purchased services of this type in the given planFlist
|
void |
updatePlanOffering(PModelHandle offering,
SparseArray servsForCust)
Updates the plan offering with the
servsForCust |
addChild, getCollectedData, getSelectionDataFor, removeChild, update
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, unreferenced
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addRemoteListener, getArrayRange, getModel, getRemoteListenerHandle, isLight, register, releaseRemoteListener, removeRemoteListener, setModel
public PMapInfoPageBeanImpl() throws RemoteException
RemoteException
public PModelHandle[] getMappedModelHandles(PModelHandle fromPlanHandle, PModelHandle toPlanHandle) throws RemoteException
PMapInfoPageBean
getMappedModelHandles
in interface PMapInfoPageBean
fromPlanHandle
- plan from which transition is being done.toPlanHandle
- plan to which the account is transitioning.RemoteException
public PModelHandle getModelToMap(FList service, PModelHandle modelToMap) throws RemoteException
PMapInfoPageBean
getModelToMap
in interface PMapInfoPageBean
service
- service whose mapping services are required.modelToMap
- this model is the FromPlanModel from which the services of type service
need to be retrieved.modelToMap
RemoteException
public void updatePlanOffering(PModelHandle offering, SparseArray servsForCust) throws RemoteException
PMapInfoPageBean
servsForCust
updatePlanOffering
in interface PMapInfoPageBean
offering
- plan offeringservsForCust
- services which need customizationRemoteException
public void collectDataForMapping(PModelHandle eventModel, HashMap map) throws RemoteException
collectDataForMapping
in interface PMapInfoPageBean
eventModel
- collect data modelmap
- indicates the from service id and its mapped services in ToPlanRemoteException
public HashMap getServiceTypeToInstanceCountMap(FList planFList, boolean addOnlyPurchasedServices)
getServiceTypeToInstanceCountMap
in interface PMapInfoPageBean
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.RemoteException
Copyright © 2003, 2023, Oracle and/or its affiliates.