|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UserAdministration
UserAdministration Interface Class defines the mehtods and the parameters for the UserAdministrationBean
Method Summary | |
---|---|
void |
addUserPermission(String userId,
String permission)
This method updates the EJBUSER_PERMISSIONS table with a permission for a user. |
void |
addUserToGroup(String userId,
String group)
This method will add a specified user to a group. |
void |
createUser(String userId,
String userName,
String password)
This method creates a new user. |
void |
deleteUser(String userId)
This method deletes a user. |
void |
deleteUserFromGroup(String userId,
String group)
This method will remove a specified user from a group. |
void |
deleteUserPermission(String userId,
String permission)
This method deletes a permission associated with a user. |
Enumeration |
getAllUsers()
This method will get all the users currently registered in the system. |
EJBUser |
getUser(String userId)
This method finds a user by its primary key, the UserID. |
Vector |
getUserPermissions(String userId)
This method gets the permissions specified for a user. |
Vector |
unassignedUserPermissions(String userId)
This method returns the permissions a user 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 addUserPermission(String userId, String permission) throws ProcessingErrorException, RemoteException
userId
- the id of user to updatepermission
- the permission to update the specified user with
ProcessingErrorException
- if processing fails
RemoteException
void addUserToGroup(String userId, String group) throws ProcessingErrorException, RemoteException
userId
- the id of user to add to groupgroup
- the group to add the specified user to
ProcessingErrorException
- if processing fails.
RemoteException
void createUser(String userId, String userName, String password) throws ProcessingErrorException, RemoteException
userId
- ID of user to createuserName
- Name of user to createpassword
- password to assign to new user
ProcessingErrorException
- this exception is thrown if processing fails.
RemoteException
void deleteUser(String userId) throws ProcessingErrorException, RemoteException
userId
- the id of the user to delete
ProcessingErrorException
- if processing fails.
RemoteException
void deleteUserFromGroup(String userId, String group) throws ProcessingErrorException, RemoteException
userId
- the id of the user to add to a groupgroup
- the group to remove the specified userfrom
ProcessingErrorException
- if processing fails.
RemoteException
void deleteUserPermission(String userId, String permission) throws ProcessingErrorException, RemoteException
userId
- the id of userpermission
- the permission to remove from this user
ProcessingErrorException
- if processing fails
RemoteException
Enumeration getAllUsers() throws ProcessingErrorException, RemoteException
ProcessingErrorException
- if processing fails
RemoteException
EJBUser getUser(String userId) throws ProcessingErrorException, RemoteException
userId
- the id of user to check
ProcessingErrorException
- if processing fails.
RemoteException
Vector getUserPermissions(String userId) throws ProcessingErrorException, RemoteException
userId
- the id of user to fetch permissions for
ProcessingErrorException
- this exception is thrown if processing fails.
RemoteException
Vector unassignedUserPermissions(String userId) throws ProcessingErrorException, RemoteException
userId
- the id of user 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 |