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:
extend, getClassName, graphUnserialized, init, intercept, invocation, mixin, 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.0.1 on Thu Aug 18 2011 10:58:50 GMT+0100 (IST)