Package org.nuxeo.ecm.core.storage.sql
Enum SelectionType
- java.lang.Object
-
- java.lang.Enum<SelectionType>
-
- org.nuxeo.ecm.core.storage.sql.SelectionType
-
- All Implemented Interfaces:
Serializable
,Comparable<SelectionType>
public enum SelectionType extends Enum<SelectionType>
The different types of selections available, and information about what they correspond to in the database.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CHILDREN
Selection for the children of a given parent id.SERIES_PROXIES
Selection for the proxies of a given version series.SERIES_VERSIONS
Selection for the versions of a given version series.TARGET_PROXIES
Selection for the proxies of a given target.
-
Field Summary
Fields Modifier and Type Field Description String
criterionKey
The key to use to additionally filter on criterion.String
filterKey
The key to use to additionally filter on fragment values.String
invalidationTableName
Pseudo-table to use to notify about selection invalidation.String
selKey
The key for the selection id.String
tableName
The table name for this selection.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SelectionType
valueOf(String name)
Returns the enum constant of this type with the specified name.static SelectionType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
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 Detail
-
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 Detail
-
values
public static SelectionType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SelectionType c : SelectionType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SelectionType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
-