|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<DbEntityState>
org.camunda.bpm.engine.impl.db.entitymanager.cache.DbEntityState
public enum DbEntityState
| Enum Constant Summary | |
|---|---|
DELETED_MERGED
A MERGED object which may exists in the database and is set to be deleted by the current session. |
|
DELETED_PERSISTENT
A persistent object which has been loaded into this session and will be deleted with the next flush. |
|
DELETED_TRANSIENT
A transient object which does not exist in the database but has been created and deleted in the current session. |
|
MERGED
A persistent object which may exist in the database but which has not been loaded into the current session form the database. |
|
PERSISTENT
A persistent object has been loaded from the database by the current session. |
|
TRANSIENT
A transient object does not exist in the database and has been created by the current session. |
|
| Method Summary | |
|---|---|
static DbEntityState |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static DbEntityState[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final DbEntityState TRANSIENT
PERSISTENT with the next flush.
public static final DbEntityState PERSISTENT
public static final DbEntityState MERGED
PERSISTENT.
public static final DbEntityState DELETED_TRANSIENT
public static final DbEntityState DELETED_PERSISTENT
public static final DbEntityState DELETED_MERGED
MERGED object which may exists in the database and is set to be deleted by the current session.
It will be removed from the cache at the next flush.
| Method Detail |
|---|
public static DbEntityState[] values()
for (DbEntityState c : DbEntityState.values()) System.out.println(c);
public static DbEntityState 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 null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||