REST Collection Base
Class finesse.restservices.RestCollectionBase
Extends finesse.restservices.RestBase Common ParametersRepresents the collection of finesse.restservices.RestBase
objects. A collection is a group of similar objects. For instance, Users is a collection that can hold multiple User objects.
This class is used by all other JavaScript objects. For more information, see RestCollectionBase Common Parameters.
Methods
getCollection()
Retrieves the RestBase collection.
Returns
{Object}
The collection as an object.
refresh()
Updates the RestBase object with the latest data by performing an asynchronous GET. The updated object will be returned through the onChange
handler, so make sure it is registered
Returns
{finesse.restservices.RestBaseCollection}
The RestBaseCollection object reference. Makes the refresh function available to all the classes which are extending RestCollectionBase class.