Enum Class EntityItem.Status

java.lang.Object
java.lang.Enum<EntityItem.Status>
com.priint.pubserver.plugin.entitydata.EntityItem.Status
All Implemented Interfaces:
Serializable, Comparable<EntityItem.Status>, Constable
Enclosing class:
EntityItem

public static enum EntityItem.Status extends Enum<EntityItem.Status>
Resulting status of an operation.
  • Enum Constant Details

    • DELETED

      public static final EntityItem.Status DELETED
      A record was deleted.
    • EXCEPTION

      public static final EntityItem.Status EXCEPTION
      The proposed change was tried but failed. A rollback could not be accomplished or failed.
    • FAILED

      public static final EntityItem.Status FAILED
      The proposed change was tried but failed. A rollback was successful.
    • INSERTED

      public static final EntityItem.Status 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

      public static final EntityItem.Status PROCESSING
      Connector has started processing but not yet finished. E.g. Database transaction was started BEGIN but COMMIT has not completed yet.
    • UPDATED

      public static final EntityItem.Status 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

      public static final EntityItem.Status 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

      public static EntityItem.Status[] 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

      public static EntityItem.Status valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getMessage

      public String getMessage()
      Textual message describing this status in general.
      Returns:
      message