Class BpmQuerySorting


  • public class BpmQuerySorting
    extends java.lang.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 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.
      • 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:
        equals in class java.lang.Object
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

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

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object