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 |
---|---|
Filter |
DefaultBuildersFactory.newFilter(String left, BinaryRelationalOperator operator, String right, String... more) |
Filter |
BuildersFactory.newFilter(String left, BinaryRelationalOperator operator, String right, String... more)
Returns a new
Filter which can used in a search query. |
protected Filter |
BaseController.newFilter(String left, BinaryRelationalOperator operator, String right, String... more)
Returns a new
Filter which can used in a search query. |
Modifier and Type | Method and Description |
---|---|
Filter |
Filter.and(Filter other)
Returns a composite filter by setting a logical
AND operator on this filter and the other filter. |
Filter |
Filter.complement()
Complements and returns this filter.
|
Filter |
Query.getFilter()
Returns the filter condition set into this query.
|
Filter |
Filter.getLeft()
Returns the left operand of this filter.
|
Filter |
Filter.getRight()
Returns the right operand of this filter.
|
Filter |
FilterBuilder.FilterFinalizer.is(BinaryRelationalOperator operator, String right, String... moreValues)
Completes the filter by specifying the operator and the right operand into the condition for the filter.
|
Filter |
FilterBuilder.FilterFinalizer.isNot(BinaryRelationalOperator operator, String right, String... moreValues)
Completes the filter by specifying the operator and the right operand into the condition for the filter and finally complementing the filter.
|
static Filter |
SearchHelper.newFilter(String left, BinaryRelationalOperator operator, String right, String... more)
Returns a simple
Filter based on an expression. |
Filter |
Filter.or(Filter other)
Returns a composite filter by setting a logical
OR operator on this filter and the other filter. |
Modifier and Type | Method and Description |
---|---|
Filter |
Filter.and(Filter other)
Returns a composite filter by setting a logical
AND operator on this filter and the other filter. |
Searcher |
Searcher.filter(Filter filter)
Sets a filter condition in the query built by this builder.
|
static Searcher |
SearchHelper.newFieldSearcher(String select, Filter where)
Returns a searcher instance with only the selection fields and a filter set.
|
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.newFieldSearcherForType(String select, String from, Filter where)
Returns a searcher instance with only the selection fields, the asset type and a filter 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.newFieldSearcherForTypeInSite(String select, String from, String in, Filter where)
Returns a searcher instance with only the selection fields, the asset type, the site name and a filter 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.newFieldSearcherInSite(String select, String in, Filter where)
Returns a searcher instance with only the selection fields, the site name and a filter 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.newSearcher(Filter where)
Returns a searcher instance with only a filter set.
|
static Searcher |
SearchHelper.newSearcher(Filter where, Orders orderBy)
Returns a searcher instance with only a filter and sort orders set.
|
static Searcher |
SearchHelper.newSearcherForType(String from, Filter where)
Returns a searcher instance with only the asset type and a filter 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.newSearcherForTypeInSite(String from, String in, Filter where)
Returns a searcher instance with only the asset type, the site name and a filter 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.newSearcherInSite(String in, Filter where)
Returns a searcher instance with only the site name and a filter set.
|
static Searcher |
SearchHelper.newSearcherInSite(String in, Filter where, Orders orderBy)
Returns a searcher instance with only he site name, a filter and sort orders set.
|
Filter |
Filter.or(Filter other)
Returns a composite filter by setting a logical
OR operator on this filter and the other filter. |
void |
Query.setFilter(Filter filter)
Sets the filter condition into this query.
|
void |
Filter.setLeft(Filter left)
Sets the left operand of this filter.
|
void |
Filter.setRight(Filter right)
Sets the right operand of this filter.
|
Constructor and Description |
---|
Filter(Filter source)
Copy constructor builds a new instance from the source.
|