Class Index | Minimal

Classes


Class jabberwerx.LocalUser (MINIMAL)


Extends jabberwerx.Entity.

The LocalUser representation.

Class Summary
Constructor Attributes Constructor Name and Description
 
jabberwerx.LocalUser(jid, cache)
Creates a new LocalUser with the given JID and cache location

NOTE: This type should not be created directly

Use jabberwerx.ClientEntityCache#localUser instead.

Fields borrowed from class jabberwerx.Entity:
features, identities, jid, node, properties
Method Summary
Method Attributes Method Name and Description
 
Retrieves the user's display name.
Methods borrowed from class jabberwerx.Entity:
apply, destroy, getAllPresence, 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.LocalUser(jid, cache)
Creates a new LocalUser with the given JID and cache location

NOTE: This type should not be created directly

Use jabberwerx.ClientEntityCache#localUser instead.

Parameters:
{String|jabberwerx.JID} jid
The user's JID
{jabberwerx.ClientEntityCache} cache Optional
The owning cache
Method Detail
{String} getDisplayName()
Retrieves the user's display name. This method simply returns the node portion of the user's JID.
Returns:
{String} The display name

Documentation generated by JsDoc Toolkit 2.4.0 on Wed Apr 02 2014 13:23:42 GMT-0600 (MDT)