public class PPurchaseOfferingBeanImpl extends PIAComponentCollectionBean implements PPurchaseOfferingBean
PortalOp.BILL_PURCHASE_DEAL
to purchase a deal
PortalOp.CUST_MODIFY_CUSTOMER
to purchase a plan
mFList, mRemoteListeners, UPDATE_CLIENT, UPDATE_MODEL_CHANGE, UPDATE_NEW_MODEL, UPDATE_PROPERTY
Constructor and Description |
---|
PPurchaseOfferingBeanImpl()
Creates a purchase offering controller.
|
Modifier and Type | Method and Description |
---|---|
void |
dumpModel(PModelHandle model)
Prints out the FList corresponding to the passed-in model handle
|
Object |
purchaseOffering(PModelHandle model)
Tries to purchase a deal (using
PortalOp.SUBSCRIPTION_PURCHASE_DEAL )
or a plan (using PortalOp.CUST_MODIFY_CUSTOMER ). |
Object |
purchaseOfferingDealTransition(PModelHandle model)
Tries to purchase a deal offering.
|
Object |
purchaseOfferingForChangeOption(PModelHandle model)
purchases optional deals in purchase offering.
|
addChild, getCollectedData, getSelectionDataFor, removeChild, update
addRemoteListener, 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, unreferenced
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addRemoteListener, getArrayRange, getModel, getRemoteListenerHandle, isLight, register, releaseRemoteListener, removeRemoteListener, setModel
public PPurchaseOfferingBeanImpl() throws RemoteException
RemoteException
public Object purchaseOffering(PModelHandle model) throws RemoteException
PortalOp.SUBSCRIPTION_PURCHASE_DEAL
)
or a plan (using PortalOp.CUST_MODIFY_CUSTOMER
).purchaseOffering
in interface PPurchaseOfferingBean
modelHandle
- Data to be used in purchasing the offeringPModelHandle
that was passed in if the
purchase attempt is successful. If the purchase attempt fails,
then a CustomerError
object is returned which
represents the error(s) associated with the failure.RemoteException
CustomerError
public Object purchaseOfferingForChangeOption(PModelHandle model) throws RemoteException
PPurchaseOfferingBean
purchaseOfferingForChangeOption
in interface PPurchaseOfferingBean
RemoteException
public Object purchaseOfferingDealTransition(PModelHandle model) throws RemoteException
purchaseOfferingDealTransition
in interface PPurchaseOfferingBean
modelHandle
- data to be used in purchasing the offeringnull
if the purchase attempt is successful. If
the purchase attempt fails, then a CustomerError
object will returned which represents the error(s) associated
with the failure.RemoteException
CustomerError
public void dumpModel(PModelHandle model) throws RemoteException
dumpModel
in interface PPurchaseOfferingBean
model
- Model handleRemoteException
Copyright © 2003, 2023, Oracle and/or its affiliates.