com.starteam.events
Class WebCacheUserEvent

java.lang.Object
  extended by java.util.EventObject
      extended by com.starteam.events.WebCacheUserEvent
All Implemented Interfaces:
java.io.Serializable

public final class WebCacheUserEvent
extends java.util.EventObject

An event triggered whenever a WebCacheUser is added, changed or deleted on the server. WebCacheUser events are also triggered when user group membership list is modified, from 12.0 release of server onwards.

See Also:
WebCacheUserListener, Server.WebCacheServer.addUserListener(com.starteam.events.WebCacheUserListener), Serialized Form

Method Summary
 User.WebCacheUser getUser()
          Gets the WebCacheUser that has been added, changed or deleted, in its new state.
 java.lang.String toString()
          Gets a short description of this WebCacheUserEvent.
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getUser

public User.WebCacheUser getUser()
Gets the WebCacheUser that has been added, changed or deleted, in its new state.

Returns a WebCacheUser object that is not a member of the Server's WebCacheUser collection (that is, it is not among the WebCacheUser objects returned by Server.getWebCacheUsers()). There may be a WebCacheUser in the collection with the same ID, but it would be a physically different object that is likely to have different properties.

If an application wants to refresh the WebCacheUser objects in the Server's WebCacheUser collection, it must explicitly call Server.refreshWebCacheUsers().

Returns:
The WebCacheUser that has been added, changed or deleted, in its new state.
See Also:
User.WebCacheUser, Server.WebCacheServer.getUsers()

toString

public java.lang.String toString()
Gets a short description of this WebCacheUserEvent.

Overrides:
toString in class java.util.EventObject
Returns:
A short description of this WebCacheUserEvent.


StarTeam SDK 14.0, Build 21
Copyright © 2003-2012 Borland Software Corporation. All rights reserved.