|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use ISearch | |
|---|---|
| com.trg.search | |
| com.trg.search.flex | |
| com.trg.search.jpa | |
| Uses of ISearch in com.trg.search |
|---|
| Subinterfaces of ISearch in com.trg.search | |
|---|---|
interface |
IMutableSearch
IMutableSearch is an extension of ISearch that
provides setters for all of the properties. |
| Classes in com.trg.search that implement ISearch | |
|---|---|
class |
Search
A convenient fully-featured implementation of ISearch and IMutableSearch for general use in Java code. |
| Methods in com.trg.search with parameters of type ISearch | ||
|---|---|---|
static int |
SearchUtil.calcFirstResult(ISearch search)
Calculate the first result to use given the firstResult,
page and maxResults values of the search
object. |
|
static IMutableSearch |
SearchUtil.copy(ISearch source)
Copy the contents of the source search object into a new search object. |
|
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. |
|
int |
SearchFacade.count(java.lang.Class<?> searchClass,
ISearch search)
Returns the total number of results that would be returned using the given ISearch if there were no paging or maxResult limits. |
|
int |
SearchFacade.count(ISearch search)
Returns the total number of results that would be returned using the given ISearch if there were no paging or maxResult limits. |
|
static boolean |
SearchUtil.equals(ISearch search,
java.lang.Object obj)
Return true if the search objects have equivalent contents. |
|
java.lang.String |
BaseSearchProcessor.generateQL(java.lang.Class<?> entityClass,
ISearch search,
java.util.List<java.lang.Object> paramList)
Generate the QL string for a given search. |
|
java.lang.String |
BaseSearchProcessor.generateRowCountQL(java.lang.Class<?> entityClass,
ISearch search,
java.util.List<java.lang.Object> paramList)
Generate the QL string that will query the total number of results from a given search (paging is ignored). |
|
static int |
SearchUtil.hashCode(ISearch search)
Return a hash code value for the given search. |
|
java.util.List |
SearchFacade.search(java.lang.Class<?> searchClass,
ISearch search)
Search for objects based on the search parameters in the specified ISearch object. |
|
java.util.List |
SearchFacade.search(ISearch search)
Search for objects based on the search parameters in the specified ISearch object. |
|
SearchResult |
SearchFacade.searchAndCount(java.lang.Class<?> searchClass,
ISearch search)
Returns a SearchResult object that includes the list of
results like search() and the total length like
searchLength. |
|
SearchResult |
SearchFacade.searchAndCount(ISearch search)
Returns a SearchResult object that includes the list of
results like search() and the total length like
searchLength. |
|
java.lang.Object |
SearchFacade.searchUnique(java.lang.Class<?> searchClass,
ISearch search)
Search for a single result using the given parameters. |
|
java.lang.Object |
SearchFacade.searchUnique(ISearch search)
Search for a single result using the given parameters. |
|
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. |
|
static java.lang.String |
SearchUtil.toString(ISearch search)
Return a human-readable string describing the contents of the given search. |
|
| Uses of ISearch in com.trg.search.flex |
|---|
| Classes in com.trg.search.flex that implement ISearch | |
|---|---|
class |
FlexSearchWrapper
This provides a wrapper around a FlexSearch so that is can be passed into DAO methods requiring the ISearch interface. |
| Uses of ISearch in com.trg.search.jpa |
|---|
| Methods in com.trg.search.jpa with parameters of type ISearch | |
|---|---|
int |
JPASearchFacade.count(java.lang.Class<?> searchClass,
ISearch search)
|
int |
JPASearchProcessor.count(javax.persistence.EntityManager entityManager,
java.lang.Class<?> searchClass,
ISearch search)
Returns the total number of results that would be returned using the given ISearch if there were no paging or maxResult limits. |
int |
JPASearchProcessor.count(javax.persistence.EntityManager entityManager,
ISearch search)
Returns the total number of results that would be returned using the given ISearch if there were no paging or maxResult limits. |
int |
JPASearchFacade.count(ISearch search)
|
java.util.List |
JPASearchFacade.search(java.lang.Class<?> searchClass,
ISearch search)
|
java.util.List |
JPASearchProcessor.search(javax.persistence.EntityManager entityManager,
java.lang.Class<?> searchClass,
ISearch search)
Search for objects based on the search parameters in the specified ISearch object. |
java.util.List |
JPASearchProcessor.search(javax.persistence.EntityManager entityManager,
ISearch search)
Search for objects based on the search parameters in the specified ISearch object. |
java.util.List |
JPASearchFacade.search(ISearch search)
|
SearchResult |
JPASearchFacade.searchAndCount(java.lang.Class<?> searchClass,
ISearch search)
|
SearchResult |
JPASearchProcessor.searchAndCount(javax.persistence.EntityManager entityManager,
java.lang.Class<?> searchClass,
ISearch search)
Returns a SearchResult object that includes the list of
results like search() and the total length like
searchLength. |
SearchResult |
JPASearchProcessor.searchAndCount(javax.persistence.EntityManager entityManager,
ISearch search)
Returns a SearchResult object that includes the list of
results like search() and the total length like
searchLength. |
SearchResult |
JPASearchFacade.searchAndCount(ISearch search)
|
java.lang.Object |
JPASearchFacade.searchUnique(java.lang.Class<?> searchClass,
ISearch search)
|
java.lang.Object |
JPASearchProcessor.searchUnique(javax.persistence.EntityManager entityManager,
java.lang.Class<?> entityClass,
ISearch search)
Search for a single result using the given parameters. |
java.lang.Object |
JPASearchProcessor.searchUnique(javax.persistence.EntityManager entityManager,
ISearch search)
Search for a single result using the given parameters. |
java.lang.Object |
JPASearchFacade.searchUnique(ISearch search)
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||