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