Provides a set of constants that identify the action to be taken with respect to an object-valued
property when an attempt is made to delete the object that contains the property.
Namespace:
FileNet.Api.ConstantsAssembly: FileNet.Api (in FileNet.Api.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Enumeration DeletionAction |
C# |
---|
public enum DeletionAction |
Visual C++ |
---|
public enum class DeletionAction |
JavaScript |
---|
FileNet.Api.Constants.DeletionAction = function(); FileNet.Api.Constants.DeletionAction.createEnum('FileNet.Api.Constants.DeletionAction', false); |
Members
Type | Member name | Description |
---|---|---|
PREVENT |
Specifies that, if a given object-valued property has a value (references one or more objects), the deletion operation
of the object containing the property will be prevented until all of the objects that the property references are deleted first.
For example because a folder's SubFolders property is set to PREVENT, you will not be able to delete a folder
until you first delete all of the folders referenced by its SubFolders property.
| |
CASCADE |
Specifies that, if the object containing a given object-valued property is deleted, any objects referenced
by the property will also be deleted. For example because the DeletionAction property of a document's
Annotations property is set to CASCADE, if you delete a document the Content Engine
automatically deletes all of the annotation objects referenced by its Annotations property.
| |
NONE |
Specifies that, if an attempt is made to delete the object containing a given object-valued property,
no special action will be taken; objects referenced by the property will not be deleted, nor
will the object containing the property be prevented from being deleted.
|