Package com.priint.pubserver.bpm.model
Class BpmQuerySorting
java.lang.Object
com.priint.pubserver.bpm.model.BpmQuerySorting
A Object that specifies one ordering. The position in the array identifies the rank of an ordering, i.e., whether it is primary, secondary, etc.
parameters Mandatory when sortBy is either processVariable, executionVariable, taskVariable, caseExecutionVariable, or caseInstanceVariable. Must be a JSON object with the properties variable and type where variable is a variable name and type is the name of a variable value type.
-
Constructor Summary
ConstructorsConstructorDescriptionA Object that specifies one ordering.BpmQuerySorting(String sortBy, String sortOrder, TaskQuerySortingParameters parameters) A Object that specifies one ordering. -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleaninthashCode()voidsetParameters(TaskQuerySortingParameters parameters) voidvoidsetSortOrder(String sortOrder) toString()
-
Constructor Details
-
BpmQuerySorting
A Object that specifies one ordering. The position in the array identifies the rank of an ordering, i.e., whether it is primary, secondary, etc. -
BpmQuerySorting
public BpmQuerySorting()A Object that specifies one ordering. The position in the array identifies the rank of an ordering, i.e., whether it is primary, secondary, etc.
-
-
Method Details
-
getSortBy
- Returns:
- Sort the results lexicographically by a given criterion. Valid values are instanceId, caseInstanceId, dueDate, executionId, caseExecutionId,assignee, created, lastUpdated, description, id, name, nameCaseInsensitive, priority, processVariable, executionVariable, taskVariable, caseExecutionVariable, and caseInstanceVariable.
-
getSortOrder
- Returns:
- Sort the results in a given order. Values may be asc for ascending order or desc for descending order.
-
getParameters
- Returns:
- Mandatory when sortBy is either processVariable, executionVariable, taskVariable, caseExecutionVariable, or caseInstanceVariable.
TaskQuerySortingParameters
-
setSortBy
- Parameters:
sortBy- - Mandatory. Sort the results lexicographically by a given criterion. Valid values are instanceId, caseInstanceId, dueDate, executionId, caseExecutionId,assignee, created, lastUpdated, description, id, name, nameCaseInsensitive, priority, processVariable, executionVariable, taskVariable, caseExecutionVariable, and caseInstanceVariable.
-
setSortOrder
- Parameters:
sortOrder- - Mandatory. Sort the results in a given order. Values may be asc for ascending order or desc for descending order.
-
setParameters
- Parameters:
parameters- - Mandatory when sortBy is either processVariable, executionVariable, taskVariable, caseExecutionVariable, or caseInstanceVariable.TaskQuerySortingParameters
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-