Class Index | Minimal

Classes


Class jabberwerx.Contact


Extends jabberwerx.User.

Contact object which represents a user known to the current client. This object SHOULD NOT be created directly.

Class Summary
Constructor Attributes Constructor Name and Description
 
jabberwerx.Contact(jid, ctrl)

Creates a new Contact with the given JID and controller.

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.Contact(jid, ctrl)

Creates a new Contact with the given JID and controller.

Parameters:
{jabberwerx.JID} jid
The contact JID
{jabberwerx.Controller} ctrl
The creating controller
Throws:
{TypeError}
If {jid} is invalid; or if {ctrl} is invalid.

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