Package com.portal.app.ccare.comp
Class PSponsorshipBeanImpl
java.lang.Object
com.portal.bas.PControllerImpl
com.portal.bas.comp.PIAComponentCollectionBean
com.portal.app.ccare.comp.PSponsorshipBeanImpl
- All Implemented Interfaces:
PSponsorshipBean
,PIACollectionBean
,PControllerBean
,Serializable
,Remote
,Unreferenced
Controller class for handling sponsorship within customer center
- Version:
- %version: 2 % %date_modified: Mon Dec 03 15:42:35 2001 %
- Author:
- mgaines
- 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 TypeMethodDescriptiongetMembers
(PModelHandle acct) Returns the sponsorship data that was retrieved from doing a lookup on the current account.int
memberOfGroups
(PModelHandle acct) This method will do a lookup on the given account to see if it's a member of any sponsor groups.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
-
PSponsorshipBeanImpl
Creates an instance of this controller class.- Throws:
RemoteException
-
-
Method Details
-
memberOfGroups
This method will do a lookup on the given account to see if it's a member of any sponsor groups. It will return the number of groups this account is a member of.- Specified by:
memberOfGroups
in interfacePSponsorshipBean
- Parameters:
acct
- the account to do the lookup for- Returns:
- the number of groups this account is a member of
- Throws:
RemoteException
-
getMembers
Returns the sponsorship data that was retrieved from doing a lookup on the current account. If the information was already found, then the cached value will be returned.- Specified by:
getMembers
in interfacePSponsorshipBean
- Parameters:
acct
- the account to do the lookup for- Throws:
RemoteException
-