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.RemoteException
String getCurrentPlanName(PModelHandle accModel) throws RemoteException
RemoteException
PModelHandle getProductsForCurrentAccount(PModelHandle accModel) throws RemoteException
RemoteException
String getName(Poid poid) throws RemoteException
poid
- poid whose name is neededRemoteException
String getDescr(Poid poid) throws RemoteException
poid
- RemoteException
SparseArray getProductsForDeal(Poid dealPoid) throws RemoteException
dealPoid
- dealpoidRemoteException
SparseArray getPrerequisites(PModelHandle dealHandle, PModelHandle planModelHandle, PModelHandle accModel) throws RemoteException
dealHandle
- RemoteException
String[] getMutuallyExclusiveDeals(PModelHandle dealHandle) throws RemoteException
dealHandle
- deal whose mutually exclusive deals are requiredRemoteException
Object 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.RemoteException
PModelHandle updateDealHandleWithServiceObj(PModelHandle dealHandle, PModelHandle serviceHandle) throws RemoteException
dealHandle
- serviceHandle
- RemoteException
PModelHandle getUpdatedPlanOffering(PModelHandle planHandle, SparseArray dealsToBePurchased) throws RemoteException
planHandle
- dealsToBePurchased
- RemoteException
void appendSelectedOptionalDeals(PModelHandle planHandle, SparseArray optionalDeals, PModelHandle curPlan) throws RemoteException
planHandle
- - model handle associated with collect data event.optionalDeals
- curPlan
- - current plan model handleRemoteException
PModelHandle getPoidFromPrerequisiteMap(PModelHandle dealHandle, String dealName) throws RemoteException
dealHandle
- dealName
- RemoteException
boolean isCSRPlan(PModelHandle plan) throws RemoteException
plan
- RemoteException
void collectDataForUpgrade(PModelHandle inMH, PModelHandle toPlan) throws RemoteException
inMH
- Modelhandle of collect data eventtoPlan
- ModelHandle of the plan to which transition is being doneRemoteException
boolean isMappingRequired(PModelHandle curPlan, PModelHandle toPlan) throws RemoteException
curPlan
- Current plan from which we want to upgradetoPlan
- new plan to which we are upgradingRemoteException
PModelHandle getUpdatedPlanOfferingForChangeOption(PModelHandle subscribedPlan, SparseArray selectedDeals) throws RemoteException
subscribedPlan
- selectedDeals
- RemoteException
PModelHandle 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.RemoteException
FList readObject(Poid poid) throws RemoteException
poid
- RemoteException
boolean isAnyServiceCustReqd(SparseArray deals) throws RemoteException
deals
- contains the deal model handlesRemoteException
boolean isServicePurchasedInFromPlan(PModelHandle fromPlanHandle, PModelHandle toServiceHandle) throws RemoteException
fromPlanHandle
- toServiceHandle
- RemoteException
boolean isServiceCustReqdForTransition(PModelHandle fromPlanHandle, PModelHandle toServiceHandle) throws RemoteException
fromPlanHandle
- the plan that the account currently owns.toServiceHandle
- the plan to which transition is being happening.RemoteException
Copyright © 2003, 2023, Oracle and/or its affiliates.