public interface PPurchasePanelBean extends Remote
Modifier and Type | Method and Description |
---|---|
void |
collectBackDateData(PModelHandle inMH,
Date backDate)
Builds PModelHandle by appending the deal/plan model handle to the input model handle
during purchase offering.
|
void |
collectDataForChangeOption(PModelHandle origMH,
PModelHandle curAccModel,
PModelHandle curPlanHandle,
SparseArray dealsToBePurchased)
Collects data for change options
|
void |
collectDataForDealTransition(PModelHandle origModel,
PModelHandle acctModel,
PModelHandle fromDeal,
PModelHandle serviceModel,
String toDealName,
int iTransitionType)
Collects data for deal-deal transition.
|
void |
collectDataForPlanTransition(PModelHandle inMH,
PModelHandle fromPlan,
String planToUpgrade,
PModelHandle accModel,
int iTransitionType)
Collects data for plan transition
|
void |
collectDealData(PModelHandle inMH,
int serviceIndex,
String dealName)
Builds PModelHandle by appending the deal model handle to the input model handle
during purchase offering.
|
void |
collectPlanData(PModelHandle inMH,
String planName)
Builds PModdelHandle by appending the plan model handle to the input model handle
during purchase offering and account creation.
|
void |
collectPlanDataForRequiredDeals(PModelHandle inMH,
String planName)
Collects plan data for the required deals to be used by COMMIT_CUSTOMER.
|
HashMap |
formBalanceGrpCurrencyMap(PModelHandle hOrig)
This method forms an hashmap with balance group index as keys and the corresonding credit limits as values
|
String |
getCurrentPlanName(PModelHandle accModel)
Retrives the plan name of the current account
|
Poid |
getCurrentPlanPoid()
Retrives the current plan poid.
|
PModelHandle |
getDealModelHandle(int serviceIndex,
String dealName)
Retrieves a deal model handle for a specific deal when Existing Services is selected
during purchase offering.
|
Vector |
getDealsForTransition(PModelHandle curAccModel,
int iTransitionType)
Returns the vector of deal objects which can be transitioned to other deals.
|
String[] |
getDealsNamesStrings(int dealIndex)
Retrieves sorted deal names from an array of Vector during purchase offering.
|
PModelHandle |
getExistingServicesModel()
Retrieves PModelHandle of services for the specific account
|
Object[] |
getInactiveReqProdNamesForCurAccount(PModelHandle accModel)
Returns an array products which are inactive in the current account.
|
Object[] |
getLoginIDs(PModelHandle serviceModelHandle)
Returns the Object[] contains the following.
|
PModelHandle |
getPlanModelHandle(String planName)
Retrieves plan model for a specific plan during purchase
offering or account creation.
|
String[] |
getPlanNamesStrings()
Retrieves sorted plan names when New Services is getting selected on Purchase Panel during
purchase offering or account creation.
|
Vector |
getPlans(PModelHandle curAccModel)
Returns subscribedplans of current account wrapped in SubscribedPlanObject instances.
|
FList |
getServiceFlist(int index)
Retrieves Service FLists from an array .
|
PModelHandle[] |
getSubscribedPlansForCurrentAccount(PModelHandle accModel)
Retrives the list of subscribed plans of the current account
|
PModelHandle |
getTransitionableDealModelHandle(String name)
Returns the deal handle given the deal name.
|
Object[] |
getTransitionableDealStrings(PModelHandle dealHandle,
PModelHandle currAcctHandle,
int iTransitionType)
Returns the array of transitionable deal names of the given deal.
|
PModelHandle |
getTransitionablePlanModelHandle(String planName)
Returns plan model handle associated with given plan string.
|
Object[] |
getTransitionablePlanStrings(PModelHandle planHandle,
int iTransitionType)
Returns an array of plan names which are available for transition from the current plan.
|
Vector |
getTransitionTypes()
Returns the transition types available.
|
boolean |
hasPlanSubcriptionGroup(String planName)
Finds out if the given plan contains subscription group
|
boolean |
hasRequiredServices(PModelHandle planHandle,
boolean planOptionsFlag)
Returns true if plan has required deals/services.
|
boolean |
hasSponsoredProduct(PModelHandle planModelHandle,
ArrayList sponsoredProducts)
This will return true if the selected plan has
a product which is present in the list of the
sponsored products
|
void |
initForExistingServices(PModelHandle acctMH)
Initialize class member for storing Existing Services related info during
purchase offering.
|
int |
initForExistingServices(PModelHandle acctMH,
int threshold)
Initialize class member for storing Existing Services related info during
purchase offering.
|
boolean |
isAcctHasPlan(PModelHandle accModel)
Checks if the current account has plan associated with it.
|
boolean |
isBestDeal(String dealName)
Checks if the current deal is best configured deal.
|
void |
resetAcctCreationData()
Clears cached data used during New Account Creation Wizard.
|
void |
resetPurchaseOfferingData()
Clears cached data used during Purchase Offering Wizard.
|
void |
setAacAccess(String strAccess)
Sets the auto-account-creation access string which is used to determine
the list of plans that will be made available to choose during account
creation and purchase offering for additional services.
|
void |
setService(PModelHandle serviceMH)
Sets the service cache
|
void |
updatePlanModelHandle(PModelHandle pmh)
Update Plan model handle for account creation
|
void initForExistingServices(PModelHandle acctMH) throws RemoteException
accountMH
- model handle for the account object.RemoteException
int initForExistingServices(PModelHandle acctMH, int threshold) throws RemoteException
accountMH
- model handle for the account object.threshold
- RemoteException
void setService(PModelHandle serviceMH)
serviceMH
- PModelHandle getExistingServicesModel() throws RemoteException
RemoteException
String[] getDealsNamesStrings(int dealIndex) throws RemoteException
dealIndex
- index to the array where deal names are stored for a specific service/(Account).RemoteException
PModelHandle getDealModelHandle(int serviceIndex, String dealName) throws RemoteException
serviceIndex
- index to the flist array where the service flists are stored in corresponds to the order
in the Existing Services combobox.dealName
- deal name of the selected deal for the selected service/(Account).RemoteException
PModelHandle getPlanModelHandle(String planName) throws RemoteException
planName
- plan name of the specific plan.RemoteException
String[] getPlanNamesStrings() throws RemoteException
RemoteException
void collectPlanData(PModelHandle inMH, String planName) throws RemoteException
planName
- string of the plan name..RemoteException
void collectDealData(PModelHandle inMH, int serviceIndex, String dealName) throws RemoteException
serviceIndex
- index to the flist array where the service flists are stored.dealName
- string of the deal name..RemoteException
void collectBackDateData(PModelHandle inMH, Date backDate) throws RemoteException
inMH
- PModelHandlebackDate
- RemoteException
void setAacAccess(String strAccess) throws RemoteException
strAccess
- auto-account-creation access string.RemoteException
void resetAcctCreationData() throws RemoteException
RemoteException
void resetPurchaseOfferingData() throws RemoteException
RemoteException
String getCurrentPlanName(PModelHandle accModel) throws RemoteException
RemoteException
PModelHandle[] getSubscribedPlansForCurrentAccount(PModelHandle accModel) throws RemoteException
RemoteException
Poid getCurrentPlanPoid() throws RemoteException
RemoteException
boolean isAcctHasPlan(PModelHandle accModel) throws RemoteException
RemoteException
Object[] getInactiveReqProdNamesForCurAccount(PModelHandle accModel) throws RemoteException
RemoteException
Object[] getTransitionablePlanStrings(PModelHandle planHandle, int iTransitionType) throws RemoteException
planHandle
- plan model handleiTransitionType
- Transition type such as upgrade, downgrade, red, etc.,RemoteException
PModelHandle getTransitionablePlanModelHandle(String planName) throws RemoteException
planName
- name of the planRemoteException
void collectPlanDataForRequiredDeals(PModelHandle inMH, String planName) throws RemoteException
RemoteException
void collectDataForPlanTransition(PModelHandle inMH, PModelHandle fromPlan, String planToUpgrade, PModelHandle accModel, int iTransitionType) throws RemoteException
inMH
- input modelhandle to which collected data need to be updatedfromPlan
- from plan model handleplanToUpgrade
- name of the plan to which the account is getting upgraded to.accModel
- account model handleiTransitionType
- Transition type such as upgrade, downgrade, red, etc.,RemoteException
void collectDataForChangeOption(PModelHandle origMH, PModelHandle curAccModel, PModelHandle curPlanHandle, SparseArray dealsToBePurchased) throws RemoteException
origMH
- input modelhandle to which collected data need to be updatedcurAccModel
- current account modelcurPlanHandle
- current plan modeldealsToBePurchased
- list of deals which are selected in planoptions page to purchase.RemoteException
Vector getPlans(PModelHandle curAccModel) throws RemoteException
curAccModel
- current account model.RemoteException
Vector getDealsForTransition(PModelHandle curAccModel, int iTransitionType) throws RemoteException
curAccModel
- current account modeliTransitionType
- - denotes current transition type(upgrade or downgrade or etc.,)RemoteException
Object[] getTransitionableDealStrings(PModelHandle dealHandle, PModelHandle currAcctHandle, int iTransitionType) throws RemoteException
dealHandle
- currAcctHandle
- iTransitionType
- Transition type such as upgrade, downgrade, red, etc.,RemoteException
PModelHandle getTransitionableDealModelHandle(String name) throws RemoteException
name
- RemoteException
void collectDataForDealTransition(PModelHandle origModel, PModelHandle acctModel, PModelHandle fromDeal, PModelHandle serviceModel, String toDealName, int iTransitionType) throws RemoteException
origModel
- model associated with Collect data event.acctModel
- current account model.fromDeal
- from deal handle.serviceModel
- service model of the from deal.toDealName
- to deal handleiTransitionType
- Transition type such as upgrade, downgrade, red, etc.,RemoteException
boolean hasRequiredServices(PModelHandle planHandle, boolean planOptionsFlag) throws RemoteException
planHandle
- planOptionsFlag
- is a customized flag which conveys if plan options page should be enabled if
plan being used contains only optional deals. If it is true, then we will see if PIN_FLD_TYPE is present in any
deal in the plan and return true. If planOptionsFlag is false, then we will see if a required deal
(PIN_FLD_TYPE is 1) is there are not, if present, we will return true.RemoteException
Vector getTransitionTypes() throws RemoteException
RemoteException
FList getServiceFlist(int index)
index
- index to the array where Service FLists are stored.boolean isBestDeal(String dealName) throws RemoteException
RemoteException
boolean hasSponsoredProduct(PModelHandle planModelHandle, ArrayList sponsoredProducts) throws RemoteException
planModelHandle
- modelHandle containing the products of the
selected plansponsoredProducts
- the list of the sponsored productsRemoteException
Object[] getLoginIDs(PModelHandle serviceModelHandle) throws RemoteException
serviceModelHandle
- RemoteException
boolean hasPlanSubcriptionGroup(String planName) throws RemoteException
planName
- name of the selected planRemoteException
HashMap formBalanceGrpCurrencyMap(PModelHandle hOrig) throws RemoteException
hOrig
- PModelHandle, is the orginal model handle for the selected planException
RemoteException
void updatePlanModelHandle(PModelHandle pmh) throws RemoteException
pmh
- RemoteException
Copyright © 2003, 2023, Oracle and/or its affiliates.