public class PSponsorGroupBeanImpl extends PIAComponentCollectionBean implements PSponsorGroupBean
mFList, mRemoteListeners, UPDATE_CLIENT, UPDATE_MODEL_CHANGE, UPDATE_NEW_MODEL, UPDATE_PROPERTY
ALL_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, update
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addRemoteListener, getArrayRange, getModel, getRemoteListenerHandle, isLight, register, releaseRemoteListener, removeRemoteListener, setModel
public PSponsorGroupBeanImpl() throws RemoteException
RemoteException
public PModelHandle getGroups(PModelHandle account) throws RemoteException
getGroups
in interface PSponsorGroupBean
account
- the sponsor group owner accountRemoteException
public PModelHandle[] getGroupPlans(PModelHandle groups, int index) throws RemoteException
getGroupPlans
in interface PSponsorGroupBean
groups
- the sponsor groupsindex
- of selected groupRemoteException
public ArrayList getMembers(PModelHandle groups, int index) throws RemoteException
getMembers
in interface PSponsorGroupBean
groups
- the sponsor groupsindex
- the selected groupRemoteException
public PModelHandle getRatePlans(PModelHandle account, String product) throws RemoteException
getRatePlans
in interface PSponsorGroupBean
account
- the current accountproduct
- the name of the productRemoteException
public String[] getProducts(PModelHandle account, PScopeEntryPoint brandInfo, boolean force) throws RemoteException
getProducts
in interface PSponsorGroupBean
account
- the current accountbrandInfo
- the current brand or null if branding is disabledforce
- if true, redo a lookup of the product list from the dbRemoteException
public void createGroup(PModelHandle account, String name) throws RemoteException
createGroup
in interface PSponsorGroupBean
account
- the current accountname
- the name for the groupRemoteException
public void deleteGroup(PModelHandle groups, int index) throws RemoteException
deleteGroup
in interface PSponsorGroupBean
groups
- the list of sponsor groupsindex
- the group to deleteRemoteException
public PModelHandle modifyGroup(PModelHandle groups, int index, Vector data) throws RemoteException
modifyGroup
in interface PSponsorGroupBean
groups
- the list of sponsor groupsindex
- the group to modifythe
- modified group data (products and rate plans)RemoteException
public void addMembers(PModelHandle groups, int index, Vector data) throws RemoteException
addMembers
in interface PSponsorGroupBean
groups
- the list of sponsor groupsindex
- the group to modifythe
- list of members to addRemoteException
public void deleteMembers(PModelHandle groups, int index, Vector data) throws RemoteException
deleteMembers
in interface PSponsorGroupBean
groups
- the list of sponsor groupsindex
- the group to modifythe
- list of members to deleteRemoteException
public void clearGroupCache()
clearGroupCache
in interface PSponsorGroupBean
Copyright © 2003, 2023, Oracle and/or its affiliates.