Package org.camunda.bpm.client.task
Class SortingDto
java.lang.Object
org.camunda.bpm.client.task.SortingDto
DTO that encapsulates the sorting parameters used for making requests against the fetch and lock API.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected static SortingDto
Static factory method to create aSortingDto
from a givenOrderingConfig.OrderingProperty
.static SortingDto
Static factory method to create aSortingDto
from a field and its order.void
void
setSortOrder
(String sortOrder)
-
Field Details
-
sortBy
-
sortOrder
-
-
Constructor Details
-
SortingDto
public SortingDto()
-
-
Method Details
-
getSortBy
-
setSortBy
-
getSortOrder
-
setSortOrder
-
of
Static factory method to create aSortingDto
from a field and its order.- Parameters:
sortBy
- the string representation of the given fieldsortOrder
- the string representation of the given order to use for the associated field- Returns:
- the result
SortingDto
-
fromOrderingProperty
Static factory method to create aSortingDto
from a givenOrderingConfig.OrderingProperty
.
-