@StableMinor(version="12.5", sinceVersion="10.4") public static enum ContentTableSource.LockStrategy extends Enum<ContentTableSource.LockStrategy>
ContentLocale
's locks during content operation.ContentTableSource.addData(Object)
,
ContentTableSource.updateData(Object, LockStrategy)
,
ContentLocale.getLockType()
,
ContentLocale.getLockedBy()
,
ContentLocale.getLockedDate()
Enum Constant and Description |
---|
CHECK
The existent locks are to be checked.
|
CHECK_AND_RELEASE_AUTOMATIC_ON_COMMIT
Same as
CHECK , but if the lock type is
LockType.AUTOMATIC , it is to be released after the operation is done and the current transaction is
committed. |
IGNORE
The locks are to be ignored and unaffected.
|
Modifier and Type | Method and Description |
---|---|
static ContentTableSource.LockStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ContentTableSource.LockStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ContentTableSource.LockStrategy IGNORE
public static final ContentTableSource.LockStrategy CHECK
public static final ContentTableSource.LockStrategy CHECK_AND_RELEASE_AUTOMATIC_ON_COMMIT
CHECK
, but if the lock type
is
LockType.AUTOMATIC
, it is to be released after the operation is done and the current transaction is
committed.public static ContentTableSource.LockStrategy[] values()
for (ContentTableSource.LockStrategy c : ContentTableSource.LockStrategy.values()) System.out.println(c);
public static ContentTableSource.LockStrategy 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 nullLumisXP 12.5.0.200928 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.