Synergy Home Page

au.edu.swin.synergy.plugin.userdb.event
Class BAddUserCE

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--au.edu.swin.synergy.kernel.BCommandEvent
              |
              +--au.edu.swin.synergy.plugin.userdb.event.BUserDBCE
                    |
                    +--au.edu.swin.synergy.plugin.userdb.event.BAdminCE
                          |
                          +--au.edu.swin.synergy.plugin.userdb.event.BUpdatePrivilegedCE
                                |
                                +--au.edu.swin.synergy.plugin.userdb.event.BOwnerCE
                                      |
                                      +--au.edu.swin.synergy.plugin.userdb.event.BUpdateUserCE
                                            |
                                            +--au.edu.swin.synergy.plugin.userdb.event.BAddUserCE

public class BAddUserCE
extends BUpdateUserCE

This is the event which is passed around when the user manager gets the event, it will create a vector containing the users it then calls the completion object which can do what it wants with the data. the completeion object is run in the thread of the event.

See Also:
Serialized Form

Field Summary
static int kNonUniqueUserName
          The user name entered is not a unique user name in the database
 
Fields inherited from class au.edu.swin.synergy.plugin.userdb.event.BUpdatePrivilegedCE
item, kDeleteSelf, kFailed, kInvalidPrivilege, kLowPrivilege, kNameTooShort, kNotFound, kSuccess
 
Fields inherited from class au.edu.swin.synergy.kernel.BCommandEvent
connectionID, index, kBroadcast, kClient, kClientDone, kLocal, kServer, kServerDone, networkStatus, serialVersionUID
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
BAddUserCE(Object source, BUser fUser, String initialPassword, BCommandComplete complete)
          Creates a new BAddUserCE object with the updated user.
 
Method Summary
 String getInitialPassword()
          Gets the password to be used as the new users initial password.
 
Methods inherited from class au.edu.swin.synergy.plugin.userdb.event.BUpdateUserCE
getUser, setUser
 
Methods inherited from class au.edu.swin.synergy.plugin.userdb.event.BUpdatePrivilegedCE
getItem, getStatus, setItem, setStatus
 
Methods inherited from class au.edu.swin.synergy.kernel.BCommandEvent
decrementThreadCount, doComplete, doInit, getAutoComplete, getCompletionObject, getCompletionStatus, getConnectionID, getIndex, getNetworkStatus, getPipe, getUndoable, setAutoComplete, setCompletionObject, setCompletionStatus, setConnectionID, setIndex, setNetworkStatus, setPipe, setThreadCount, setUndoable
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

kNonUniqueUserName

public static final int kNonUniqueUserName
The user name entered is not a unique user name in the database
Constructor Detail

BAddUserCE

public BAddUserCE(Object source,
                  BUser fUser,
                  String initialPassword,
                  BCommandComplete complete)
Creates a new BAddUserCE object with the updated user.
Parameters:
source - The source of the event
fUser - The updated user
complete - The complete object to call when done Please complete the missing tags for BAddUserCE
Method Detail

getInitialPassword

public String getInitialPassword()
Gets the password to be used as the new users initial password. This password will be unecrypted.
Returns:
The unencrypted initial password for the new user

Synergy Home Page