Synergy Home Page

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

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.BGroupUpdatedCE

public class BGroupUpdatedCE
extends BUpdateNotificationCE

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

Plugins may be interested in situations where the name changes, so they can update the interface. Other situations may be when a user 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 group privilege 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
BGroupUpdatedCE(Object source, BGroup updatedGroup, int updateType)
          Creates a new update notification event with the source specified.
 
Method Summary
 BGroup getUpdatedGroup()
          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

BGroupUpdatedCE

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

getUpdatedGroup

public BGroup getUpdatedGroup()
Gets the user that was updated.
Returns:
The user updated

Synergy Home Page