Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.core.storage.sql
Enum SelectionType

java.lang.Object
  extended by java.lang.Enum<SelectionType>
      extended by 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
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
 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
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.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

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

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 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 name
NullPointerException - if the argument is null

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.