Package com.portal.app.ccare.comp
Class PPurchaseOfferingBeanImpl
java.lang.Object
com.portal.bas.PControllerImpl
com.portal.bas.comp.PIAComponentCollectionBean
com.portal.app.ccare.comp.PPurchaseOfferingBeanImpl
- All Implemented Interfaces:
PPurchaseOfferingBean,PIACollectionBean,PControllerBean,Serializable,Remote,Unreferenced
public class PPurchaseOfferingBeanImpl
extends PIAComponentCollectionBean
implements PPurchaseOfferingBean
Controller class for purchasing an offering.
Op codes called:
Op codes called:
PortalOp.BILL_PURCHASE_DEALto purchase a dealPortalOp.CUST_MODIFY_CUSTOMERto purchase a plan
- See Also:
-
Field Summary
Fields inherited from class com.portal.bas.PControllerImpl
mFList, mRemoteListeners, UPDATE_CLIENT, UPDATE_MODEL_CHANGE, UPDATE_NEW_MODEL, UPDATE_PROPERTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddumpModel(PModelHandle model) Prints out the FList corresponding to the passed-in model handlepurchaseOffering(PModelHandle model) Tries to purchase a deal (usingPortalOp.SUBSCRIPTION_PURCHASE_DEAL) or a plan (usingPortalOp.CUST_MODIFY_CUSTOMER).Tries to purchase a deal offering.purchases optional deals in purchase offering.Methods inherited from class com.portal.bas.comp.PIAComponentCollectionBean
addChild, getCollectedData, getSelectionDataFor, removeChild, updateMethods inherited from class com.portal.bas.PControllerImpl
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, unreferencedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.portal.bas.PControllerBean
addRemoteListener, getArrayRange, getModel, getRemoteListenerHandle, isLight, register, releaseRemoteListener, removeRemoteListener, setModel
-
Constructor Details
-
PPurchaseOfferingBeanImpl
Creates a purchase offering controller.- Throws:
RemoteException
-
-
Method Details
-
purchaseOffering
Tries to purchase a deal (usingPortalOp.SUBSCRIPTION_PURCHASE_DEAL) or a plan (usingPortalOp.CUST_MODIFY_CUSTOMER).- Specified by:
purchaseOfferingin interfacePPurchaseOfferingBean- Parameters:
modelHandle- Data to be used in purchasing the offering- Returns:
- The
PModelHandlethat was passed in if the purchase attempt is successful. If the purchase attempt fails, then aCustomerErrorobject is returned which represents the error(s) associated with the failure. - Throws:
RemoteException- See Also:
-
purchaseOfferingForChangeOption
Description copied from interface:PPurchaseOfferingBeanpurchases optional deals in purchase offering.- Specified by:
purchaseOfferingForChangeOptionin interfacePPurchaseOfferingBean- Parameters:
model-- Returns:
- Throws:
RemoteException
-
purchaseOfferingDealTransition
Tries to purchase a deal offering.- Specified by:
purchaseOfferingDealTransitionin interfacePPurchaseOfferingBean- Parameters:
modelHandle- data to be used in purchasing the offering- Returns:
nullif the purchase attempt is successful. If the purchase attempt fails, then aCustomerErrorobject will returned which represents the error(s) associated with the failure.- Throws:
RemoteException- See Also:
-
dumpModel
Prints out the FList corresponding to the passed-in model handle- Specified by:
dumpModelin interfacePPurchaseOfferingBean- Parameters:
model- Model handle- Throws:
RemoteException
-