BEA Systems, Inc.

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


Constructor Summary
GroupUserManagementBean()
           
 
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 table
static UserManager getUserManager()
           
 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
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GroupUserManagementBean

public GroupUserManagementBean()
Method Detail

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 table
Parameters:
String -  

getUserManager

public static UserManager getUserManager()
                                  throws UserManagementException,
                                         ToolkitException,
                                         javax.ejb.CreateException,
                                         java.rmi.RemoteException

BEA Systems, Inc.

Copyright © 2000 BEA Systems, Inc. All Rights Reserved