public static enum AlfrescoTransactionSupport.TxnReadState extends Enum<AlfrescoTransactionSupport.TxnReadState>
Enum Constant and Description |
---|
TXN_NONE
No transaction is active
|
TXN_READ_ONLY
The current transaction is read-only
|
TXN_READ_WRITE
The current transaction supports writes
|
Modifier and Type | Method and Description |
---|---|
static AlfrescoTransactionSupport.TxnReadState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AlfrescoTransactionSupport.TxnReadState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AlfrescoTransactionSupport.TxnReadState TXN_NONE
public static final AlfrescoTransactionSupport.TxnReadState TXN_READ_ONLY
public static final AlfrescoTransactionSupport.TxnReadState TXN_READ_WRITE
public static AlfrescoTransactionSupport.TxnReadState[] values()
for (AlfrescoTransactionSupport.TxnReadState c : AlfrescoTransactionSupport.TxnReadState.values()) System.out.println(c);
public static AlfrescoTransactionSupport.TxnReadState valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2005–2017 Alfresco Software. All rights reserved.