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_PROPERTY
Fields 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.int
Indicates whether payment method is subordinate of another billing group.void
Determines if the account is in a hierarchyMethods inherited from class com.portal.bas.comp.PIAFieldBean
getDataDescriptor, getLightData, getRemoteListenerHandle, getSelectionDataFor, propertyChange, setLightData
Methods inherited from class com.portal.bas.PFieldControllerBean
getAssociatedClass, getDisplayFieldDescription, getDisplaySpec, getField, getFieldSpec, getModelFieldDescription, releaseSpecifications, revertToPrimary, setAssociatedClass, setDisplayFieldDescription, setField, setModelFieldDescription, togglePrimaryToSecondary
Methods 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:
update
in classPIAFieldBean
- Parameters:
reason
-data
-- Throws:
RemoteException
-
getPaymentMethodIndices
Retrieves default method of payment information.- Specified by:
getPaymentMethodIndices
in interfacePIAPaymentFieldBean
- Returns:
- array of "payment method" indices
- Throws:
RemoteException
-
getSubordinateStatus
Indicates whether payment method is subordinate of another billing group.- Specified by:
getSubordinateStatus
in interfacePIAPaymentFieldBean
- Returns:
NONSUBORDINATE
if it is non-subordinate,SUBORDINATE
if it is subordinate, andUNKNOWN
if 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
-