|
Project: stp | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
ObjectEnum<CqAction.Type>
CqAction.Type
public static enum CqAction.Type
The type of an action, which places certain restrictions on its use.
Enum Constant Summary | |
---|---|
BASE
This type of action is used for defining base hook programs |
|
CHANGE_STATE
This type of action changes the state of a record (and other fields, too) |
|
COPY
This type of action copies a record with it's children, preserving the state of the record. |
|
DELETE
This type of action physically removes a record from the database, as opposed to putting it into a "deleted" state. |
|
DUPLICATE
This type of action marks a record as a duplicate of another. |
|
IMPORT
This type of action creates a new record whose content has been import from another database |
|
MODIFY
This type of action changes an existing record without changing its state |
|
NIL
When a value for this type is not defined. |
|
RECORD_SCRIPT_ALIAS
For this type of action, the entire body is specified by a record-script. |
|
SUBMIT
This type of action creates a new record |
|
UNDUPLICATE
This type of action removes the DUPLICATE attribute from a record. |
Method Summary | |
---|---|
static CqAction.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static CqAction.Type[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final CqAction.Type BASE
public static final CqAction.Type CHANGE_STATE
public static final CqAction.Type COPY
public static final CqAction.Type DELETE
public static final CqAction.Type DUPLICATE
Note. This type of action requires an argument named "original". The value of this argument must be a proxy for the record that has been duplicated.
public static final CqAction.Type IMPORT
public static final CqAction.Type MODIFY
public static final CqAction.Type NIL
public static final CqAction.Type RECORD_SCRIPT_ALIAS
public static final CqAction.Type SUBMIT
public static final CqAction.Type UNDUPLICATE
Method Detail |
---|
public static CqAction.Type 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 nullpublic static CqAction.Type[] values()
for (CqAction.Type c : CqAction.Type.values()) System.out.println(c);
|
Generated Mon 30-Jan-2017 04:26 PM | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |