Interface ContentQueryOrderByClause


  • public interface ContentQueryOrderByClause
    An ordering-clause used to specify ContentQuery ordering.
    • Method Detail

      • getOrder

        ContentQueryOrder getOrder()
        Returns current order direction.
        Returns:
        current order direction
      • order

        ContentQueryOrderByClause order​(String order)
        Sets order direction.
        Parameters:
        order - new order direction
        Returns:
        this ContentQueryOrderByClause
      • ignoreCase

        ContentQueryOrderByClause ignoreCase()
        Specifies that ordering shall ignore case of values, and be case-insensitive.
        Returns:
        this ContentQueryOrderByClause
      • observeCase

        ContentQueryOrderByClause observeCase()
        Specifies that ordering shall observe case of values, and be case-sensitive.
        Returns:
        this ContentQueryOrderByClause
      • nullsFirst

        ContentQueryOrderByClause nullsFirst()
        Specifies that nulls shall sort prior to other values.

        Note that for a descending sort, nulls will then appear last.

        Returns:
        this ContentQueryOrderByClause
      • nullsLast

        ContentQueryOrderByClause nullsLast()
        Specifies that nulls shall sort after other values.

        Note that for an ascending sort, nulls will then appear first.

        Returns:
        this ContentQueryOrderByClause