Class Index | File Index

Classes


Class finesse.restservices.Contacts


Extends finesse.restservices.RestCollectionBase.
JavaScript representation of a Contacts collection object. Also exposes methods to operate on the object against the server.
Defined in: finesse.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Fields borrowed from class finesse.restservices.RestBase:
restResponseStatus
Methods borrowed from class finesse.restservices.RestCollectionBase:
getCollection, refresh
Methods borrowed from class finesse.restservices.RestBase:
addHandler, getData, getId, getProperty, hasProperty, isLoaded, removeHandler
Class Detail
finesse.restservices.Contacts()
 _contacts = _phonebook.getContacts( {
     onCollectionAdd : _handleContactAdd,
     onCollectionDelete : _handleContactDelete,
     onLoad : _handleContactsLoaded
 });
 
_contactCollection = _contacts.getCollection();
for (var contactId in _contactCollection) {
    if (_contactCollection.hasOwnProperty(contactId)) {
        _contact = _contactCollection[contactId];
        etc...
    }
}
See:
finesse.restservices.Contact
finesse.restservices.PhoneBook

Documentation generated by JsDoc Toolkit 2.3.2 on Mon Nov 06 2017 08:00:55 GMT-0500 (EST)