Defines settings for the delete behavior of parent and child components within a
compound document. The prevention settings protect a document from deletion by
causing an exception to be thrown on a deletion attempt.
Namespace:
FileNet.Api.Constants
Assembly:
FileNet.Api (in FileNet.Api.dll)
Syntax
| Visual Basic (Declaration) |
|---|
Public Enumeration ComponentPreventDeleteAction |
| C# |
|---|
public enum ComponentPreventDeleteAction |
| Visual C++ |
|---|
public enum class ComponentPreventDeleteAction |
| JavaScript |
|---|
FileNet.Api.Constants.ComponentPreventDeleteAction = function(); FileNet.Api.Constants.ComponentPreventDeleteAction.createEnum('FileNet.Api.Constants.ComponentPreventDeleteAction', false); |
Members
| Type | Member name | Description |
|---|---|---|
| PREVENT_CHILD_DELETE |
Prevents the deletion of the child component document if the parent
component document exists. This setting also prevents the deletion of
a parent component document if the ComponentCascadeDelete property
for this ComponentRelationship object is set to CASCADE_DELETE
(which deletes the child when the parent is deleted).
| |
| PREVENT_PARENT_DELETE |
Prevents the deletion of the parent component document.
| |
| PREVENT_BOTH_DELETE |
Prevents the deletion of both the parent and child component documents.
| |
| ALLOW_BOTH_DELETE |
Allows the deletion of both the parent and child component documents.
|