Package com.priint.pubserver.bpm.model
Class BpmQuerySorting
- java.lang.Object
-
- com.priint.pubserver.bpm.model.BpmQuerySorting
-
public class BpmQuerySorting extends java.lang.ObjectA 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
Constructors Constructor Description BpmQuerySorting()A Object that specifies one ordering.BpmQuerySorting(java.lang.String sortBy, java.lang.String sortOrder, TaskQuerySortingParameters parameters)A Object that specifies one ordering.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)TaskQuerySortingParametersgetParameters()java.lang.StringgetSortBy()java.lang.StringgetSortOrder()inthashCode()voidsetParameters(TaskQuerySortingParameters parameters)voidsetSortBy(java.lang.String sortBy)voidsetSortOrder(java.lang.String sortOrder)java.lang.StringtoString()
-
-
-
Constructor Detail
-
BpmQuerySorting
public BpmQuerySorting(java.lang.String sortBy, java.lang.String sortOrder, TaskQuerySortingParameters parameters)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 Detail
-
getSortBy
public java.lang.String 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
public java.lang.String getSortOrder()
- Returns:
- Sort the results in a given order. Values may be asc for ascending order or desc for descending order.
-
getParameters
public TaskQuerySortingParameters getParameters()
- Returns:
- Mandatory when sortBy is either processVariable, executionVariable, taskVariable, caseExecutionVariable, or caseInstanceVariable.
TaskQuerySortingParameters
-
setSortBy
public void setSortBy(java.lang.String sortBy)
- 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
public void setSortOrder(java.lang.String sortOrder)
- Parameters:
sortOrder- - Mandatory. Sort the results in a given order. Values may be asc for ascending order or desc for descending order.
-
setParameters
public void setParameters(TaskQuerySortingParameters parameters)
- Parameters:
parameters- - Mandatory when sortBy is either processVariable, executionVariable, taskVariable, caseExecutionVariable, or caseInstanceVariable.TaskQuerySortingParameters
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-