Package org.cyclos.impl.locks
Enum LockType
- java.lang.Object
-
- java.lang.Enum<LockType>
-
- org.cyclos.impl.locks.LockType
-
- All Implemented Interfaces:
Serializable,Comparable<LockType>
public enum LockType extends Enum<LockType>
Contains the possible locks
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACCOUNTACCOUNT_CREATIONACCOUNT_FEE_FINALIZATIONAGREEMENTAPPLICATIONCONTACTIMAGE_OWNEROIDC_KEYSOIDC_PAYMENTOUTBOUND_SMSSTORED_FILETASK_EXECUTIONTICKETTRANSACTION_AUTHORIZATIONUNIQUE_VALIDATIONVOUCHER_BUYINGVOUCHER_TYPEWEBSHOP_PRODUCT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description LockKeykey(Long id)LockKeykey(String id)LockKeynullKey()static LockTypevalueOf(String name)Returns the enum constant of this type with the specified name.static LockType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ACCOUNT
public static final LockType ACCOUNT
-
APPLICATION
public static final LockType APPLICATION
-
IMAGE_OWNER
public static final LockType IMAGE_OWNER
-
OUTBOUND_SMS
public static final LockType OUTBOUND_SMS
-
STORED_FILE
public static final LockType STORED_FILE
-
TICKET
public static final LockType TICKET
-
VOUCHER_BUYING
public static final LockType VOUCHER_BUYING
-
VOUCHER_TYPE
public static final LockType VOUCHER_TYPE
-
WEBSHOP_PRODUCT
public static final LockType WEBSHOP_PRODUCT
-
UNIQUE_VALIDATION
public static final LockType UNIQUE_VALIDATION
-
TASK_EXECUTION
public static final LockType TASK_EXECUTION
-
AGREEMENT
public static final LockType AGREEMENT
-
CONTACT
public static final LockType CONTACT
-
OIDC_KEYS
public static final LockType OIDC_KEYS
-
OIDC_PAYMENT
public static final LockType OIDC_PAYMENT
-
ACCOUNT_CREATION
public static final LockType ACCOUNT_CREATION
-
TRANSACTION_AUTHORIZATION
public static final LockType TRANSACTION_AUTHORIZATION
-
ACCOUNT_FEE_FINALIZATION
public static final LockType ACCOUNT_FEE_FINALIZATION
-
-
Method Detail
-
values
public static LockType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (LockType c : LockType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LockType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
nullKey
public LockKey nullKey()
-
-