Enum Class EntityItem.Status
- All Implemented Interfaces:
Serializable,Comparable<EntityItem.Status>,Constable
- Enclosing class:
- EntityItem
Resulting status of an operation.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA record was deleted.The proposed change was tried but failed.The proposed change was tried but failed.A new record was inserted.Connector has started processing but not yet finished.An existing record was updated.The data have been placed into the content system. -
Method Summary
Modifier and TypeMethodDescriptionTextual message describing this status in general.static EntityItem.StatusReturns the enum constant of this class with the specified name.static EntityItem.Status[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DELETED
A record was deleted. -
EXCEPTION
The proposed change was tried but failed. A rollback could not be accomplished or failed. -
FAILED
The proposed change was tried but failed. A rollback was successful. -
INSERTED
A new record was inserted. Probably a new identifier was generated and can be read via value.getIdentifier(). This may be the result of an UPDATE or UPSERT operation. -
PROCESSING
Connector has started processing but not yet finished. E.g. Database transaction was started BEGIN but COMMIT has not completed yet. -
UPDATED
An existing record was updated. Identifier will be the same, but value.getVersion() may have been changed. This may be the result of an UPDATE or UPSERT operation. -
UPSERTED
The data have been placed into the content system. We have no information whether the entry was updated or inserted or whether we have a new identifier.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
getMessage
Textual message describing this status in general.- Returns:
- message
-