Class jabberwerx.User (MINIMAL)
Extends
jabberwerx.Entity.
The general User representation. Do not construct users by hand with the new operator. See jabberwerx.ClientEntityCache#localUser.
Constructor Attributes | Constructor Name and Description |
---|---|
jabberwerx.User(jid, cache)
Creates a new User with the given JID and cache location
|
- Fields borrowed from class jabberwerx.Entity:
- features, identities, jid, node, properties
- Methods borrowed from class jabberwerx.Entity:
- apply, destroy, getAllPresence, getDisplayName, getGroups, getPrimaryPresence, getResourcePresence, hasFeature, hasIdentity, isActive, matches, remove, setDisplayName, setGroups, toString, update, updatePresence
- Methods borrowed from class jabberwerx.JWModel:
- applyEvent, event, shouldBeSavedWithGraph
- Methods borrowed from class jabberwerx.JWBase:
- getClassName, graphUnserialized, init, invocation, shouldBeSerializedInline, wasUnserialized, willBeSerialized
Class Detail
jabberwerx.User(jid, cache)
Creates a new User with the given JID and cache location
- Parameters:
- {String|jabberwerx.JID} jid
- The user's JID
- {jabberwerx.ClientEntityCache} cache Optional
- The owning cache