public interface PSponsorGroupBean extends Remote
| Modifier and Type | Field and Description |
|---|---|
static int |
ALL_RATES
Indicates that all sponsored rate plans are used for the product.
|
static int |
FOLDS
Indicates that the sponsored rate plans is a fold.
|
static int |
GUARANTEE
Indicates that the sponsored rate plan is guaranteed.
|
static int |
INITIAL
Inital state for sponsorship flag.
|
| 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.
|
static final int INITIAL
static final int ALL_RATES
static final int GUARANTEE
static final int FOLDS
PModelHandle getGroups(PModelHandle account) throws RemoteException
account - the sponsor group owner accountRemoteExceptionPModelHandle[] getGroupPlans(PModelHandle groups, int index) throws RemoteException
groups - the sponsor groupsindex - of selected groupRemoteExceptionArrayList getMembers(PModelHandle groups, int index) throws RemoteException
groups - the sponsor groupsindex - of selected groupRemoteExceptionPModelHandle getRatePlans(PModelHandle account, String product) throws RemoteException
account - the current accountproduct - the name of the productRemoteExceptionString[] getProducts(PModelHandle account, PScopeEntryPoint brandInfo, boolean force) throws RemoteException
account - the current accountbrandInfo - the current brand or null if branding is disabledforce - if true, redo a lookup of the product list from the dbRemoteExceptionvoid createGroup(PModelHandle account, String name) throws RemoteException
account - the current accountname - the name for the groupRemoteExceptionvoid deleteGroup(PModelHandle groups, int index) throws RemoteException
groups - the list of sponsor groupsindex - the group to deleteRemoteExceptionPModelHandle modifyGroup(PModelHandle groups, int index, Vector data) throws RemoteException
groups - the list of sponsor groupsindex - the group to modifythe - modified group data (products and rate plans)RemoteExceptionvoid addMembers(PModelHandle groups, int index, Vector data) throws RemoteException
groups - the list of sponsor groupsindex - the group to modifythe - list of members to addRemoteExceptionvoid deleteMembers(PModelHandle groups, int index, Vector data) throws RemoteException
groups - the list of sponsor groupsindex - the group to modifydata - the list of members to deleteRemoteExceptionvoid clearGroupCache()
Copyright © 2003, 2023, Oracle and/or its affiliates.