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, updateaddRemoteListener, 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, unreferencedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddRemoteListener, getArrayRange, getModel, getRemoteListenerHandle, isLight, register, releaseRemoteListener, removeRemoteListener, setModelpublic PMapInfoPageBeanImpl()
throws RemoteException
RemoteExceptionpublic PModelHandle[] getMappedModelHandles(PModelHandle fromPlanHandle, PModelHandle toPlanHandle) throws RemoteException
PMapInfoPageBeangetMappedModelHandles in interface PMapInfoPageBeanfromPlanHandle - plan from which transition is being done.toPlanHandle - plan to which the account is transitioning.RemoteExceptionpublic PModelHandle getModelToMap(FList service, PModelHandle modelToMap) throws RemoteException
PMapInfoPageBeangetModelToMap in interface PMapInfoPageBeanservice - service whose mapping services are required.modelToMap - this model is the FromPlanModel from which the services of type service need to be retrieved.modelToMapRemoteExceptionpublic void updatePlanOffering(PModelHandle offering, SparseArray servsForCust) throws RemoteException
PMapInfoPageBeanservsForCustupdatePlanOffering in interface PMapInfoPageBeanoffering - plan offeringservsForCust - services which need customizationRemoteExceptionpublic void collectDataForMapping(PModelHandle eventModel, HashMap map) throws RemoteException
collectDataForMapping in interface PMapInfoPageBeaneventModel - collect data modelmap - indicates the from service id and its mapped services in ToPlanRemoteExceptionpublic HashMap getServiceTypeToInstanceCountMap(FList planFList, boolean addOnlyPurchasedServices)
getServiceTypeToInstanceCountMap in interface PMapInfoPageBeanplanFList - 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.RemoteExceptionCopyright © 2003, 2023, Oracle and/or its affiliates.