Synergy Home Page

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

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.BUpdateNotificationCE
                          |
                          +--au.edu.swin.synergy.plugin.userdb.event.BUserUpdatedCE

public class BUserUpdatedCE
extends BUpdateNotificationCE

When a user is updated in a manner that other plugins may be interested, this event is fired.

Plugins may be interested in situations where the user name changes, so they can update the interface. Other situations may be when a group is added or a simple change occurs which results in others changing. For example, if you add a user to a group, both the user and group are updated to reflect this.

Similarly, when a users status is changed, the clients may wish to update immediately so as to reflect the change.

Author:
Tristan Austin
See Also:
Serialized Form

Fields inherited from class au.edu.swin.synergy.plugin.userdb.event.BUpdateNotificationCE
kAdded, kRemoved, kUpdated
 
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
BUserUpdatedCE(Object source, BUser updatedUser, int updateType)
          Creates a new update notification event with the source specified.
 
Method Summary
 BUser getUpdatedUser()
          Gets the user that was updated.
 
Methods inherited from class au.edu.swin.synergy.plugin.userdb.event.BUpdateNotificationCE
getUpdatedItem, getUpdateType
 
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
 

Constructor Detail

BUserUpdatedCE

public BUserUpdatedCE(Object source,
                      BUser updatedUser,
                      int updateType)
Creates a new update notification event with the source specified.
Parameters:
source - The source of the event
Method Detail

getUpdatedUser

public BUser getUpdatedUser()
Gets the user that was updated.
Returns:
The user updated

Synergy Home Page