Package pro.taskana.workbasket.rest
Enum WorkbasketController.WorkbasketQuerySortBy
- java.lang.Object
-
- java.lang.Enum<WorkbasketController.WorkbasketQuerySortBy>
-
- pro.taskana.workbasket.rest.WorkbasketController.WorkbasketQuerySortBy
-
- All Implemented Interfaces:
Serializable,Comparable<WorkbasketController.WorkbasketQuerySortBy>,QuerySortBy<pro.taskana.workbasket.api.WorkbasketQuery>
- Enclosing class:
- WorkbasketController
public static enum WorkbasketController.WorkbasketQuerySortBy extends Enum<WorkbasketController.WorkbasketQuerySortBy> implements QuerySortBy<pro.taskana.workbasket.api.WorkbasketQuery>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CUSTOM_1CUSTOM_2CUSTOM_3CUSTOM_4DESCRIPTIONDOMAINKEYNAMEORG_LEVEL_1ORG_LEVEL_2ORG_LEVEL_3ORG_LEVEL_4OWNERTYPE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapplySortByForQuery(pro.taskana.workbasket.api.WorkbasketQuery query, pro.taskana.common.api.BaseQuery.SortDirection sortDirection)static WorkbasketController.WorkbasketQuerySortByvalueOf(String name)Returns the enum constant of this type with the specified name.static WorkbasketController.WorkbasketQuerySortBy[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NAME
public static final WorkbasketController.WorkbasketQuerySortBy NAME
-
KEY
public static final WorkbasketController.WorkbasketQuerySortBy KEY
-
OWNER
public static final WorkbasketController.WorkbasketQuerySortBy OWNER
-
TYPE
public static final WorkbasketController.WorkbasketQuerySortBy TYPE
-
DESCRIPTION
public static final WorkbasketController.WorkbasketQuerySortBy DESCRIPTION
-
CUSTOM_1
public static final WorkbasketController.WorkbasketQuerySortBy CUSTOM_1
-
CUSTOM_2
public static final WorkbasketController.WorkbasketQuerySortBy CUSTOM_2
-
CUSTOM_3
public static final WorkbasketController.WorkbasketQuerySortBy CUSTOM_3
-
CUSTOM_4
public static final WorkbasketController.WorkbasketQuerySortBy CUSTOM_4
-
DOMAIN
public static final WorkbasketController.WorkbasketQuerySortBy DOMAIN
-
ORG_LEVEL_1
public static final WorkbasketController.WorkbasketQuerySortBy ORG_LEVEL_1
-
ORG_LEVEL_2
public static final WorkbasketController.WorkbasketQuerySortBy ORG_LEVEL_2
-
ORG_LEVEL_3
public static final WorkbasketController.WorkbasketQuerySortBy ORG_LEVEL_3
-
ORG_LEVEL_4
public static final WorkbasketController.WorkbasketQuerySortBy ORG_LEVEL_4
-
-
Method Detail
-
values
public static WorkbasketController.WorkbasketQuerySortBy[] 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 (WorkbasketController.WorkbasketQuerySortBy c : WorkbasketController.WorkbasketQuerySortBy.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static WorkbasketController.WorkbasketQuerySortBy 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
-
applySortByForQuery
public void applySortByForQuery(pro.taskana.workbasket.api.WorkbasketQuery query, pro.taskana.common.api.BaseQuery.SortDirection sortDirection)- Specified by:
applySortByForQueryin interfaceQuerySortBy<pro.taskana.workbasket.api.WorkbasketQuery>
-
-