public interface PPlanOptionsPageBean extends Remote
| 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 accModel)
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 toPlan)
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.
|
PModelHandle[] getSubscribedPlansForCurrentAccount(PModelHandle accModel) throws RemoteException
accModel - account model whose plans information need to be fetched.RemoteExceptionString getCurrentPlanName(PModelHandle accModel) throws RemoteException
RemoteExceptionPModelHandle getProductsForCurrentAccount(PModelHandle accModel) throws RemoteException
RemoteExceptionString getName(Poid poid) throws RemoteException
poid - poid whose name is neededRemoteExceptionString getDescr(Poid poid) throws RemoteException
poid - RemoteExceptionSparseArray getProductsForDeal(Poid dealPoid) throws RemoteException
dealPoid - dealpoidRemoteExceptionSparseArray getPrerequisites(PModelHandle dealHandle, PModelHandle planModelHandle, PModelHandle accModel) throws RemoteException
dealHandle - RemoteExceptionString[] getMutuallyExclusiveDeals(PModelHandle dealHandle) throws RemoteException
dealHandle - deal whose mutually exclusive deals are requiredRemoteExceptionObject validateDealDependency(SparseArray dealsArray, PModelHandle accModel, boolean isAcctCreation) throws RemoteException
dealsArray - array containing the deals to be validated.DealDependencyErrorData containing the output of the opcode. In case of an
exception returns CustomerValErrorData.RemoteExceptionPModelHandle updateDealHandleWithServiceObj(PModelHandle dealHandle, PModelHandle serviceHandle) throws RemoteException
dealHandle - serviceHandle - RemoteExceptionPModelHandle getUpdatedPlanOffering(PModelHandle planHandle, SparseArray dealsToBePurchased) throws RemoteException
planHandle - dealsToBePurchased - RemoteExceptionvoid appendSelectedOptionalDeals(PModelHandle planHandle, SparseArray optionalDeals, PModelHandle curPlan) throws RemoteException
planHandle - - model handle associated with collect data event.optionalDeals - curPlan - - current plan model handleRemoteExceptionPModelHandle getPoidFromPrerequisiteMap(PModelHandle dealHandle, String dealName) throws RemoteException
dealHandle - dealName - RemoteExceptionboolean isCSRPlan(PModelHandle plan) throws RemoteException
plan - RemoteExceptionvoid collectDataForUpgrade(PModelHandle inMH, PModelHandle toPlan) throws RemoteException
inMH - Modelhandle of collect data eventtoPlan - ModelHandle of the plan to which transition is being doneRemoteExceptionboolean isMappingRequired(PModelHandle curPlan, PModelHandle toPlan) throws RemoteException
curPlan - Current plan from which we want to upgradetoPlan - new plan to which we are upgradingRemoteExceptionPModelHandle getUpdatedPlanOfferingForChangeOption(PModelHandle subscribedPlan, SparseArray selectedDeals) throws RemoteException
subscribedPlan - selectedDeals - RemoteExceptionPModelHandle getPlanOfferingForUpgrade(PModelHandle planHandle, SparseArray dealsToBePurchased, PModelHandle fromPlanHandle) throws RemoteException
planHandle - - 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.RemoteExceptionFList readObject(Poid poid) throws RemoteException
poid - RemoteExceptionboolean isAnyServiceCustReqd(SparseArray deals) throws RemoteException
deals - contains the deal model handlesRemoteExceptionboolean isServicePurchasedInFromPlan(PModelHandle fromPlanHandle, PModelHandle toServiceHandle) throws RemoteException
fromPlanHandle - toServiceHandle - RemoteExceptionboolean isServiceCustReqdForTransition(PModelHandle fromPlanHandle, PModelHandle toServiceHandle) throws RemoteException
fromPlanHandle - the plan that the account currently owns.toServiceHandle - the plan to which transition is being happening.RemoteExceptionCopyright © 2003, 2023, Oracle and/or its affiliates.