Package ch.ivyteam.ivy.workflow.query
Interface TaskQuery.ICustomFieldOrderBy
- Enclosing class:
- TaskQuery
public static interface TaskQuery.ICustomFieldOrderBy
Provides ordering functionality for custom fields of
ITask
.
Example:
TaskQuery.create()
.orderBy()
.customField().stringField("CostCenter")
.customField().stringField("CostGroup").descending();
- API:
- This is a public API.
-
Method Summary
Modifier and TypeMethodDescriptionnumberField
(String fieldName) Orders the result of the query by the customNumber
fieldfieldName
.stringField
(String fieldName) Orders the result of the query by the customString
fieldfieldName
.timestampField
(String fieldName) Orders the result of the query by the customTimestamp
fieldfieldName
.
-
Method Details
-
stringField
Orders the result of the query by the custom
String
fieldfieldName
.- Parameters:
fieldName
- Name of the customString
field.- Returns:
- Query for further composition.
- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
numberField
Orders the result of the query by the custom
Number
fieldfieldName
.- Parameters:
fieldName
- Name of the customNumber
field.- Returns:
- Query for further composition.
- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
timestampField
Orders the result of the query by the custom
Timestamp
fieldfieldName
.- Parameters:
fieldName
- Name of the customTimestamp
field.- Returns:
- Query for further composition.
- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-