Class finesse.restservices.MediaDialogs
Extends
finesse.restservices.Dialogs.
JavaScript representation of a collection of Dialogs for a specific non-voice Media.
Defined in: finesse.js.
| Constructor Attributes | Constructor Name and Description |
|---|---|
- Fields borrowed from class finesse.restservices.Dialogs:
- includeNonVoice, REQUESTID_REAPER_TIMEOUT
- Fields borrowed from class finesse.restservices.RestBase:
- ajaxRequestTimeout, restResponseStatus
| Method Attributes | Method Name and Description |
|---|---|
|
getMedia()
Returns the associated Media object.
|
- Methods borrowed from class finesse.restservices.Dialogs:
- getDialogCount, getRestUrlAdditionalParameters
- Methods borrowed from class finesse.restservices.RestCollectionBase:
- getCollection, refresh
- Methods borrowed from class finesse.restservices.RestBase:
- addHandler, getBaseRestUrl, getData, getId, getProperty, hasProperty, isLoaded, removeHandler
Class Detail
finesse.restservices.MediaDialogs()
_MediaDialogs = _media.getMediaDialogs( {
onCollectionAdd : _handleDialogAdd,
onCollectionDelete : _handleDialogDelete,
onLoad : _handleMediaDialogsLoaded
});
_dialogCollection = _MediaDialogs.getCollection();
for (var dialogId in _dialogCollection) {
if (_dialogCollection.hasOwnProperty(dialogId)) {
_dialog = _dialogCollection[dialogId];
etc...
}
}
Method Detail
{finesse.restservices.Media}
getMedia()
Returns the associated Media object.
- Returns:
- {finesse.restservices.Media} the associated media object.