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 Detail

      • stringField

        TaskQuery.OrderByColumnQuery stringField​(String fieldName)

        Orders the result of the query by the custom String field fieldName.

        Parameters:
        fieldName - Name of the custom String field.
        Returns:
        Query for further composition.
        API:
        This public API is available in IvyScript and Java. It has the visibility EXPERT.
      • numberField

        TaskQuery.OrderByColumnQuery numberField​(String fieldName)

        Orders the result of the query by the custom Number field fieldName.

        Parameters:
        fieldName - Name of the custom Number field.
        Returns:
        Query for further composition.
        API:
        This public API is available in IvyScript and Java. It has the visibility EXPERT.
      • timestampField

        TaskQuery.OrderByColumnQuery timestampField​(String fieldName)

        Orders the result of the query by the custom Timestamp field fieldName.

        Parameters:
        fieldName - Name of the custom Timestamp field.
        Returns:
        Query for further composition.
        API:
        This public API is available in IvyScript and Java. It has the visibility EXPERT.