Class ecm.model.TaskTreeModel
Extends
ecm.model._ModelObject.
Represents a tree that is used to display tasks hierarchy. This class implements the Dojo dijit.tree.model
class.
Defined in: <ecm\model\TaskTreeModel.js>.
Constructor Summary
Constructor Attributes | Constructor Name and Description |
---|---|
Field Summary
Field Attributes | Field Name and Description |
---|---|
The categorization of types of asynchronous tasks that will be used for display.
|
- Fields borrowed from class ecm.model._ModelObject:
- id, isRecurring, name, nameFilter, pane, status, type, userId
Method Summary
Method Attributes | Method Name and Description |
---|---|
Constructs the tree.
|
|
destroy()
|
|
fetchNextPage(pagedResultSet, parentItem, onComplete)
|
|
getChildren(parentItem, onComplete)
|
|
getIdentity(item)
|
|
getLabel(item)
|
|
getRoot(onItem)
|
|
isItem(something)
|
|
isLoaded(item)
|
|
mayHaveChildren(item)
|
|
onChange(item)
|
|
onChildrenChange(parent, newChildrenList)
|
|
onProcessingComplete(item)
This event is triggered when the model completes processing an item.
|
|
onProcessingStarted(item)
This event is triggered when the model begins processing an item.
|
|
reload(parent)
|
|
replaceChildren(parentItem, results)
|
- Methods borrowed from class ecm.model._ModelObject:
- own, refresh, toString
Field Detail
categorization
The categorization of types of asynchronous tasks that will be used for display. Users can set a different
categorization to show a different set of task types.
Method Detail
constructor()
Constructs the tree.
destroy()
fetchItemByIdentity()
fetchNextPage(pagedResultSet, parentItem, onComplete)
- Parameters:
- pagedResultSet
- parentItem
- onComplete
getChildren(parentItem, onComplete)
- Parameters:
- parentItem
- onComplete
getIdentity(item)
- Parameters:
- item
getLabel(item)
- Parameters:
- item
getRoot(onItem)
- Parameters:
- onItem
isItem(something)
- Parameters:
- something
isLoaded(item)
- Parameters:
- item
mayHaveChildren(item)
- Parameters:
- item
onChange(item)
- Parameters:
- item
onChildrenChange(parent, newChildrenList)
- Parameters:
- parent
- newChildrenList
onProcessingComplete(item)
This event is triggered when the model completes processing an item. It is intended to allow tree dijits to
remove display of progress indicators.
- Parameters:
- item
onProcessingStarted(item)
This event is triggered when the model begins processing an item. It is intended to allow tree dijits to
display a progress indicator next to the node for the item.
- Parameters:
- item
reload(parent)
- Parameters:
- parent
replaceChildren(parentItem, results)
- Parameters:
- parentItem
- results