Represents the lifecycle policy for a document. A document lifecycle policy defines a set of valid lifecycle states for a document,
controls the transition of those states, and specifies the actions to be taken and which access permissions to be applied when a
document's lifecycle state changes.
To define the lifecycle states in a document lifecycle policy, create a DocumentState object for each
lifecycle state that you want to define and add it to the DocumentStateList collection referenced by the DocumentState property.
You can set the ResetLifecycleOnCheckin property to define whether a document, when it is checked in, is reset to the initial
lifecycle state in its document lifecycle policy or not. To define the actions to be taken when a document's lifecycle state changes, create
a DocumentLifecycleAction object and set the DocumentLifecycleAction property to reference it.
With the PreseveDirectPermissions property, you can elect to either preserve a document's direct (non-inherited) access permissions
or replace them with the document lifecycle policy's access permissions.
Namespace:
FileNet.Api.Events
Assembly:
FileNet.Api (in FileNet.Api.dll)
JavaScript |
---|
FileNet.Api.Events.IDocumentLifecyclePolicy = function();
FileNet.Api.Events.IDocumentLifecyclePolicy.createInterface('FileNet.Api.Events.IDocumentLifecyclePolicy'); |