|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use IMutableSearch | |
|---|---|
| com.trg.search | |
| Uses of IMutableSearch in com.trg.search |
|---|
| Classes in com.trg.search that implement IMutableSearch | |
|---|---|
class |
Search
A convenient fully-featured implementation of ISearch and IMutableSearch for general use in Java code. |
| Methods in com.trg.search with type parameters of type IMutableSearch | ||
|---|---|---|
static
|
SearchUtil.copy(ISearch source,
T destination)
Copy the contents of the source search object to the destination search object, overriding any contents previously found in the destination. |
|
| Methods in com.trg.search that return IMutableSearch | |
|---|---|
static IMutableSearch |
SearchUtil.copy(ISearch source)
Copy the contents of the source search object into a new search object. |
IMutableSearch |
IMutableSearch.setDisjunction(boolean disjunction)
|
IMutableSearch |
Search.setDistinct(boolean distinct)
|
IMutableSearch |
IMutableSearch.setDistinct(boolean distinct)
|
IMutableSearch |
IMutableSearch.setFetches(java.util.List<java.lang.String> fetches)
|
IMutableSearch |
IMutableSearch.setFields(java.util.List<Field> fields)
|
IMutableSearch |
IMutableSearch.setFilters(java.util.List<Filter> filters)
|
IMutableSearch |
IMutableSearch.setFirstResult(int firstResult)
|
IMutableSearch |
IMutableSearch.setMaxResults(int maxResults)
|
IMutableSearch |
IMutableSearch.setPage(int page)
|
IMutableSearch |
IMutableSearch.setResultMode(int resultMode)
|
IMutableSearch |
IMutableSearch.setSearchClass(java.lang.Class<?> searchClass)
|
IMutableSearch |
IMutableSearch.setSorts(java.util.List<Sort> sorts)
|
static IMutableSearch |
SearchUtil.shallowCopy(ISearch source)
Copy the contents of the source search object to the destination search object, overriding any contents previously found in the destination. |
static IMutableSearch |
SearchUtil.shallowCopy(ISearch source,
IMutableSearch destination)
Copy the contents of the source search object to the destination search object, overriding any contents previously found in the destination. |
| Methods in com.trg.search with parameters of type IMutableSearch | |
|---|---|
static void |
SearchUtil.addFetch(IMutableSearch search,
java.lang.String property)
|
static void |
SearchUtil.addFetches(IMutableSearch search,
java.lang.String... properties)
|
static void |
SearchUtil.addField(IMutableSearch search,
Field field)
|
static void |
SearchUtil.addField(IMutableSearch search,
java.lang.String property)
If this field is used with resultMode == RESULT_MAP, the
property will also be used as the key for this value in the
map. |
static void |
SearchUtil.addField(IMutableSearch search,
java.lang.String property,
int operator)
If this field is used with resultMode == RESULT_MAP, the
property will also be used as the key for this value in the
map. |
static void |
SearchUtil.addField(IMutableSearch search,
java.lang.String property,
int operator,
java.lang.String key)
If this field is used with resultMode == RESULT_MAP, the
key will be used as the key for this value in the map. |
static void |
SearchUtil.addField(IMutableSearch search,
java.lang.String property,
java.lang.String key)
If this field is used with resultMode == RESULT_MAP, the
key will be used as the key for this value in the map. |
static void |
SearchUtil.addFields(IMutableSearch search,
Field... fields)
|
static void |
SearchUtil.addFilter(IMutableSearch search,
Filter filter)
|
static void |
SearchUtil.addFilterAll(IMutableSearch search,
java.lang.String property,
Filter filter)
Add a filter that uses the ALL operator. |
static void |
SearchUtil.addFilterAnd(IMutableSearch search,
Filter... filters)
Add a filter that uses the AND operator. |
static void |
SearchUtil.addFilterEmpty(IMutableSearch search,
java.lang.String property)
Add a filter that uses the IS EMPTY operator. |
static void |
SearchUtil.addFilterEqual(IMutableSearch search,
java.lang.String property,
java.lang.Object value)
Add a filter that uses the == operator. |
static void |
SearchUtil.addFilterGreaterOrEqual(IMutableSearch search,
java.lang.String property,
java.lang.Object value)
Add a filter that uses the >= operator. |
static void |
SearchUtil.addFilterGreaterThan(IMutableSearch search,
java.lang.String property,
java.lang.Object value)
Add a filter that uses the > operator. |
static void |
SearchUtil.addFilterILike(IMutableSearch search,
java.lang.String property,
java.lang.String value)
Add a filter that uses the ILIKE operator. |
static void |
SearchUtil.addFilterIn(IMutableSearch search,
java.lang.String property,
java.util.Collection<?> value)
Add a filter that uses the IN operator. |
static void |
SearchUtil.addFilterIn(IMutableSearch search,
java.lang.String property,
java.lang.Object... value)
Add a filter that uses the IN operator. |
static void |
SearchUtil.addFilterLessOrEqual(IMutableSearch search,
java.lang.String property,
java.lang.Object value)
Add a filter that uses the <= operator. |
static void |
SearchUtil.addFilterLessThan(IMutableSearch search,
java.lang.String property,
java.lang.Object value)
Add a filter that uses the < operator. |
static void |
SearchUtil.addFilterLike(IMutableSearch search,
java.lang.String property,
java.lang.String value)
Add a filter that uses the LIKE operator. |
static void |
SearchUtil.addFilterNone(IMutableSearch search,
java.lang.String property,
Filter filter)
Add a filter that uses the NONE operator. |
static void |
SearchUtil.addFilterNot(IMutableSearch search,
Filter filter)
Add a filter that uses the NOT operator. |
static void |
SearchUtil.addFilterNotEmpty(IMutableSearch search,
java.lang.String property)
Add a filter that uses the IS NOT EMPTY operator. |
static void |
SearchUtil.addFilterNotEqual(IMutableSearch search,
java.lang.String property,
java.lang.Object value)
Add a filter that uses the ! |
static void |
SearchUtil.addFilterNotIn(IMutableSearch search,
java.lang.String property,
java.util.Collection<?> value)
Add a filter that uses the NOT IN operator. |
static void |
SearchUtil.addFilterNotIn(IMutableSearch search,
java.lang.String property,
java.lang.Object... value)
Add a filter that uses the NOT IN operator. |
static void |
SearchUtil.addFilterNotNull(IMutableSearch search,
java.lang.String property)
Add a filter that uses the IS NOT NULL operator. |
static void |
SearchUtil.addFilterNull(IMutableSearch search,
java.lang.String property)
Add a filter that uses the IS NULL operator. |
static void |
SearchUtil.addFilterOr(IMutableSearch search,
Filter... filters)
Add a filter that uses the OR operator. |
static void |
SearchUtil.addFilters(IMutableSearch search,
Filter... filters)
|
static void |
SearchUtil.addFilterSome(IMutableSearch search,
java.lang.String property,
Filter filter)
Add a filter that uses the SOME operator. |
static void |
SearchUtil.addSort(IMutableSearch search,
Sort sort)
|
static void |
SearchUtil.addSort(IMutableSearch search,
java.lang.String property,
boolean desc)
Add sort by property. |
static void |
SearchUtil.addSort(IMutableSearch search,
java.lang.String property,
boolean desc,
boolean ignoreCase)
Add sort by property. |
static void |
SearchUtil.addSortAsc(IMutableSearch search,
java.lang.String property)
Add ascending sort by property |
static void |
SearchUtil.addSortAsc(IMutableSearch search,
java.lang.String property,
boolean ignoreCase)
Add ascending sort by property |
static void |
SearchUtil.addSortDesc(IMutableSearch search,
java.lang.String property)
Add descending sort by property |
static void |
SearchUtil.addSortDesc(IMutableSearch search,
java.lang.String property,
boolean ignoreCase)
Add descending sort by property |
static void |
SearchUtil.addSorts(IMutableSearch search,
Sort... sorts)
|
static void |
SearchUtil.clear(IMutableSearch search)
|
static void |
SearchUtil.clearFetches(IMutableSearch search)
|
static void |
SearchUtil.clearFields(IMutableSearch search)
|
static void |
SearchUtil.clearFilters(IMutableSearch search)
|
static void |
SearchUtil.clearPaging(IMutableSearch search)
|
static void |
SearchUtil.clearSorts(IMutableSearch search)
|
static void |
SearchUtil.mergeFetches(IMutableSearch search,
java.util.List<java.lang.String> fetches)
Modify the search by adding the given fetches to the current fetches in the search. |
static void |
SearchUtil.mergeFetches(IMutableSearch search,
java.lang.String... fetches)
Modify the search by adding the given fetches to the current fetches in the search. |
static void |
SearchUtil.mergeFieldsAfter(IMutableSearch search,
Field... fields)
Modify the search by adding the given fields after the current fields in the search. |
static void |
SearchUtil.mergeFieldsAfter(IMutableSearch search,
java.util.List<Field> fields)
Modify the search by adding the given fields after the current fields in the search. |
static void |
SearchUtil.mergeFieldsBefore(IMutableSearch search,
Field... fields)
Modify the search by adding the given fields before the current fields in the search. |
static void |
SearchUtil.mergeFieldsBefore(IMutableSearch search,
java.util.List<Field> fields)
Modify the search by adding the given fields before the current fields in the search. |
static void |
SearchUtil.mergeFiltersAnd(IMutableSearch search,
Filter... filters)
Modify the search by adding the given filters using AND semantics |
static void |
SearchUtil.mergeFiltersAnd(IMutableSearch search,
java.util.List<Filter> filters)
Modify the search by adding the given filters using AND semantics |
static void |
SearchUtil.mergeFiltersOr(IMutableSearch search,
Filter... filters)
Modify the search by adding the given filters using OR semantics |
static void |
SearchUtil.mergeFiltersOr(IMutableSearch search,
java.util.List<Filter> filters)
Modify the search by adding the given filters using OR semantics |
static void |
SearchUtil.mergeSortsAfter(IMutableSearch search,
java.util.List<Sort> sorts)
Modify the search by adding the given sorts after the current sorts in the search. |
static void |
SearchUtil.mergeSortsAfter(IMutableSearch search,
Sort... sorts)
Modify the search by adding the given sorts after the current sorts in the search. |
static void |
SearchUtil.mergeSortsBefore(IMutableSearch search,
java.util.List<Sort> sorts)
Modify the search by adding the given sorts before the current sorts in the search. |
static void |
SearchUtil.mergeSortsBefore(IMutableSearch search,
Sort... sorts)
Modify the search by adding the given sorts before the current sorts in the search. |
static void |
SearchUtil.removeFetch(IMutableSearch search,
java.lang.String property)
|
static void |
SearchUtil.removeField(IMutableSearch search,
Field field)
|
static void |
SearchUtil.removeField(IMutableSearch search,
java.lang.String property)
|
static void |
SearchUtil.removeField(IMutableSearch search,
java.lang.String property,
java.lang.String key)
|
static void |
SearchUtil.removeFilter(IMutableSearch search,
Filter filter)
|
static void |
SearchUtil.removeFiltersOnProperty(IMutableSearch search,
java.lang.String property)
Remove all filters on the given property. |
static void |
SearchUtil.removeSort(IMutableSearch search,
Sort sort)
|
static void |
SearchUtil.removeSort(IMutableSearch search,
java.lang.String property)
|
static IMutableSearch |
SearchUtil.shallowCopy(ISearch source,
IMutableSearch destination)
Copy the contents of the source search object to the destination search object, overriding any contents previously found in the destination. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||