Package com.portal.app.cc.comp
Class PIAPaymentFieldBeanImpl
java.lang.Object
com.portal.bas.PControllerImpl
com.portal.bas.PFieldControllerBean
com.portal.bas.comp.PIAFieldBean
com.portal.app.cc.comp.PIAPaymentFieldBeanImpl
- All Implemented Interfaces:
PIAPaymentFieldBean,PControllerBean,PFieldBean,PLightComponent,PropertyChangeListener,Serializable,Remote,Unreferenced,EventListener
Controller for the PIAPaymentField panel.
This controller is used to determine if the current account is
in a hierarchy (which means Subordinate should be a payment option)
and it is used to retrieve the system supported payment types.
Opcodes called:
PortalOp.BILL_GROUP_GET_PARENT
PortalOp.BILL_GROUP_GET_PARENT
- Version:
- %version: 3 % %date_modified: Sun May 27 18:25:02 2001 %
- Author:
- kapono
- See Also:
-
Field Summary
Fields inherited from class com.portal.bas.PControllerImpl
mFList, mRemoteListeners, UPDATE_CLIENT, UPDATE_MODEL_CHANGE, UPDATE_NEW_MODEL, UPDATE_PROPERTYFields inherited from interface com.portal.app.cc.comp.PIAPaymentFieldBean
NONSUBORDINATE, SUBORDINATE, UNKNOWN -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint[]Retrieves default method of payment information.intIndicates whether payment method is subordinate of another billing group.voidDetermines if the account is in a hierarchyMethods inherited from class com.portal.bas.comp.PIAFieldBean
getDataDescriptor, getLightData, getRemoteListenerHandle, getSelectionDataFor, propertyChange, setLightDataMethods inherited from class com.portal.bas.PFieldControllerBean
getAssociatedClass, getDisplayFieldDescription, getDisplaySpec, getField, getFieldSpec, getModelFieldDescription, releaseSpecifications, revertToPrimary, setAssociatedClass, setDisplayFieldDescription, setField, setModelFieldDescription, togglePrimaryToSecondaryMethods inherited from class com.portal.bas.PControllerImpl
addRemoteListener, closeSecContext, createClientException, distributeEventToListeners, fireModelChangeEvent, getAppController, getArrayRange, getContext, getField, getField, getField, getFieldWithRestriction, getFieldWithRestriction, getFieldWithRestriction, getModel, getSecContext, handleDistributeToListener, isLight, register, releaseContext, releaseRemoteListener, removeRemoteListener, setField, setField, setModel, unreferenced
-
Constructor Details
-
PIAPaymentFieldBeanImpl
- Throws:
RemoteException
-
-
Method Details
-
update
Determines if the account is in a hierarchy- Overrides:
updatein classPIAFieldBean- Parameters:
reason-data-- Throws:
RemoteException
-
getPaymentMethodIndices
Retrieves default method of payment information.- Specified by:
getPaymentMethodIndicesin interfacePIAPaymentFieldBean- Returns:
- array of "payment method" indices
- Throws:
RemoteException
-
getSubordinateStatus
Indicates whether payment method is subordinate of another billing group.- Specified by:
getSubordinateStatusin interfacePIAPaymentFieldBean- Returns:
NONSUBORDINATEif it is non-subordinate,SUBORDINATEif it is subordinate, andUNKNOWNif there is no way to determine (for example, this widget is being used during account creation and so there is nothing to test against).- Throws:
RemoteException
-