Class ecm.model.MySyncedFilesTreeModel
Extends
ecm.model.FavoritesTreeModel.
Represents a tree that is used to display the sync items hierarchy. This class implements the Dojo
dijit.tree.model
.
Defined in: <ecm\model\MySyncedFilesTreeModel.js>.
Constructor Summary
Constructor Attributes | Constructor Name and Description |
---|---|
- Fields borrowed from class ecm.model._ModelObject:
- categorization, id, isRecurring, name, nameFilter, pane, status, type, userId
Method Summary
Method Attributes | Method Name and Description |
---|---|
getChildren(parentItem, onComplete)
Gets the children of the input parentItem.
|
|
reload(callback)
Clears the sync item data model and retrieves the sync items again.
|
- Methods borrowed from class ecm.model.FavoritesTreeModel:
- constructor, destroy, fetchItemByIdentity, fetchNextPage, getIdentity, getLabel, getResultSet, getRoot, isItem, mayHaveChildren, newItem, onChange, onChildrenChange, onProcessingComplete, pasteItem, reloadChildren, replaceChildren, retrieveChildren, setValue
- Methods borrowed from class ecm.model._ModelObject:
- getSortCriteria, own, refresh, toString
Method Detail
getChildren(parentItem, onComplete)
Gets the children of the input parentItem.
- Parameters:
- parentItem
- Parent item in which need to retrieve the folder contents.
- onComplete
- Callback that will be returned an array of children items.
reload(callback)
Clears the sync item data model and retrieves the sync items again.
- Parameters:
- callback
- A callback function called after the sync items have been retrieved.