public class PPlanOptionsPageBeanImpl extends PIAComponentCollectionBean implements PPlanOptionsPageBean
mFList, mRemoteListeners, UPDATE_CLIENT, UPDATE_MODEL_CHANGE, UPDATE_NEW_MODEL, UPDATE_PROPERTY| Constructor and Description |
|---|
PPlanOptionsPageBeanImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
appendSelectedOptionalDeals(PModelHandle planHandle,
SparseArray optionalDeals,
PModelHandle curPlan)
Appends the optionalDeals to the planHandle to be used for collecting data.
|
void |
collectDataForUpgrade(PModelHandle inMH,
PModelHandle toPlan)
Appends selected setvices data to the model flist.
|
String |
getCurrentPlanName(PModelHandle accModel)
Fetches the plan name of the given accModel
|
String |
getDescr(Poid poid)
Returns description of the given poid.
|
String[] |
getMutuallyExclusiveDeals(PModelHandle dealHandle)
Returns an array of mutually exclusive deals of the given dealHandle.
|
String |
getName(Poid poid)
Returns name of the given poid
|
PModelHandle |
getPlanOfferingForUpgrade(PModelHandle planHandle,
SparseArray dealsToBePurchased,
PModelHandle fromPlanHandle)
Returns the plan data for upgrade operation.
|
PModelHandle |
getPoidFromPrerequisiteMap(PModelHandle dealHandle,
String dealName)
Retrieves poid from Prerequiste Map.
|
SparseArray |
getPrerequisites(PModelHandle dealHandle,
PModelHandle planModelHandle,
PModelHandle accModel)
Returns an array of prerequisite deals of the given dealHandle.
|
PModelHandle |
getProductsForCurrentAccount(PModelHandle accModel)
Returns PIN_FLD_PRODUCTS of the given accModel
|
SparseArray |
getProductsForDeal(Poid dealPoid)
Returns PIN_FLD_PRODUCTS of the given dealPoid
|
PModelHandle[] |
getSubscribedPlansForCurrentAccount(PModelHandle acctModel)
Returns the plan modelhandles of the accModel.
|
PModelHandle |
getUpdatedPlanOffering(PModelHandle planHandle,
SparseArray dealsToBePurchased)
Returns the updated plan offering with purchase flags set for whatever deals/sevices which
are selected on plan options page.
|
PModelHandle |
getUpdatedPlanOfferingForChangeOption(PModelHandle subscribedPlan,
SparseArray selectedDeals)
Returns the plan data for change options offering.
|
boolean |
isAnyServiceCustReqd(SparseArray deals)
Decides if any service corresponding to any of the specified deals needs service
customization.
|
boolean |
isCSRPlan(PModelHandle plan)
Checks if the given plan has /service/admin_client in it.
|
boolean |
isMappingRequired(PModelHandle curPlan,
PModelHandle transitionablePlan)
Returns true if mapping is required.
|
boolean |
isServiceCustReqdForTransition(PModelHandle fromPlanHandle,
PModelHandle toServiceHandle)
Checks if the customization is required for any service during transition operation.
|
boolean |
isServicePurchasedInFromPlan(PModelHandle fromPlanHandle,
PModelHandle toServiceHandle)
Checks if the service type represented by toServiceHandle is purchased in
fromPlan.
|
FList |
readObject(Poid poid)
Reads the object pointed by poid
|
PModelHandle |
updateDealHandleWithServiceObj(PModelHandle dealHandle,
PModelHandle serviceHandle)
Updates the deal handle with service Obj info.
|
Object |
validateDealDependency(SparseArray dealsArray,
PModelHandle accModel,
boolean isAcctCreation)
Validates the deals in the given dealsArray.
|
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 PPlanOptionsPageBeanImpl()
throws RemoteException
RemoteExceptionpublic PModelHandle[] getSubscribedPlansForCurrentAccount(PModelHandle acctModel) throws RemoteException
getSubscribedPlansForCurrentAccount in interface PPlanOptionsPageBeanaccModel - account model whose plans information need to be fetched.RemoteExceptionpublic String getCurrentPlanName(PModelHandle accModel) throws RemoteException
getCurrentPlanName in interface PPlanOptionsPageBeanRemoteExceptionpublic PModelHandle getProductsForCurrentAccount(PModelHandle accModel) throws RemoteException
getProductsForCurrentAccount in interface PPlanOptionsPageBeanRemoteExceptionpublic String getName(Poid poid) throws RemoteException
getName in interface PPlanOptionsPageBeanpoid - poid whose name is neededRemoteExceptionpublic String getDescr(Poid poid) throws RemoteException
getDescr in interface PPlanOptionsPageBeanpoid - RemoteExceptionpublic SparseArray getProductsForDeal(Poid dealPoid) throws RemoteException
getProductsForDeal in interface PPlanOptionsPageBeandealPoid - dealpoidRemoteExceptionpublic SparseArray getPrerequisites(PModelHandle dealHandle, PModelHandle planModelHandle, PModelHandle accModel) throws RemoteException
getPrerequisites in interface PPlanOptionsPageBeandealHandle - RemoteExceptionpublic PModelHandle getPoidFromPrerequisiteMap(PModelHandle dealHandle, String dealName) throws RemoteException
getPoidFromPrerequisiteMap in interface PPlanOptionsPageBeandealHandle - dealName - RemoteExceptionpublic Object validateDealDependency(SparseArray dealsArray, PModelHandle accModel, boolean isAcctCreation) throws RemoteException
validateDealDependency in interface PPlanOptionsPageBeandealsArray - array containing the deals to be validated.DealDependencyErrorData containing the output of the opcode. In case of an
exception returns CustomerValErrorData.RemoteExceptionpublic String[] getMutuallyExclusiveDeals(PModelHandle dealHandle) throws RemoteException
getMutuallyExclusiveDeals in interface PPlanOptionsPageBeandealHandle - deal whose mutually exclusive deals are requiredRemoteExceptionpublic FList readObject(Poid poid) throws RemoteException
readObject in interface PPlanOptionsPageBeanpoid - RemoteExceptionpublic PModelHandle getPlanOfferingForUpgrade(PModelHandle planHandle, SparseArray dealsToBePurchased, PModelHandle fromPlanHandle) throws RemoteException
getPlanOfferingForUpgrade in interface PPlanOptionsPageBeanplanHandle - - the plan handle of the plan to which upgrade is happening.dealsToBePurchased - - deals which need to be purchasedfromPlanHandle - - The from plan from which upgrade is happening.RemoteExceptionpublic PModelHandle updateDealHandleWithServiceObj(PModelHandle dealHandle, PModelHandle serviceHandle) throws RemoteException
updateDealHandleWithServiceObj in interface PPlanOptionsPageBeandealHandle - serviceHandle - RemoteExceptionpublic PModelHandle getUpdatedPlanOffering(PModelHandle planHandle, SparseArray dealsToBePurchased) throws RemoteException
getUpdatedPlanOffering in interface PPlanOptionsPageBeanplanHandle - dealsToBePurchased - RemoteExceptionpublic void appendSelectedOptionalDeals(PModelHandle planHandle, SparseArray optionalDeals, PModelHandle curPlan) throws RemoteException
appendSelectedOptionalDeals in interface PPlanOptionsPageBeanplanHandle - - model handle associated with collect data event.optionalDeals - curPlan - - current plan model handleRemoteExceptionpublic boolean isCSRPlan(PModelHandle plan) throws RemoteException
isCSRPlan in interface PPlanOptionsPageBeanplan - RemoteExceptionpublic void collectDataForUpgrade(PModelHandle inMH, PModelHandle toPlan) throws RemoteException
collectDataForUpgrade in interface PPlanOptionsPageBeaninMH - Modelhandle of collect data eventtoPlan - ModelHandle of the plan to which transition is being doneRemoteExceptionpublic boolean isMappingRequired(PModelHandle curPlan, PModelHandle transitionablePlan) throws RemoteException
isMappingRequired in interface PPlanOptionsPageBeancurPlan - Current plan from which we want to upgradetoPlan - new plan to which we are upgradingRemoteExceptionpublic PModelHandle getUpdatedPlanOfferingForChangeOption(PModelHandle subscribedPlan, SparseArray selectedDeals) throws RemoteException
getUpdatedPlanOfferingForChangeOption in interface PPlanOptionsPageBeansubscribedPlan - selectedDeals - RemoteExceptionpublic boolean isAnyServiceCustReqd(SparseArray deals) throws RemoteException
isAnyServiceCustReqd in interface PPlanOptionsPageBeandeals - contains the deal model handlesRemoteExceptionpublic boolean isServicePurchasedInFromPlan(PModelHandle fromPlanHandle, PModelHandle toServiceHandle) throws RemoteException
PPlanOptionsPageBeanisServicePurchasedInFromPlan in interface PPlanOptionsPageBeanRemoteExceptionpublic boolean isServiceCustReqdForTransition(PModelHandle fromPlanHandle, PModelHandle toServiceHandle) throws RemoteException
isServiceCustReqdForTransition in interface PPlanOptionsPageBeanfromPlanHandle - the plan that the account currently owns.toServiceHandle - the plan to which transition is being happening.RemoteExceptionCopyright © 2003, 2023, Oracle and/or its affiliates.