Package | Description |
---|---|
com.fatwire.assetapi.data | |
com.fatwire.assetapi.data.search |
Contains all interfaces and classes required for use and extension of the Searcher API.
|
Modifier and Type | Method and Description |
---|---|
OrderBuilder.OrderChainBuilder<?> |
DefaultBuildersFactory.newOrderChain(SortDirection direction, String sortField, String... more) |
OrderBuilder.OrderChainBuilder<?> |
BuildersFactory.newOrderChain(SortDirection direction, String sortField, String... more)
Returns a new
OrderBuilder.OrderChainBuilder instance which can be further built upon for creating a list orders for using in a search query. |
protected OrderBuilder.OrderChainBuilder<?> |
BaseController.newOrderChain(SortDirection direction, String sortField, String... more)
Returns a new
OrderBuilder.OrderChainBuilder instance which can be further built upon for creating a list orders for using in a search query. |
Modifier and Type | Method and Description |
---|---|
SortDirection |
Order.getDirection()
Returns the direction for this order.
|
static SortDirection |
SortDirection.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SortDirection[] |
SortDirection.values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static Order |
SearchHelper.newOrder(SortDirection direction, String sortField)
Returns an
Order instance for the specified field with the specified sort direction. |
static OrderBuilder.OrderChainBuilder<?> |
SearchHelper.newOrderChain(SortDirection direction, String sortField, String... more)
Returns a sort order building chain with the specified fields in sequence, with the specified sort direction.
|
static Orders |
SearchHelper.newOrders(SortDirection direction, String sortField, String... more)
Returns a sort order which includes the specified fields in sequence, with the specified sort direction.
|
T |
OrderBuilder.orderBy(SortDirection sortDirection, String sortField, String... moreFields)
Specified sorting strategy on results returned by a search.
|
void |
Order.setDirection(SortDirection direction)
Sets the direction for this order.
|
T |
OrderBuilder.OrderChainBuilder.thenBy(SortDirection sortDirection, String sortField, String... moreFields)
Cascades sorting orders on the query built by this builder.
|