|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<Fragment.State> org.nuxeo.ecm.core.storage.sql.Fragment.State
public static enum Fragment.State
The possible states of a fragment.
Enum Constant Summary | |
---|---|
ABSENT
The fragment has been read and found to be absent in the database. |
|
CREATED
The fragment does not exist in the database and will be inserted upon save. |
|
DELETED
The fragment has been deleted. |
|
DELETED_DEPENDENT
The fragment has been deleted as a consequence of another fragment being deleted (cascade). |
|
DETACHED
The fragment is not attached to a persistence context. |
|
INVALIDATED_DELETED
The fragment has been invalidated by a deletion. |
|
INVALIDATED_MODIFIED
The fragment has been invalidated by a modification or creation. |
|
MODIFIED
The fragment has been modified. |
|
PRISTINE
The fragment exists in the database but hasn't been changed yet. |
Method Summary | |
---|---|
static Fragment.State |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Fragment.State[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, 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 Fragment.State DETACHED
public static final Fragment.State ABSENT
null
). It lives in the
context's pristine map. Upon modification, the state will change to
CREATED
.
public static final Fragment.State PRISTINE
MODIFIED
.
public static final Fragment.State CREATED
PRISTINE
.
public static final Fragment.State MODIFIED
PRISTINE
.
public static final Fragment.State DELETED
DETACHED
.
public static final Fragment.State DELETED_DEPENDENT
DELETED
fragment, and the state will change to
DETACHED
.
public static final Fragment.State INVALIDATED_MODIFIED
public static final Fragment.State INVALIDATED_DELETED
Method Detail |
---|
public static Fragment.State[] values()
for (Fragment.State c : Fragment.State.values()) System.out.println(c);
public static Fragment.State 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
|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |