com.beasys.commerce.user.jsp.beans
Class GroupUserManagementBean
java.lang.Object
|
+--com.beasys.commerce.user.jsp.beans.GroupUserManagementBean
- public class GroupUserManagementBean
- extends java.lang.Object
Jsp Bean to manage storing/updating users for a particular group.
Method Summary |
void |
consolidate(java.lang.String groupName)
Consolidate the newUser and OldUser tables to finally know which users to be added and
which users should be deleted from the group |
static UserManager |
getUserManager()
Convenience method to retrieve an instance of the UserManager session bean. |
java.lang.String[] |
removeDuplicates(java.lang.String[] searchuserArray,
java.lang.String[] groupUserArray)
Removes duplicate entries from the searchUsers array by looking at the groupuserarray
(This is a utility function used by the jsp page |
void |
storeNewUsers(java.lang.String[] users)
Store the new users in a hashtable. |
void |
storeOriginalUsers(java.lang.String[] users)
Store the original users in a hashtable. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
GroupUserManagementBean
public GroupUserManagementBean()
storeOriginalUsers
public void storeOriginalUsers(java.lang.String[] users)
- Store the original users in a hashtable. This is obtained when the user hits on the search
button.
- Parameters:
String[]
-
storeNewUsers
public void storeNewUsers(java.lang.String[] users)
- Store the new users in a hashtable. This is done when the user hits on the save button
upon which we store all the entires in the text area into the hash table
- Parameters:
String[]
-
removeDuplicates
public java.lang.String[] removeDuplicates(java.lang.String[] searchuserArray,
java.lang.String[] groupUserArray)
- Removes duplicate entries from the searchUsers array by looking at the groupuserarray
(This is a utility function used by the jsp page
consolidate
public void consolidate(java.lang.String groupName)
throws UserManagementException,
ToolkitException,
javax.ejb.CreateException,
java.rmi.RemoteException
- Consolidate the newUser and OldUser tables to finally know which users to be added and
which users should be deleted from the group
- Parameters:
String
- the name of the group to be modified
getUserManager
public static UserManager getUserManager()
throws UserManagementException,
ToolkitException,
javax.ejb.CreateException,
java.rmi.RemoteException
- Convenience method to retrieve an instance of the UserManager session bean.
Copyright © 2000 BEA Systems, Inc. All Rights Reserved