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_DEAL
to purchase a dealPortalOp.CUST_MODIFY_CUSTOMER
to 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 TypeMethodDescriptionvoid
dumpModel
(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, update
Methods 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, unreferenced
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:
purchaseOffering
in interfacePPurchaseOfferingBean
- Parameters:
modelHandle
- Data to be used in purchasing the offering- Returns:
- The
PModelHandle
that was passed in if the purchase attempt is successful. If the purchase attempt fails, then aCustomerError
object is returned which represents the error(s) associated with the failure. - Throws:
RemoteException
- See Also:
-
purchaseOfferingForChangeOption
Description copied from interface:PPurchaseOfferingBean
purchases optional deals in purchase offering.- Specified by:
purchaseOfferingForChangeOption
in interfacePPurchaseOfferingBean
- Parameters:
model
-- Returns:
- Throws:
RemoteException
-
purchaseOfferingDealTransition
Tries to purchase a deal offering.- Specified by:
purchaseOfferingDealTransition
in interfacePPurchaseOfferingBean
- Parameters:
modelHandle
- data to be used in purchasing the offering- Returns:
null
if the purchase attempt is successful. If the purchase attempt fails, then aCustomerError
object 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:
dumpModel
in interfacePPurchaseOfferingBean
- Parameters:
model
- Model handle- Throws:
RemoteException
-