Interface ContentQueryOrderByClause
-
public interface ContentQueryOrderByClause
An ordering-clause used to specifyContentQuery
ordering.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ContentQueryOrderByClause
asc()
Sets order direction to be ascending.ContentQueryOrderByClause
desc()
Sets order direction to be descending.ContentQueryOrder
getOrder()
Returns current order direction.ContentQueryOrderByClause
ignoreCase()
Specifies that ordering shall ignore case of values, and be case-insensitive.ContentQueryOrderByClause
nullsFirst()
Specifies that nulls shall sort prior to other values.ContentQueryOrderByClause
nullsLast()
Specifies that nulls shall sort after other values.ContentQueryOrderByClause
observeCase()
Specifies that ordering shall observe case of values, and be case-sensitive.ContentQueryOrderByClause
order(ContentQueryOrder order)
Sets order direction.ContentQueryOrderByClause
order(String order)
Sets order direction.
-
-
-
Method Detail
-
getOrder
ContentQueryOrder getOrder()
Returns current order direction.- Returns:
- current order direction
-
order
ContentQueryOrderByClause order(ContentQueryOrder order)
Sets order direction.- Parameters:
order
- string representation of new order direction- Returns:
- this ContentQueryOrderByClause
-
order
ContentQueryOrderByClause order(String order)
Sets order direction.- Parameters:
order
- new order direction- Returns:
- this ContentQueryOrderByClause
-
asc
ContentQueryOrderByClause asc()
Sets order direction to be ascending.- Returns:
- this ContentQueryOrderByClause
-
desc
ContentQueryOrderByClause desc()
Sets order direction to be descending.- 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
-
-