To define the lifecycle states in a document lifecycle policy, create a
object for each lifecycle state that you want to define and add it to the
collection referenced by the
property. You can set the
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
object and set the
property to reference it. With the
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.
The following tables list the members exposed by IDocumentLifecyclePolicy.
Public Properties
Name | Description | |
---|---|---|
![]() | DocumentLifecycleAction | Specifies the object associated with this object that holds the definition of the actions to take when a document's lifecycle state changes. |
![]() | DocumentStates | Specifies a object that contains the complete set of valid document states (each of which is represented by a object) defined by this object. Each document lifecycle policy defines a set of states through which a document can transition into during its lifecycle. |
![]() | PreserveDirectPermissions | Determines whether direct access control entries (ACEs) are preserved on an object when a given security policy template or lifecycle policy is applied to the object. Direct ACEs are permissions that have been directly set on the object, not set through inheritance. If the value of this property is False, the object's original direct permissions are replaced by the permissions defined by the applied security policy template or lifecycle policy. Permissions inherited from the object's security parent are retained. If the value is True, the object's original direct permissions are preserved as well as its inherited permissions. |
![]() | ResetLifecycleOnCheckin | Specifies whether to reset the lifecycle state of the new checked-in version of a document to the initial state of its associated document lifecycle policy ( ) or not ( ). If the property of a document's associated object is set to , the lifecycle state of the document will remain the same from one version to the next unless you explicitly change it using the document's method. |
Public Methods
Name | Description | |
---|---|---|
![]() | ChangeClass | Changes the class of a Content Engine object. The new class must already exist and both it and the original class must be subclasses of the same base class. The method does not modify the security for an object, even if the object's current security is derived from the default security for its source class. For the object's user-defined properties, the following rules apply:
When the class of a document object is changed, the default document lifecycle policy of the new class will only be applied to the document object's
|