|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.EventObject
com.starteam.events.UserEvent
public final class UserEvent
An event triggered whenever a User is added, changed or deleted on the server. User events are also triggered when user group membership list is modified, from 12.0 release of server onwards.
UserListener,
Server.addUserListener(com.starteam.events.UserListener),
Serialized Form| Method Summary | |
|---|---|
User |
getUser()
Gets the User that has been added, changed or deleted, in its new state. |
java.lang.String |
toString()
Gets a short description of this UserEvent. |
| 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 |
|---|
public User getUser()
Returns a User object that is not a member of the Server's User collection (that is, it is not among the User objects returned by Server.getUsers()). There may be a User 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 User objects in the Server's User collection, it must explicitly call Server.refreshUsers().
User,
Server.getUsers(),
Server.refreshUsers()public java.lang.String toString()
toString in class java.util.EventObject
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||