Enum Class ReleaseProblem

java.lang.Object
java.lang.Enum<ReleaseProblem>
de.espirit.firstspirit.access.store.ReleaseProblem
All Implemented Interfaces:
Serializable, Comparable<ReleaseProblem>, java.lang.constant.Constable

public enum ReleaseProblem extends Enum<ReleaseProblem>
Representing various problems that can occur during a relase Used by ReleaseOperation
Since:
5.2.180606, 5.2.180702
  • Enum Constant Details

    • MISSING_PERMISSION

      public static final ReleaseProblem MISSING_PERMISSION
      Indicates that an element could not be released because of missing permission
      Since:
      5.2.180606, 5.2.180702
    • LOCK_FAILED

      public static final ReleaseProblem LOCK_FAILED
      Indicates that an element could not be released because it was locked within another session
      Since:
      5.2.180606, 5.2.180702
    • RELEASE_FAILED

      public static final ReleaseProblem RELEASE_FAILED
      Indicates a general problem that occured during the release, e.g. if an IO Exception occured or the element was not found. In that case have a look at the log for further information.
      Since:
      5.2.180606, 5.2.180702
    • RELEASE_UNSUPPORTED

      public static final ReleaseProblem RELEASE_UNSUPPORTED
      Indicates that an element does not support release
      Since:
      5.2.180606, 5.2.180702
    • MISSING_START_NODE

      public static final ReleaseProblem MISSING_START_NODE
      Indicates that a sitestorefolder has no start node after release
      Since:
      5.2.180606, 5.2.180702
    • NEVER_RELEASED_START_NODE

      public static final ReleaseProblem NEVER_RELEASED_START_NODE
      Indicates that the node is never released and is part of a start node path of a sitestore folder which is requested for release
      Release of the requested sitestore folder could cause broken navigation
      Since:
      5.2.180606, 5.2.180702
    • NEVER_RELEASED_PAGE

      public static final ReleaseProblem NEVER_RELEASED_PAGE
      Indicates that the page of the specified pageref is never released
      Since:
      5.2.180606, 5.2.180702
    • INVALID_STARTNODE_PATH

      public static final ReleaseProblem INVALID_STARTNODE_PATH
      Indicates that the sitestore folder has no valid start node path because elements in the start node path are never released.
      Since:
      5.2.180606, 5.2.180702
      See Also:
    • NEVER_RELEASED_DOCUMENTGROUP_ELEMENT

      public static final ReleaseProblem NEVER_RELEASED_DOCUMENTGROUP_ELEMENT
      Indicates that the node is never released and referenced in a documentgroup which is requested for release
      Since:
      5.2.180606, 5.2.180702
    • NEVER_RELEASED_SOURCE_SECTION

      public static final ReleaseProblem NEVER_RELEASED_SOURCE_SECTION
      Indicates that the source section of a section reference is never released
      Since:
      5.2.180606, 5.2.180702
    • INCOMPLETE_PARENT_PATH

      public static final ReleaseProblem INCOMPLETE_PARENT_PATH
      Indicates that an element of the parent path of a dependent node is never released. So the parent path of the dependent node is incomplete and therefore the node won't be reachable in release store after release.
      Example:
      PageStoreRoot
         `-- PageFolder (NEVER_RELEASED)
                 `-- Page (NEVER_RELEASED)
      
      SiteStoreRoot
         `-- PageRef (NEVER_RELEASED, based on Page)
       
      If server release is called with ensureAccessibility == false the Page could not be released because it won't be reachable in release store after release.
      Since:
      5.2.180606, 5.2.180702
    • VALIDATION_FAILED

      public static final ReleaseProblem VALIDATION_FAILED
      Indicates the validation of an object not to have passed for save or release relevant rules.
      Since:
      5.2.180606, 5.2.180702
  • Method Details

    • values

      public static ReleaseProblem[] 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 ReleaseProblem 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