org.gxos
Class Users

java.lang.Object
  |
  +--org.gxos.Users

public class Users
extends java.lang.Object

Utility class to handle user objects. Also see UserObject and User.

$Id: Users.java,v 1.6 2001/05/06 20:29:31 balsoy Exp $


Constructor Summary
Users()
           
 
Method Summary
static UserObject createUser(UserObject user, java.lang.String userID, java.lang.String pwd, java.lang.String name, java.lang.String pres, java.lang.String sufs, java.lang.String email)
          Creates a user object with given parameters.
static void setDefault(PersonalInfoTypeType type)
          Changes the default type used for user object creation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Users

public Users()
Method Detail

setDefault

public static void setDefault(PersonalInfoTypeType type)
Changes the default type used for user object creation. It affects objects created after the method called.
See Also:
PersonalInfoTypeType

createUser

public static UserObject createUser(UserObject user,
                                    java.lang.String userID,
                                    java.lang.String pwd,
                                    java.lang.String name,
                                    java.lang.String pres,
                                    java.lang.String sufs,
                                    java.lang.String email)
Creates a user object with given parameters. Sets other values to defaults.
Parameters:
user - User object whose personal information will be set.
userID - User identifier for this user
pwd - Password information for this user
name - full name of this user
pres - prefix for the name if any, i.e. Prof Dr. separated space or period.
sufs - suffix for the name if any, i.e. Jr separated space,comma or period.
email - primary e-mail address of this user
Returns:
a user object with all the required fields set. Other fields needs to be set afterwards.