Enum QueryObject.QueryParams
- java.lang.Object
-
- java.lang.Enum<QueryObject.QueryParams>
-
- org.nuxeo.ecm.restapi.server.jaxrs.QueryObject.QueryParams
-
- All Implemented Interfaces:
Serializable
,Comparable<QueryObject.QueryParams>
- Enclosing class:
- QueryObject
public static enum QueryObject.QueryParams extends Enum<QueryObject.QueryParams>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CURRENT_PAGE_INDEX
MAX_RESULTS
ORDERED_PARAMS
PAGE_SIZE
QUERY
QUICK_FILTERS
SORT_BY
SORT_ORDER
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static QueryObject.QueryParams
valueOf(String name)
Returns the enum constant of this type with the specified name.static QueryObject.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 QueryObject.QueryParams PAGE_SIZE
-
CURRENT_PAGE_INDEX
public static final QueryObject.QueryParams CURRENT_PAGE_INDEX
-
MAX_RESULTS
public static final QueryObject.QueryParams MAX_RESULTS
-
SORT_BY
public static final QueryObject.QueryParams SORT_BY
-
SORT_ORDER
public static final QueryObject.QueryParams SORT_ORDER
-
ORDERED_PARAMS
public static final QueryObject.QueryParams ORDERED_PARAMS
-
QUERY
public static final QueryObject.QueryParams QUERY
-
QUICK_FILTERS
public static final QueryObject.QueryParams QUICK_FILTERS
-
-
Method Detail
-
values
public static QueryObject.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 (QueryObject.QueryParams c : QueryObject.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 QueryObject.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
-
-