Package | Description |
---|---|
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 |
---|---|
Orders |
OrderBuilder.build()
Returns the order built by this builder.
|
Orders |
OrderBuilder.OrderChainBuilder.build()
Returns the complete sequence of orders constructed by this builder.
|
Orders |
Query.getOrders()
Returns the order sequence set into this query.
|
static Orders |
SearchHelper.newOrders(Order orderBy,
Order... thenBy)
Returns a sort order which includes the specified
Order instances, keeping the sequence same. |
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.
|
static Orders |
SearchHelper.newOrders(String sortField,
String... more)
Returns a sort order which includes the specified fields in sequence, with the default sort direction.
|
Modifier and Type | Method and Description |
---|---|
boolean |
Orders.addAll(Orders e)
Adds the specified sequence of orders at the end of this sequence.
|
static Searcher |
SearchHelper.newFieldSearcher(String select,
Filter where,
Orders orderBy)
Returns a searcher instance with only the selection fields, a filter and sort orders set.
|
static Searcher |
SearchHelper.newFieldSearcher(String select,
Orders orderBy)
Returns a searcher instance with only the selection fields and sort orders set.
|
static Searcher |
SearchHelper.newFieldSearcherForType(String select,
String from,
Filter where,
Orders orderBy)
Returns a searcher instance with only the selection fields, the asset type, a filter and sort orders set.
|
static Searcher |
SearchHelper.newFieldSearcherForType(String select,
String from,
Orders orderBy)
Returns a searcher instance with only the selection fields, the asset type and sort orders set.
|
static Searcher |
SearchHelper.newFieldSearcherForTypeInSite(String select,
String from,
String in,
Filter where,
Orders orderBy)
Returns a searcher instance with the selection fields, the asset type, the site name, a filter and sort orders set.
|
static Searcher |
SearchHelper.newFieldSearcherForTypeInSite(String select,
String from,
String in,
Orders orderBy)
Returns a searcher instance with only the selection fields, the asset type, the site name and sort orders set.
|
static Searcher |
SearchHelper.newFieldSearcherInSite(String select,
String in,
Filter where,
Orders orderBy)
Returns a searcher instance with only the selection fields, the site name, a filter and sort orders set.
|
static Searcher |
SearchHelper.newFieldSearcherInSite(String select,
String in,
Orders orderBy)
Returns a searcher instance with only the selection fields, the site name and sort orders set.
|
static Searcher |
SearchHelper.newSearcher(Filter where,
Orders orderBy)
Returns a searcher instance with only a filter and sort orders set.
|
static Searcher |
SearchHelper.newSearcher(Orders orderBy)
Returns a searcher instance with only sort orders set.
|
static Searcher |
SearchHelper.newSearcherForType(String from,
Filter where,
Orders orderBy)
Returns a searcher instance with only the asset type, a filter and sort orders set.
|
static Searcher |
SearchHelper.newSearcherForType(String from,
Orders orderBy)
Returns a searcher instance with only the asset type and sort orders set.
|
static Searcher |
SearchHelper.newSearcherForTypeInSite(String from,
String in,
Filter where,
Orders orderBy)
Returns a searcher instance with only the asset type, the site name, a filter and sort orders set.
|
static Searcher |
SearchHelper.newSearcherForTypeInSite(String from,
String in,
Orders orderBy)
Returns a searcher instance with only the asset type, the site name and sort orders set.
|
static Searcher |
SearchHelper.newSearcherInSite(String in,
Filter where,
Orders orderBy)
Returns a searcher instance with only the site name, a filter and sort orders set.
|
static Searcher |
SearchHelper.newSearcherInSite(String in,
Orders orderBy)
Returns a searcher instance with only the site name and sort orders set.
|
Searcher |
Searcher.orderBy(Orders order)
Sets a ordering sequence for the results.
|
boolean |
Orders.removeAll(Orders c)
Removes the orders from the specified sequence from this sequence.
|
boolean |
Orders.retainAll(Orders c)
Retains only the orders from the specified sequence in this sequence, removes the rest of the orders from this sequence.
|
void |
Query.setOrders(Orders orders)
Sets the order sequence into this query.
|
Constructor and Description |
---|
Orders(Orders source)
Copy constructor builds a new instance from the source.
|