public final class DeletionAction
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static DeletionAction |
CASCADE
Specifies that, if the object containing a given object-valued property is deleted, any objects referenced
by the property will also be deleted.
|
static int |
CASCADE_AS_INT
An
int value associated with the CASCADE instance of this class. |
static DeletionAction |
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.
|
static int |
NONE_AS_INT
An
int value associated with the NONE instance of this class. |
static DeletionAction |
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.
|
static int |
PREVENT_AS_INT
An
int value associated with the PREVENT instance of this class. |
Modifier and Type | Method and Description |
---|---|
static DeletionAction |
getInstanceFromInt(int value)
Returns an instance of this class using its associated integer value.
|
int |
getValue()
Returns the internal integer value associated with a specific instance of this class.
|
java.lang.String |
toString()
Returns a
String representation of this enumeration instance. |
public static final int PREVENT_AS_INT
int
value associated with the PREVENT instance of this class. Consider using the static instances of this class instead of the associated int values. The int values risk binary incompatibility (but not source incompatibility) from release to release.public static final DeletionAction PREVENT
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.public static final int CASCADE_AS_INT
int
value associated with the CASCADE instance of this class. Consider using the static instances of this class instead of the associated int values. The int values risk binary incompatibility (but not source incompatibility) from release to release.public static final DeletionAction CASCADE
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.public static final int NONE_AS_INT
int
value associated with the NONE instance of this class. Consider using the static instances of this class instead of the associated int values. The int values risk binary incompatibility (but not source incompatibility) from release to release.public static final DeletionAction NONE
public int getValue()
getInstanceFromInt(int)
public java.lang.String toString()
String
representation of this enumeration instance.toString
in class java.lang.Object
public static DeletionAction getInstanceFromInt(int value)
value
- The integer value. (See the *_AS_INT fields.)EngineRuntimeException
- If an enumeration instance with the given
ordinal value does not exist.getValue()
© Copyright IBM Corporation 2006, 2015. All rights reserved.