public class PSponsorGroupBeanImpl extends PIAComponentCollectionBean implements PSponsorGroupBean
mFList, mRemoteListeners, UPDATE_CLIENT, UPDATE_MODEL_CHANGE, UPDATE_NEW_MODEL, UPDATE_PROPERTYALL_RATES, FOLDS, INITIAL| Constructor and Description |
|---|
PSponsorGroupBeanImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addMembers(PModelHandle groups,
int index,
Vector data)
Add the given list of members to the sponsor group.
|
void |
clearGroupCache()
Clear out all information stored in the cache for the sponsor groups.
|
void |
createGroup(PModelHandle account,
String name)
Create a sponsor group for the given account using the given name.
|
void |
deleteGroup(PModelHandle groups,
int index)
Delete the sponsor group from the given account.
|
void |
deleteMembers(PModelHandle groups,
int index,
Vector data)
Remove the given list of members from the sponsor group.
|
PModelHandle[] |
getGroupPlans(PModelHandle groups,
int index)
Returns the rate plans associated with the sponsor group for the
given index.
|
PModelHandle |
getGroups(PModelHandle account)
Returns PModelHandle which represents an array of sponsor groups
which is owned by the given account.
|
ArrayList |
getMembers(PModelHandle groups,
int index)
Returns the members associated with the sponsor group for the
given index.
|
String[] |
getProducts(PModelHandle account,
PScopeEntryPoint brandInfo,
boolean force)
Get the list of products using the database information in the given
account.
|
PModelHandle |
getRatePlans(PModelHandle account,
String product)
Returns the rate plans for the given product.
|
PModelHandle |
modifyGroup(PModelHandle groups,
int index,
Vector data)
Update the sponsor group with the new product/rate plan information.
|
addChild, getCollectedData, getSelectionDataFor, removeChild, updateaddRemoteListener, 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, unreferencedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddRemoteListener, getArrayRange, getModel, getRemoteListenerHandle, isLight, register, releaseRemoteListener, removeRemoteListener, setModelpublic PSponsorGroupBeanImpl()
throws RemoteException
RemoteExceptionpublic PModelHandle getGroups(PModelHandle account) throws RemoteException
getGroups in interface PSponsorGroupBeanaccount - the sponsor group owner accountRemoteExceptionpublic PModelHandle[] getGroupPlans(PModelHandle groups, int index) throws RemoteException
getGroupPlans in interface PSponsorGroupBeangroups - the sponsor groupsindex - of selected groupRemoteExceptionpublic ArrayList getMembers(PModelHandle groups, int index) throws RemoteException
getMembers in interface PSponsorGroupBeangroups - the sponsor groupsindex - the selected groupRemoteExceptionpublic PModelHandle getRatePlans(PModelHandle account, String product) throws RemoteException
getRatePlans in interface PSponsorGroupBeanaccount - the current accountproduct - the name of the productRemoteExceptionpublic String[] getProducts(PModelHandle account, PScopeEntryPoint brandInfo, boolean force) throws RemoteException
getProducts in interface PSponsorGroupBeanaccount - the current accountbrandInfo - the current brand or null if branding is disabledforce - if true, redo a lookup of the product list from the dbRemoteExceptionpublic void createGroup(PModelHandle account, String name) throws RemoteException
createGroup in interface PSponsorGroupBeanaccount - the current accountname - the name for the groupRemoteExceptionpublic void deleteGroup(PModelHandle groups, int index) throws RemoteException
deleteGroup in interface PSponsorGroupBeangroups - the list of sponsor groupsindex - the group to deleteRemoteExceptionpublic PModelHandle modifyGroup(PModelHandle groups, int index, Vector data) throws RemoteException
modifyGroup in interface PSponsorGroupBeangroups - the list of sponsor groupsindex - the group to modifythe - modified group data (products and rate plans)RemoteExceptionpublic void addMembers(PModelHandle groups, int index, Vector data) throws RemoteException
addMembers in interface PSponsorGroupBeangroups - the list of sponsor groupsindex - the group to modifythe - list of members to addRemoteExceptionpublic void deleteMembers(PModelHandle groups, int index, Vector data) throws RemoteException
deleteMembers in interface PSponsorGroupBeangroups - the list of sponsor groupsindex - the group to modifythe - list of members to deleteRemoteExceptionpublic void clearGroupCache()
clearGroupCache in interface PSponsorGroupBeanCopyright © 2003, 2023, Oracle and/or its affiliates.