Class finesse.restservices.PhoneBooks
Extends
finesse.restservices.RestCollectionBase.
JavaScript representation of a PhoneBooks collection object.
Defined in: finesse.js.
| Constructor Attributes | Constructor Name and Description |
|---|---|
- Fields borrowed from class finesse.restservices.RestBase:
- ajaxRequestTimeout, restResponseStatus
| Method Attributes | Method Name and Description |
|---|---|
- Methods borrowed from class finesse.restservices.RestCollectionBase:
- getCollection, refresh
- Methods borrowed from class finesse.restservices.RestBase:
- addHandler, getBaseRestUrl, getData, getId, getProperty, getRestUrlAdditionalParameters, hasProperty, isLoaded, removeHandler
Class Detail
finesse.restservices.PhoneBooks()
_phoneBooks = _user.getPhoneBooks( {
onCollectionAdd : _handlePhoneBookAdd,
onCollectionDelete : _handlePhoneBookDelete,
onLoad : _handlePhoneBooksLoaded
});
_phoneBookCollection = _phoneBooks.getCollection();
for (var phoneBookId in _phoneBookCollection) {
if (_phoneBookCollection.hasOwnProperty(phoneBookId)) {
_phoneBook = _phoneBookCollection[phoneBookId];
etc...
}
}
Method Detail
getRestUrl()