Class ecm.widget.SecurityAccessPane
Extends
dijit._Widget.
Provides a access type pull down. If the user selects specific users and groups access type, then the add
users and groups dialog displays allowing the user to add users and groups. After closing the add users
and groups dialog, the selected users and groups display as composite buttons below the access type pull
down.
Defined in: <ecm\widget\SecurityAccessPane.js>.
Constructor Summary
Constructor Attributes | Constructor Name and Description |
---|---|
Field Summary
Field Attributes | Field Name and Description |
---|---|
Used for accessibility to set the dropdown id.
|
|
Used for accessibility to set the aria-labelledby.
|
|
Instance of ecm.model.Repository.
|
Method Summary
Method Attributes | Method Name and Description |
---|---|
cleanUp()
Cleans up the member composite buttons.
|
|
Constructor.
|
|
destroy()
Destroy.
|
|
Returns the selected access type from the pulldown.
|
|
Returns the number of members.
|
|
Returns an array of ecm.model.Permission based on the values selected on this pane.
|
|
Fired when the access type changed.
|
|
Event fired when a member is added.
|
|
Event fired when a member is removed.
|
|
Post create.
|
|
Post mixin.
|
|
setRepository(repository)
Set the ecm.model.Repository and loads the pulldown with the access types specified for the
repository.
|
Field Detail
dropdownid
Used for accessibility to set the dropdown id.
labelId
Used for accessibility to set the aria-labelledby.
repository
Instance of ecm.model.Repository.
Method Detail
cleanUp()
Cleans up the member composite buttons.
constructor()
Constructor.
destroy()
Destroy.
getAccessType()
Returns the selected access type from the pulldown.
getNumberOfMembers()
Returns the number of members.
getPermissions()
Returns an array of ecm.model.Permission based on the values selected on this pane.
onAccessTypeChange()
Fired when the access type changed.
onMemberAdded()
Event fired when a member is added.
onMemberRemoved()
Event fired when a member is removed.
postCreate()
Post create.
postMixInProperties()
Post mixin.
setRepository(repository)
Set the ecm.model.Repository and loads the pulldown with the access types specified for the
repository.
- Parameters:
- repository