|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<DeleteOpts.Op>
ome.services.delete.DeleteOpts.Op
public static enum DeleteOpts.Op
Enum Constant Summary | |
---|---|
FORCE
Permits the use of force to remove objects even against the permission system. |
|
HARD
Default operation. |
|
KEEP
Prevents the delete from being carried out. |
|
NULL
Nulls a particular field of the target rather than deleting it. |
|
ORPHAN
|
|
REAP
|
|
SOFT
Delete is attempted, but the exceptions which would make a HARD operation fail lead only to warnings. |
Method Summary | |
---|---|
static DeleteOpts.Op |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static DeleteOpts.Op[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final DeleteOpts.Op HARD
ConstraintViolationException
or
similar, then the failure will cause the entire command to fail as an
error.
public static final DeleteOpts.Op SOFT
HARD
operation fail lead only to warnings.
public static final DeleteOpts.Op KEEP
AnnotationDeleteSpec
this value may be
vetoed by DeleteSpec.overrideKeep()
.
public static final DeleteOpts.Op FORCE
public static final DeleteOpts.Op REAP
public static final DeleteOpts.Op ORPHAN
public static final DeleteOpts.Op NULL
Method Detail |
---|
public static DeleteOpts.Op[] values()
for (DeleteOpts.Op c : DeleteOpts.Op.values()) System.out.println(c);
public static DeleteOpts.Op valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
Version: Beta4.2.1-r8614-Beta4.2-b41
Copyright © 2009 The University of Dundee. All Rights Reserved.