Class ecm.widget.FolderSelectorCallback
This class provides callback functions for the folder selector dijit.
Defined in: <ecm\widget\FolderSelectorCallback.js>.
Constructor Summary
Constructor Attributes | Constructor Name and Description |
---|---|
Field Summary
Field Attributes | Field Name and Description |
---|---|
The tooltip message that will be presented if a folder can not be selected
|
|
The permission that will be passed into isSelectableByPermission to check whether a folder can be selected
|
Method Summary
Method Attributes | Method Name and Description |
---|---|
constructor(permissionToCheck, notSelectableTooltip)
Instantiate a FolderSelectorCallback
|
|
isSelectableByPermission(folderItem, privilege)
Returns true if the user has the required permission to select the folder, false otherwise.
|
Field Detail
notSelectableTooltip
The tooltip message that will be presented if a folder can not be selected
- Since:
- 2.0.2
permissionToCheck
The permission that will be passed into isSelectableByPermission to check whether a folder can be selected
- Since:
- 2.0.2
Method Detail
constructor(permissionToCheck, notSelectableTooltip)
Instantiate a FolderSelectorCallback
- Parameters:
- permissionToCheck
- - the permission that will be passed into isSelectableByPermission to check whether a folder can be selected
- notSelectableTooltip
- - the tooltip message that will be presented if a folder can not be selected
- Since:
- 2.0.2
isSelectableByPermission(folderItem, privilege)
Returns true if the user has the required permission to select the folder, false otherwise.
- Parameters:
- folderItem
- privilege