Enum QueryExecutor.QueryParams
- java.lang.Object
-
- java.lang.Enum<QueryExecutor.QueryParams>
-
- org.nuxeo.ecm.restapi.server.jaxrs.search.QueryExecutor.QueryParams
-
- All Implemented Interfaces:
Serializable
,Comparable<QueryExecutor.QueryParams>
- Enclosing class:
- QueryExecutor
public static enum QueryExecutor.QueryParams extends Enum<QueryExecutor.QueryParams>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CURRENT_PAGE_INDEX
MAX_RESULTS
ORDERED_PARAMS
PAGE_SIZE
QUERY
SORT_BY
SORT_ORDER
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static QueryExecutor.QueryParams
valueOf(String name)
Returns the enum constant of this type with the specified name.static QueryExecutor.QueryParams[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PAGE_SIZE
public static final QueryExecutor.QueryParams PAGE_SIZE
-
CURRENT_PAGE_INDEX
public static final QueryExecutor.QueryParams CURRENT_PAGE_INDEX
-
MAX_RESULTS
public static final QueryExecutor.QueryParams MAX_RESULTS
-
SORT_BY
public static final QueryExecutor.QueryParams SORT_BY
-
SORT_ORDER
public static final QueryExecutor.QueryParams SORT_ORDER
-
ORDERED_PARAMS
public static final QueryExecutor.QueryParams ORDERED_PARAMS
-
QUERY
public static final QueryExecutor.QueryParams QUERY
-
-
Method Detail
-
values
public static QueryExecutor.QueryParams[] 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 (QueryExecutor.QueryParams c : QueryExecutor.QueryParams.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static QueryExecutor.QueryParams 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
-
-