public enum TransactionLevels extends java.lang.Enum<TransactionLevels>
Java class for transactionLevels.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="transactionLevels">
<restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
<enumeration value="none"/>
<enumeration value="request"/>
<enumeration value="resource"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
NONE
No explicit transactions will be opened for the processing.
|
REQUEST
The complete request will be executed as one transaction.
|
RESOURCE
Every top-level resource (subelement of portal) will be processed in its own transaction.
|
| Modifier and Type | Method and Description |
|---|---|
static TransactionLevels |
fromValue(java.lang.String v) |
java.lang.String |
value() |
static TransactionLevels |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TransactionLevels[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransactionLevels NONE
public static final TransactionLevels REQUEST
public static final TransactionLevels RESOURCE
public static TransactionLevels[] values()
for (TransactionLevels c : TransactionLevels.values()) System.out.println(c);
public static TransactionLevels valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant
with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String value()
public static TransactionLevels fromValue(java.lang.String v)