Class ecm.widget.ItemSecurityPane


Extends dijit.layout.ContentPane.
Provides a widget that contains the SecurityPane widget and is used by the Edit Properties dialog. This class retrieves the item permissions and other item information that is required by the SecurityPane widget to display the security information.
Defined in: <ecm\widget\ItemSecurityPane.js>.

Constructor Summary

Constructor Attributes Constructor Name and Description
 

Method Summary

Method Attributes Method Name and Description
 
Returns the current permission array.
 
An event that gets trigger when a permission item has been modified, added, or removed from the permission array.
 
 
Displays the permissions of the current selected item.
 
setItem(item, isReadOnly)
Sets the item.
 
setProperties(properties)
Sets the item properties.

Constructor Detail

ecm.widget.ItemSecurityPane()

Method Detail

getPermissions()

Returns the current permission array.
Returns:
Returns an array of ecm.model.Permission

onChange()

An event that gets trigger when a permission item has been modified, added, or removed from the permission array.

postCreate()


render()

Displays the permissions of the current selected item.

setItem(item, isReadOnly)

Sets the item.
Parameters:
item
Instance of ecm.model.ContentItem
isReadOnly

setProperties(properties)

Sets the item properties.
Parameters:
properties
An array of item properties JSON