|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface GroupAdministration
This interface defines the methods and the parameters for the GroupAdministrationBean.
| Method Summary | |
|---|---|
void |
addGroupPermission(String groupId,
String permission)
This method updates the EJBGROUP_PERMISSIONS table with a list of specified permissions for a group. |
void |
createGroup(String groupId,
String groupName)
This method creates a new group. |
void |
deleteGroup(String groupId)
This method deletes a group. |
void |
deleteGroupPermission(String groupId,
String permission)
This method deletes the a permission associated with a group. |
Enumeration |
getAllGroups()
This method gets all system registered groups |
EJBGroup |
getGroup(String groupId)
This method gets an instance of the EJBGroup by its primary key. |
Vector |
getGroupMembers(String groupId)
This method displays the users associated with a particular group. |
Vector |
getGroupPermissions(String groupId)
This method gets the permissions specified for a group in the EJBGROUP_PERMISSIONS table. |
Vector |
getUnassignedGroups(String userId)
This method generates a vector of groupIds which specify which groups a specified user is NOT a member of. |
Vector |
getUserGroupPermissions(String userId)
This method returns the total permissions for each group that a user is a member of. |
Vector |
getUserGroups(String userId)
This method gets the groups a user is a member of. |
Vector |
unassignedGroupPermissions(String groupId)
This method returns the permissions a group does not have. |
| Methods inherited from interface com.bankframe.ejb.ESessionRemote |
|---|
processDataPacket, processDataPackets |
| Methods inherited from interface javax.ejb.EJBObject |
|---|
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove |
| Method Detail |
|---|
void addGroupPermission(String groupId,
String permission)
throws ProcessingErrorException,
RemoteException
groupId - the ID of group to update with permissionspermission - string of permission to update the specified group with
ProcessingErrorException - if processing fails
RemoteException
void createGroup(String groupId,
String groupName)
throws ProcessingErrorException,
RemoteException
groupId - the id of group to creategroupName - the name of group to create
ProcessingErrorException - if processing fails.
RemoteException
void deleteGroup(String groupId)
throws ProcessingErrorException,
RemoteException
groupId - the id of the group to delete
ProcessingErrorException - if processing fails.
RemoteException
void deleteGroupPermission(String groupId,
String permission)
throws ProcessingErrorException,
RemoteException
groupId - the id of the grouppermission - String to remove from this group
ProcessingErrorException - if processing fails.
RemoteException
Enumeration getAllGroups()
throws ProcessingErrorException,
RemoteException
ProcessingErrorException - if processing fails.
RemoteException
EJBGroup getGroup(String groupId)
throws ProcessingErrorException,
RemoteException
groupId - the id of the group to get
ProcessingErrorException - if processing fails
FinderException - if the group is not found
RemoteException
Vector getGroupMembers(String groupId)
throws ProcessingErrorException,
RemoteException
groupId - the id of group to display the members of
ProcessingErrorException - if processing fails
RemoteException
Vector getGroupPermissions(String groupId)
throws ProcessingErrorException,
RemoteException
groupId - the id of group to fetch permissions for
ProcessingErrorException - if processing fails.
RemoteException
Vector getUnassignedGroups(String userId)
throws ProcessingErrorException,
RemoteException
userId - the id of the user to check
ProcessingErrorException - if processing fails.
RemoteException
Vector getUserGroupPermissions(String userId)
throws ProcessingErrorException,
RemoteException
userId - the id of user to fetch group permissions for
ProcessingErrorException - if processing fails.
RemoteException
Vector getUserGroups(String userId)
throws ProcessingErrorException,
RemoteException
userId - the user ID to check for
ProcessingErrorException - if processing fails.
RemoteException
Vector unassignedGroupPermissions(String groupId)
throws ProcessingErrorException,
RemoteException
groupId - the id of a group to check unassigned permissions for
ProcessingErrorException - if processing fails.
RemoteException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||