Class ecm.widget.UserGroupSelectorPane
Extends
dijit._Widget.
Provides a pane that is used by the SinglePropertyEditorFactory
class to select users or
groups for assigning property value. The widget can be configured to display voting approval properties
for Entry Template workflows.
Defined in: <ecm\widget\UserGroupSelectorPane.js>.
Constructor Summary
Constructor Attributes | Constructor Name and Description |
---|---|
Method Summary
Method Attributes | Method Name and Description |
---|---|
destroy()
Cleans up the widget
|
|
getLabel()
Returns the selected item display values.
|
|
Returns the current selected users and groups
|
|
getValue()
Returns the selected item values.
|
|
onChange()
Event fired after the available list double click event.
|
|
onSave()
Event fired when the OK button is clicked.
|
|
onShow()
Event fired when showing the pane.
|
|
resize(changeSize)
Resizes the widget
|
|
setFilteredItems(filteredItems)
Sets the filtered items list.
|
|
setRepository(repository)
Sets the repository.
|
|
setSelectedItems(selectedItems)
Sets the selected items list.
|
Method Detail
constructor()
destroy()
Cleans up the widget
getLabel()
Returns the selected item display values. The display values are used by the DropDownInput multi-value
picker.
- Returns:
- A comma delimited list of the display values.
getSelectedItems()
Returns the current selected users and groups
- Returns:
- An array of ecm.model.User and/or ecm.model.UserGroup object.
getValue()
Returns the selected item values. The values are used by the DropDownInput multi-value picker.
- Returns:
- A comma delimited list of the values.
onChange()
Event fired after the available list double click event.
onSave()
Event fired when the OK button is clicked.
onShow()
Event fired when showing the pane.
postCreate()
resize(changeSize)
Resizes the widget
- Parameters:
- changeSize
setFilteredItems(filteredItems)
Sets the filtered items list. The filtered items are filtered out from the available list.
- Parameters:
- filteredItems
- An array of ecm.model.User or ecm.model.UserGroup
setRepository(repository)
Sets the repository.
- Parameters:
- repository
- An instance of ecm.model.Repository
setSelectedItems(selectedItems)
Sets the selected items list. The selected items are displayed in the selected list.
- Parameters:
- selectedItems
- An array of ecm.model.User or ecm.model.UserGroup