Enum Class SelectionType

java.lang.Object
java.lang.Enum<SelectionType>
org.nuxeo.ecm.core.storage.sql.SelectionType
All Implemented Interfaces:
Serializable, Comparable<SelectionType>, Constable

public enum SelectionType extends Enum<SelectionType>
The different types of selections available, and information about what they correspond to in the database.
  • Enum Constant Details

    • CHILDREN

      public static final SelectionType CHILDREN
      Selection for the children of a given parent id.
    • SERIES_VERSIONS

      public static final SelectionType SERIES_VERSIONS
      Selection for the versions of a given version series.
    • SERIES_PROXIES

      public static final SelectionType SERIES_PROXIES
      Selection for the proxies of a given version series.
    • TARGET_PROXIES

      public static final SelectionType TARGET_PROXIES
      Selection for the proxies of a given target.
  • Field Details

    • tableName

      public final String tableName
      The table name for this selection.
    • selKey

      public final String selKey
      The key for the selection id.

      For instance for a children selection this is the parent id.

    • filterKey

      public final String filterKey
      The key to use to additionally filter on fragment values.

      For instance for a children selection this is the child name.

    • criterionKey

      public final String criterionKey
      The key to use to additionally filter on criterion.

      For instance for a children selection this is the complex property flag.

      This can be null for no criterion filtering.

    • invalidationTableName

      public final String invalidationTableName
      Pseudo-table to use to notify about selection invalidation.
  • Method Details

    • values

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