Class ecm.model.SecurityPolicy


Extends ecm.model._ModelObject.
Represents a security policy in an IBM FileNet P8 repository.
Defined in: <ecm\model\SecurityPolicy.js>.

Constructor Summary

Constructor Attributes Constructor Name and Description
 
Constructor

Field Summary

Field Attributes Field Name and Description
 
A string holding the display name of the security policy.
 
A boolean value indicating whether this policy should preserve direct permissions.
 
An array of ecm.model.SecurityTemplate objects holding the policy permissions.
Fields borrowed from class ecm.model._ModelObject:
categorization, id, isRecurring, name, nameFilter, pane, status, type, userId

Method Summary

Method Attributes Method Name and Description
 
getDisplayValue(attribute)
Returns the display value for the input attribute.
 
Return the "InProcess" security template.
 
Return the "InProcess" templates ecm.model.Permission collection.
 
Return the "Released" security template.
 
Return the "Released" templates ecm.model.Permission collection.
 
Return the "Reservation" security template.
 
Return the "Reservation" templates ecm.model.Permission collection.
 
Return the "Superseded" security template.
 
Return the "Superseded" templates ecm.model.Permission collection.
 
getValue(attribute)
Returns the value for the input attribute.
Methods borrowed from class ecm.model._ModelObject:
destroy, getSortCriteria, onChange, own, refresh, toString

Constructor Detail

ecm.model.SecurityPolicy(properties)

Constructor
Parameters:
properties
The properties for the model object. The properties can be any of the public fields as defined below and on ecm.model._ModelObject.

Field Detail

displayName

A string holding the display name of the security policy.

preserveDirectPermissions

A boolean value indicating whether this policy should preserve direct permissions.

securityTemplates

An array of ecm.model.SecurityTemplate objects holding the policy permissions.

Method Detail

getDisplayValue(attribute)

Returns the display value for the input attribute. Used by _ModelStore when the SecurityPolicy is in a ResultSet that uses _ModelStore as the store.
Parameters:
attribute
The attribute in which to get its value.
Since:
2.0.3
Returns:
The attribute's display value.

getInProcessTemplate()

Return the "InProcess" security template.

getInProcessTemplatePermissions()

Return the "InProcess" templates ecm.model.Permission collection.

getReleasedTemplate()

Return the "Released" security template.

getReleasedTemplatePermissions()

Return the "Released" templates ecm.model.Permission collection.

getReservationTemplate()

Return the "Reservation" security template.

getReservationTemplatePermissions()

Return the "Reservation" templates ecm.model.Permission collection.

getSupersededTemplate()

Return the "Superseded" security template.

getSupersededTemplatePermissions()

Return the "Superseded" templates ecm.model.Permission collection.

getValue(attribute)

Returns the value for the input attribute. Used by _ModelStore and ResultSet when the SecurityPolicy is in a ResultSet that uses _ModelStore as the store.
Parameters:
attribute
The attribute in which to get its value.
Since:
2.0.3
Returns:
The attribute's value.