Class BpmQuerySorting

java.lang.Object
com.priint.pubserver.bpm.model.BpmQuerySorting

public class BpmQuerySorting extends Object
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 Details

    • BpmQuerySorting

      public BpmQuerySorting(String sortBy, 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 Details

    • getSortBy

      public 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 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(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(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(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object