A B C D E F G H I J K L M N O P Q R S T V W

A

add(Filter) - Method in class com.trg.search.Filter
Used with OP_OR and OP_AND filters.
addExplicitNullChecks(Filter) - Method in class com.trg.search.BaseSearchProcessor
Used by BaseSearchProcessor.negate(Filter).
addFetch(String) - Method in class com.trg.search.Search
 
addFetch(IMutableSearch, String) - Static method in class com.trg.search.SearchUtil
 
addFetches(String...) - Method in class com.trg.search.Search
 
addFetches(IMutableSearch, String...) - Static method in class com.trg.search.SearchUtil
 
addField(Field) - Method in class com.trg.search.Search
 
addField(String) - Method in class com.trg.search.Search
If this field is used with resultMode == RESULT_MAP, the property will also be used as the key for this value in the map.
addField(String, String) - Method in class com.trg.search.Search
If this field is used with resultMode == RESULT_MAP, the key will be used as the key for this value in the map.
addField(String, int) - Method in class com.trg.search.Search
If this field is used with resultMode == RESULT_MAP, the property will also be used as the key for this value in the map.
addField(String, int, String) - Method in class com.trg.search.Search
If this field is used with resultMode == RESULT_MAP, the key will be used as the key for this value in the map.
addField(IMutableSearch, Field) - Static method in class com.trg.search.SearchUtil
 
addField(IMutableSearch, String) - Static method in class com.trg.search.SearchUtil
If this field is used with resultMode == RESULT_MAP, the property will also be used as the key for this value in the map.
addField(IMutableSearch, String, int) - Static method in class com.trg.search.SearchUtil
If this field is used with resultMode == RESULT_MAP, the property will also be used as the key for this value in the map.
addField(IMutableSearch, String, int, String) - Static method in class com.trg.search.SearchUtil
If this field is used with resultMode == RESULT_MAP, the key will be used as the key for this value in the map.
addField(IMutableSearch, String, String) - Static method in class com.trg.search.SearchUtil
If this field is used with resultMode == RESULT_MAP, the key will be used as the key for this value in the map.
addFields(Field...) - Method in class com.trg.search.Search
 
addFields(IMutableSearch, Field...) - Static method in class com.trg.search.SearchUtil
 
addFilter(Filter) - Method in class com.trg.search.Search
 
addFilter(IMutableSearch, Filter) - Static method in class com.trg.search.SearchUtil
 
addFilterAll(String, Filter) - Method in class com.trg.search.Search
Add a filter that uses the ALL operator.
addFilterAll(IMutableSearch, String, Filter) - Static method in class com.trg.search.SearchUtil
Add a filter that uses the ALL operator.
addFilterAnd(Filter...) - Method in class com.trg.search.Search
Add a filter that uses the AND operator.
addFilterAnd(IMutableSearch, Filter...) - Static method in class com.trg.search.SearchUtil
Add a filter that uses the AND operator.
addFilterEmpty(String) - Method in class com.trg.search.Search
Add a filter that uses the IS EMPTY operator.
addFilterEmpty(IMutableSearch, String) - Static method in class com.trg.search.SearchUtil
Add a filter that uses the IS EMPTY operator.
addFilterEqual(String, Object) - Method in class com.trg.search.Search
Add a filter that uses the == operator.
addFilterEqual(IMutableSearch, String, Object) - Static method in class com.trg.search.SearchUtil
Add a filter that uses the == operator.
addFilterGreaterOrEqual(String, Object) - Method in class com.trg.search.Search
Add a filter that uses the >= operator.
addFilterGreaterOrEqual(IMutableSearch, String, Object) - Static method in class com.trg.search.SearchUtil
Add a filter that uses the >= operator.
addFilterGreaterThan(String, Object) - Method in class com.trg.search.Search
Add a filter that uses the > operator.
addFilterGreaterThan(IMutableSearch, String, Object) - Static method in class com.trg.search.SearchUtil
Add a filter that uses the > operator.
addFilterILike(String, String) - Method in class com.trg.search.Search
Add a filter that uses the ILIKE operator.
addFilterILike(IMutableSearch, String, String) - Static method in class com.trg.search.SearchUtil
Add a filter that uses the ILIKE operator.
addFilterIn(String, Collection<?>) - Method in class com.trg.search.Search
Add a filter that uses the IN operator.
addFilterIn(String, Object...) - Method in class com.trg.search.Search
Add a filter that uses the IN operator.
addFilterIn(IMutableSearch, String, Collection<?>) - Static method in class com.trg.search.SearchUtil
Add a filter that uses the IN operator.
addFilterIn(IMutableSearch, String, Object...) - Static method in class com.trg.search.SearchUtil
Add a filter that uses the IN operator.
addFilterLessOrEqual(String, Object) - Method in class com.trg.search.Search
Add a filter that uses the <= operator.
addFilterLessOrEqual(IMutableSearch, String, Object) - Static method in class com.trg.search.SearchUtil
Add a filter that uses the <= operator.
addFilterLessThan(String, Object) - Method in class com.trg.search.Search
Add a filter that uses the < operator.
addFilterLessThan(IMutableSearch, String, Object) - Static method in class com.trg.search.SearchUtil
Add a filter that uses the < operator.
addFilterLike(String, String) - Method in class com.trg.search.Search
Add a filter that uses the LIKE operator.
addFilterLike(IMutableSearch, String, String) - Static method in class com.trg.search.SearchUtil
Add a filter that uses the LIKE operator.
addFilterNone(String, Filter) - Method in class com.trg.search.Search
Add a filter that uses the NONE operator.
addFilterNone(IMutableSearch, String, Filter) - Static method in class com.trg.search.SearchUtil
Add a filter that uses the NONE operator.
addFilterNot(Filter) - Method in class com.trg.search.Search
Add a filter that uses the NOT operator.
addFilterNot(IMutableSearch, Filter) - Static method in class com.trg.search.SearchUtil
Add a filter that uses the NOT operator.
addFilterNotEmpty(String) - Method in class com.trg.search.Search
Add a filter that uses the IS NOT EMPTY operator.
addFilterNotEmpty(IMutableSearch, String) - Static method in class com.trg.search.SearchUtil
Add a filter that uses the IS NOT EMPTY operator.
addFilterNotEqual(String, Object) - Method in class com.trg.search.Search
Add a filter that uses the !
addFilterNotEqual(IMutableSearch, String, Object) - Static method in class com.trg.search.SearchUtil
Add a filter that uses the !
addFilterNotIn(String, Collection<?>) - Method in class com.trg.search.Search
Add a filter that uses the NOT IN operator.
addFilterNotIn(String, Object...) - Method in class com.trg.search.Search
Add a filter that uses the NOT IN operator.
addFilterNotIn(IMutableSearch, String, Collection<?>) - Static method in class com.trg.search.SearchUtil
Add a filter that uses the NOT IN operator.
addFilterNotIn(IMutableSearch, String, Object...) - Static method in class com.trg.search.SearchUtil
Add a filter that uses the NOT IN operator.
addFilterNotNull(String) - Method in class com.trg.search.Search
Add a filter that uses the IS NOT NULL operator.
addFilterNotNull(IMutableSearch, String) - Static method in class com.trg.search.SearchUtil
Add a filter that uses the IS NOT NULL operator.
addFilterNull(String) - Method in class com.trg.search.Search
Add a filter that uses the IS NULL operator.
addFilterNull(IMutableSearch, String) - Static method in class com.trg.search.SearchUtil
Add a filter that uses the IS NULL operator.
addFilterOr(Filter...) - Method in class com.trg.search.Search
Add a filter that uses the OR operator.
addFilterOr(IMutableSearch, Filter...) - Static method in class com.trg.search.SearchUtil
Add a filter that uses the OR operator.
addFilters(Filter...) - Method in class com.trg.search.Search
 
addFilters(IMutableSearch, Filter...) - Static method in class com.trg.search.SearchUtil
 
addFilterSome(String, Filter) - Method in class com.trg.search.Search
Add a filter that uses the SOME operator.
addFilterSome(IMutableSearch, String, Filter) - Static method in class com.trg.search.SearchUtil
Add a filter that uses the SOME operator.
addSort(Sort) - Method in class com.trg.search.Search
 
addSort(String, boolean) - Method in class com.trg.search.Search
Add sort by property.
addSort(String, boolean, boolean) - Method in class com.trg.search.Search
Add sort by property.
addSort(IMutableSearch, Sort) - Static method in class com.trg.search.SearchUtil
 
addSort(IMutableSearch, String, boolean) - Static method in class com.trg.search.SearchUtil
Add sort by property.
addSort(IMutableSearch, String, boolean, boolean) - Static method in class com.trg.search.SearchUtil
Add sort by property.
addSortAsc(String) - Method in class com.trg.search.Search
Add ascending sort by property
addSortAsc(String, boolean) - Method in class com.trg.search.Search
Add ascending sort by property
addSortAsc(IMutableSearch, String) - Static method in class com.trg.search.SearchUtil
Add ascending sort by property
addSortAsc(IMutableSearch, String, boolean) - Static method in class com.trg.search.SearchUtil
Add ascending sort by property
addSortDesc(String) - Method in class com.trg.search.Search
Add descending sort by property
addSortDesc(String, boolean) - Method in class com.trg.search.Search
Add descending sort by property
addSortDesc(IMutableSearch, String) - Static method in class com.trg.search.SearchUtil
Add descending sort by property
addSortDesc(IMutableSearch, String, boolean) - Static method in class com.trg.search.SearchUtil
Add descending sort by property
addSorts(Sort...) - Method in class com.trg.search.Search
 
addSorts(IMutableSearch, Sort...) - Static method in class com.trg.search.SearchUtil
 
all(String, Filter) - Static method in class com.trg.search.Filter
Create a new Filter using the ALL operator.
and(Filter...) - Static method in class com.trg.search.Filter
Create a new Filter using the AND operator.
ANYWHERE - Static variable in class com.trg.search.ExampleOptions
 
applyFetches(BaseSearchProcessor.SearchContext, List<String>, List<Field>) - Method in class com.trg.search.BaseSearchProcessor
Apply the fetch list to the alias tree in the search context.
asc(String) - Static method in class com.trg.search.Sort
 
asc(String, boolean) - Static method in class com.trg.search.Sort
 

B

BaseSearchProcessor - Class in com.trg.search
This class provides two methods for generating query language to fulfill an ISearch.
BaseSearchProcessor(int, MetadataUtil) - Constructor for class com.trg.search.BaseSearchProcessor
 
BaseSearchProcessor.AliasNode - Class in com.trg.search
 
BaseSearchProcessor.SearchContext - Class in com.trg.search
 
BaseSearchProcessor.SearchContext() - Constructor for class com.trg.search.BaseSearchProcessor.SearchContext
 
BaseSearchProcessor.SearchContext(Class<?>, String, List<Object>) - Constructor for class com.trg.search.BaseSearchProcessor.SearchContext
 

C

calcFirstResult(ISearch) - Static method in class com.trg.search.SearchUtil
Calculate the first result to use given the firstResult, page and maxResults values of the search object.
checkAndCleanFetches(List<String>) - Method in class com.trg.search.BaseSearchProcessor
Check for injection attack in property strings.
checkAndCleanFields(List<Field>) - Method in class com.trg.search.BaseSearchProcessor
Check for injection attack in property strings.
checkAndCleanFilters(List<Filter>) - Method in class com.trg.search.BaseSearchProcessor
Check for injection attack in property strings.
checkAndCleanSorts(List<Sort>) - Method in class com.trg.search.BaseSearchProcessor
Check for injection attack in property strings.
clear() - Method in class com.trg.search.Search
 
clear(IMutableSearch) - Static method in class com.trg.search.SearchUtil
 
clearFetches() - Method in class com.trg.search.Search
 
clearFetches(IMutableSearch) - Static method in class com.trg.search.SearchUtil
 
clearFields() - Method in class com.trg.search.Search
 
clearFields(IMutableSearch) - Static method in class com.trg.search.SearchUtil
 
clearFilters() - Method in class com.trg.search.Search
 
clearFilters(IMutableSearch) - Static method in class com.trg.search.SearchUtil
 
clearPaging() - Method in class com.trg.search.Search
 
clearPaging(IMutableSearch) - Static method in class com.trg.search.SearchUtil
 
clearSorts() - Method in class com.trg.search.Search
 
clearSorts(IMutableSearch) - Static method in class com.trg.search.SearchUtil
 
com.trg.search - package com.trg.search
 
com.trg.search.flex - package com.trg.search.flex
 
com.trg.search.jpa - package com.trg.search.jpa
 
convertIfNeeded(Object, Class<?>) - Static method in class com.trg.search.InternalUtil
Return an instance of the given class type that has the given value.
copy() - Method in class com.trg.search.Search
Create a copy of this search.
copy(ISearch, T) - Static method in class com.trg.search.SearchUtil
Copy the contents of the source search object to the destination search object, overriding any contents previously found in the destination.
copy(ISearch) - Static method in class com.trg.search.SearchUtil
Copy the contents of the source search object into a new search object.
count(ISearch) - Method in class com.trg.search.jpa.JPASearchFacade
 
count(Class<?>, ISearch) - Method in class com.trg.search.jpa.JPASearchFacade
 
count(EntityManager, ISearch) - Method in class com.trg.search.jpa.JPASearchProcessor
Returns the total number of results that would be returned using the given ISearch if there were no paging or maxResult limits.
count(EntityManager, Class<?>, ISearch) - Method in class com.trg.search.jpa.JPASearchProcessor
Returns the total number of results that would be returned using the given ISearch if there were no paging or maxResult limits.
count(ISearch) - Method in interface com.trg.search.SearchFacade
Returns the total number of results that would be returned using the given ISearch if there were no paging or maxResult limits.
count(Class<?>, ISearch) - Method in interface com.trg.search.SearchFacade
Returns the total number of results that would be returned using the given ISearch if there were no paging or maxResult limits.

D

desc - Variable in class com.trg.search.Sort
 
desc(String) - Static method in class com.trg.search.Sort
 
desc(String, boolean) - Static method in class com.trg.search.Sort
 
disjunction - Variable in class com.trg.search.flex.FlexSearch
 
disjunction - Variable in class com.trg.search.Search
 
distinct - Variable in class com.trg.search.flex.FlexSearch
 
distinct - Variable in class com.trg.search.Search
 

E

END - Static variable in class com.trg.search.ExampleOptions
 
entityManager - Variable in class com.trg.search.jpa.JPASearchFacade
 
equal(String, Object) - Static method in class com.trg.search.Filter
Create a new Filter using the == operator.
equals(Object) - Method in class com.trg.search.Field
 
equals(Object) - Method in class com.trg.search.Filter
 
equals(Object) - Method in class com.trg.search.Search
 
equals(ISearch, Object) - Static method in class com.trg.search.SearchUtil
Return true if the search objects have equivalent contents.
equals(Object) - Method in class com.trg.search.Sort
 
EXACT - Static variable in class com.trg.search.ExampleOptions
 
ExampleOptions - Class in com.trg.search
Use this class to pass options to find by example functionality.
ExampleOptions() - Constructor for class com.trg.search.ExampleOptions
 
excludeProp(String) - Method in class com.trg.search.ExampleOptions
Add a property to the excludeProps collection

F

fetches - Variable in class com.trg.search.flex.FlexSearch
 
fetches - Variable in class com.trg.search.Search
 
Field - Class in com.trg.search
Used to specify field selection in Search.
Field() - Constructor for class com.trg.search.Field
 
Field(String) - Constructor for class com.trg.search.Field
 
Field(String, String) - Constructor for class com.trg.search.Field
 
Field(String, int) - Constructor for class com.trg.search.Field
 
Field(String, int, String) - Constructor for class com.trg.search.Field
 
fields - Variable in class com.trg.search.flex.FlexSearch
 
fields - Variable in class com.trg.search.Search
 
Filter - Class in com.trg.search
A Filter is used by the Search class to specify a restriction on what results should be returned in the search.
Filter() - Constructor for class com.trg.search.Filter
 
Filter(String, Object, int) - Constructor for class com.trg.search.Filter
 
Filter(String, Object) - Constructor for class com.trg.search.Filter
 
filters - Variable in class com.trg.search.flex.FlexSearch
 
filters - Variable in class com.trg.search.Search
 
filterToQL(BaseSearchProcessor.SearchContext, Filter) - Method in class com.trg.search.BaseSearchProcessor
Recursively generate the QL fragment for a given search filter option.
firstResult - Variable in class com.trg.search.flex.FlexSearch
 
firstResult - Variable in class com.trg.search.Search
 
FlexSearch - Class in com.trg.search.flex
This is a search DTO that is suitable for both Flex and Java.
FlexSearch() - Constructor for class com.trg.search.flex.FlexSearch
 
FlexSearchWrapper - Class in com.trg.search.flex
This provides a wrapper around a FlexSearch so that is can be passed into DAO methods requiring the ISearch interface.
FlexSearchWrapper(FlexSearch) - Constructor for class com.trg.search.flex.FlexSearchWrapper
 

G

generateFromClause(BaseSearchProcessor.SearchContext, boolean) - Method in class com.trg.search.BaseSearchProcessor
Internal method for generating from clause.
generateJoins(BaseSearchProcessor.SearchContext, boolean) - Method in class com.trg.search.BaseSearchProcessor
Internal method for generating the join portion of the from clause.
generateOrderByClause(BaseSearchProcessor.SearchContext, List<Sort>) - Method in class com.trg.search.BaseSearchProcessor
Internal method for generating order by clause.
generateQL(Class<?>, ISearch, List<Object>) - Method in class com.trg.search.BaseSearchProcessor
Generate the QL string for a given search.
generateRowCountQL(Class<?>, ISearch, List<Object>) - Method in class com.trg.search.BaseSearchProcessor
Generate the QL string that will query the total number of results from a given search (paging is ignored).
generateSelectClause(BaseSearchProcessor.SearchContext, List<Field>, boolean) - Method in class com.trg.search.BaseSearchProcessor
Internal method for generating the select clause based on the fields of the given search.
generateSimpleAllOrSome(BaseSearchProcessor.SearchContext, String, Filter, String) - Method in class com.trg.search.BaseSearchProcessor
In the case of simple ALL/SOME/NONE filters, a simpler hql syntax is used (which is also compatible with collections of values).
generateSubquery(BaseSearchProcessor.SearchContext, String, Filter) - Method in class com.trg.search.BaseSearchProcessor
Generate a QL string for a subquery on the given property that uses the given filter.
generateWhereClause(BaseSearchProcessor.SearchContext, List<Filter>, boolean) - Method in class com.trg.search.BaseSearchProcessor
Internal method for generating where clause for given search.
get(Class<?>) - Method in class com.trg.search.jpa.JPAAnnotationMetadataUtil
 
get(Class<?>, String) - Method in class com.trg.search.jpa.JPAAnnotationMetadataUtil
 
get(Class<?>) - Method in interface com.trg.search.MetadataUtil
Get the Metadata for an entity class.
get(Class<?>, String) - Method in interface com.trg.search.MetadataUtil
Get the Metadata for a property of an entity class.
getAlias(BaseSearchProcessor.SearchContext, String, boolean) - Method in class com.trg.search.BaseSearchProcessor
Given a full path to an entity (ex. department.manager), return the alias to reference that entity (ex. a4_manager).
getCollectionClass() - Method in class com.trg.search.jpa.JPAAnnotationCollectionMetadata
 
getCollectionClass() - Method in class com.trg.search.jpa.JPAAnnotationMetadata
 
getCollectionClass() - Method in interface com.trg.search.Metadata
If the type is a collection, return the Java class of the collection itself, not the Java class of it's elements as with Metadata.getJavaClass().
getExcludeProps() - Method in class com.trg.search.ExampleOptions
 
getFetches() - Method in class com.trg.search.flex.FlexSearch
 
getFetches() - Method in class com.trg.search.flex.FlexSearchWrapper
 
getFetches() - Method in interface com.trg.search.ISearch
 
getFetches() - Method in class com.trg.search.Search
 
getFields() - Method in class com.trg.search.flex.FlexSearch
 
getFields() - Method in class com.trg.search.flex.FlexSearchWrapper
 
getFields() - Method in interface com.trg.search.ISearch
 
getFields() - Method in class com.trg.search.Search
 
getFilterFromExample(Object) - Method in class com.trg.search.BaseSearchProcessor
 
getFilterFromExample(Object, ExampleOptions) - Method in class com.trg.search.BaseSearchProcessor
 
getFilterFromExample(Object) - Method in class com.trg.search.jpa.JPASearchFacade
 
getFilterFromExample(Object, ExampleOptions) - Method in class com.trg.search.jpa.JPASearchFacade
 
getFilterFromExample(Object) - Method in interface com.trg.search.SearchFacade
Generates a search filter from the given example using default options.
getFilterFromExample(Object, ExampleOptions) - Method in interface com.trg.search.SearchFacade
Generates a search filter from the given example using the specified options.
getFilters() - Method in class com.trg.search.flex.FlexSearch
 
getFilters() - Method in class com.trg.search.flex.FlexSearchWrapper
 
getFilters() - Method in interface com.trg.search.ISearch
 
getFilters() - Method in class com.trg.search.Search
 
getFirstResult() - Method in class com.trg.search.flex.FlexSearch
 
getFirstResult() - Method in class com.trg.search.flex.FlexSearchWrapper
 
getFirstResult() - Method in interface com.trg.search.ISearch
Zero based index of first result record to return.
getFirstResult() - Method in class com.trg.search.Search
 
getFullPath() - Method in class com.trg.search.BaseSearchProcessor.AliasNode
 
getId(Object) - Method in class com.trg.search.jpa.JPAAnnotationMetadataUtil
 
getId(Object) - Method in interface com.trg.search.MetadataUtil
Get the value of the ID property of an entity.
getIdProperty() - Method in class com.trg.search.jpa.JPAAnnotationCollectionMetadata
 
getIdProperty() - Method in class com.trg.search.jpa.JPAAnnotationMetadata
 
getIdProperty() - Method in interface com.trg.search.Metadata
Return the name of the id property of this type.
getIdType() - Method in class com.trg.search.jpa.JPAAnnotationCollectionMetadata
 
getIdType() - Method in class com.trg.search.jpa.JPAAnnotationMetadata
 
getIdType() - Method in interface com.trg.search.Metadata
Return the metadata for the id property of this type.
getIdValue(Object) - Method in class com.trg.search.jpa.JPAAnnotationCollectionMetadata
 
getIdValue(Object) - Method in class com.trg.search.jpa.JPAAnnotationMetadata
 
getIdValue(Object) - Method in interface com.trg.search.Metadata
Return the value of the id property of the given object of this type.
getJavaClass() - Method in class com.trg.search.jpa.JPAAnnotationCollectionMetadata
 
getJavaClass() - Method in class com.trg.search.jpa.JPAAnnotationMetadata
 
getJavaClass() - Method in interface com.trg.search.Metadata
Return the Java class of this type.
getKey() - Method in class com.trg.search.Field
 
getLikeMode() - Method in class com.trg.search.ExampleOptions
 
getMaxResults() - Method in class com.trg.search.flex.FlexSearch
 
getMaxResults() - Method in class com.trg.search.flex.FlexSearchWrapper
 
getMaxResults() - Method in interface com.trg.search.ISearch
The maximum number of records to return.
getMaxResults() - Method in class com.trg.search.Search
 
getMetadata(Type) - Static method in class com.trg.search.jpa.JPAAnnotationMetadata
 
getMetadataUtil() - Method in class com.trg.search.BaseSearchProcessor
The MetadataUtil used by this search processor.
getOperator() - Method in class com.trg.search.Field
 
getOperator() - Method in class com.trg.search.Filter
 
getPage() - Method in class com.trg.search.flex.FlexSearch
 
getPage() - Method in class com.trg.search.flex.FlexSearchWrapper
 
getPage() - Method in interface com.trg.search.ISearch
Zero based index of the page of records to return.
getPage() - Method in class com.trg.search.Search
 
getPathRef(BaseSearchProcessor.SearchContext, String) - Method in class com.trg.search.BaseSearchProcessor
Given a full path to a property (ex. department.manager.salary), return the reference to that property that uses the appropriate alias (ex.
getProperties() - Method in class com.trg.search.jpa.JPAAnnotationCollectionMetadata
 
getProperties() - Method in class com.trg.search.jpa.JPAAnnotationMetadata
 
getProperties() - Method in interface com.trg.search.Metadata
Return an array of the names of all the properties that this type has, if any.
getProperty() - Method in class com.trg.search.Field
 
getProperty() - Method in class com.trg.search.Filter
 
getProperty() - Method in class com.trg.search.Sort
 
getPropertyType(String) - Method in class com.trg.search.jpa.JPAAnnotationCollectionMetadata
 
getPropertyType(String) - Method in class com.trg.search.jpa.JPAAnnotationMetadata
 
getPropertyType(String) - Method in interface com.trg.search.Metadata
Return the metadata for the given property of this type.
getPropertyValue(Object, String) - Method in class com.trg.search.jpa.JPAAnnotationCollectionMetadata
 
getPropertyValue(Object, String) - Method in class com.trg.search.jpa.JPAAnnotationMetadata
 
getPropertyValue(Object, String) - Method in interface com.trg.search.Metadata
Return the value of the given property of the given object of this type.
getProps() - Method in class com.trg.search.jpa.JPAAnnotationMetadata
 
getResult() - Method in class com.trg.search.SearchResult
The results of the search.
getResultMode() - Method in class com.trg.search.flex.FlexSearch
 
getResultMode() - Method in class com.trg.search.flex.FlexSearchWrapper
 
getResultMode() - Method in interface com.trg.search.ISearch
Result mode tells the search what form to use for the results.
getResultMode() - Method in class com.trg.search.Search
 
getRootAlias() - Method in class com.trg.search.BaseSearchProcessor.SearchContext
 
getSearchClass() - Method in class com.trg.search.flex.FlexSearchWrapper
 
getSearchClass() - Method in interface com.trg.search.ISearch
 
getSearchClass() - Method in class com.trg.search.Search
 
getSearchClassName() - Method in class com.trg.search.flex.FlexSearch
 
getSorts() - Method in class com.trg.search.flex.FlexSearch
 
getSorts() - Method in class com.trg.search.flex.FlexSearchWrapper
 
getSorts() - Method in interface com.trg.search.ISearch
 
getSorts() - Method in class com.trg.search.Search
 
getterName(Method) - Static method in class com.trg.search.jpa.JPAAnnotationMetadata
 
getTotalCount() - Method in class com.trg.search.SearchResult
The total number of results that would have been returned if no maxResults had been specified. (-1 means unspecified.)
getUnproxiedClass(Class<?>) - Method in class com.trg.search.jpa.JPAAnnotationMetadataUtil
 
getUnproxiedClass(Object) - Method in class com.trg.search.jpa.JPAAnnotationMetadataUtil
 
getUnproxiedClass(Class<?>) - Method in interface com.trg.search.MetadataUtil
Return the actual entity class registered with the persistence provider.
getUnproxiedClass(Object) - Method in interface com.trg.search.MetadataUtil
Return the actual entity class registered with the persistence provider.
getValue() - Method in class com.trg.search.Filter
 
greaterOrEqual(String, Object) - Static method in class com.trg.search.Filter
Create a new Filter using the >= operator.
greaterThan(String, Object) - Static method in class com.trg.search.Filter
Create a new Filter using the > operator.

H

hashCode() - Method in class com.trg.search.Field
 
hashCode() - Method in class com.trg.search.Filter
 
hashCode() - Method in class com.trg.search.Search
 
hashCode(ISearch) - Static method in class com.trg.search.SearchUtil
Return a hash code value for the given search.
hashCode() - Method in class com.trg.search.Sort
 

I

iequal(String, Object) - Static method in class com.trg.search.Filter
Create a new Filter using the == operator.
ignoreCase - Variable in class com.trg.search.Sort
 
ilike(String, String) - Static method in class com.trg.search.Filter
Create a new Filter using the ILIKE operator.
IMutableSearch - Interface in com.trg.search
IMutableSearch is an extension of ISearch that provides setters for all of the properties.
in(String, Collection<?>) - Static method in class com.trg.search.Filter
Create a new Filter using the IN operator.
in(String, Object...) - Static method in class com.trg.search.Filter
Create a new Filter using the IN operator.
INJECTION_CHECK - Variable in class com.trg.search.BaseSearchProcessor
Regex pattern for a valid property name/path.
InternalUtil - Class in com.trg.search
Utilities for TRG Generic DAO Search
InternalUtil() - Constructor for class com.trg.search.InternalUtil
 
isCollection() - Method in class com.trg.search.jpa.JPAAnnotationCollectionMetadata
 
isCollection() - Method in class com.trg.search.jpa.JPAAnnotationMetadata
 
isCollection() - Method in interface com.trg.search.Metadata
Return true if the type is a collection.
isDesc() - Method in class com.trg.search.Sort
 
isDisjunction() - Method in class com.trg.search.flex.FlexSearch
 
isDisjunction() - Method in class com.trg.search.flex.FlexSearchWrapper
 
isDisjunction() - Method in interface com.trg.search.ISearch
 
isDisjunction() - Method in class com.trg.search.Search
 
isDistinct() - Method in class com.trg.search.flex.FlexSearch
 
isDistinct() - Method in class com.trg.search.flex.FlexSearchWrapper
 
isDistinct() - Method in interface com.trg.search.ISearch
 
isDistinct() - Method in class com.trg.search.Search
 
ISearch - Interface in com.trg.search
The base search DTO (data transfer object).
isEmeddable() - Method in class com.trg.search.jpa.JPAAnnotationCollectionMetadata
 
isEmeddable() - Method in class com.trg.search.jpa.JPAAnnotationMetadata
 
isEmeddable() - Method in interface com.trg.search.Metadata
Return true if the type is an embeddable class (a component class in Hibernate).
isEmpty(String) - Static method in class com.trg.search.Filter
Create a new Filter using the IS EMPTY operator.
isEntity() - Method in class com.trg.search.jpa.JPAAnnotationCollectionMetadata
 
isEntity() - Method in class com.trg.search.jpa.JPAAnnotationMetadata
 
isEntity() - Method in interface com.trg.search.Metadata
Return true if the type is an entity.
isExcludeNulls() - Method in class com.trg.search.ExampleOptions
 
isExcludeZeros() - Method in class com.trg.search.ExampleOptions
 
isId(Class<?>, String) - Method in class com.trg.search.jpa.JPAAnnotationMetadataUtil
 
isId(Class<?>, String) - Method in interface com.trg.search.MetadataUtil
Return true if the property at the given property path is the id of some entity.
isIgnoreCase() - Method in class com.trg.search.ExampleOptions
 
isIgnoreCase() - Method in class com.trg.search.Sort
 
isNotEmpty(String) - Static method in class com.trg.search.Filter
Create a new Filter using the IS NOT EMPTY operator.
isNotNull(String) - Static method in class com.trg.search.Filter
Create a new Filter using the IS NOT NULL operator.
isNull(String) - Static method in class com.trg.search.Filter
Create a new Filter using the IS NULL operator.
isNumeric() - Method in class com.trg.search.jpa.JPAAnnotationCollectionMetadata
 
isNumeric() - Method in class com.trg.search.jpa.JPAAnnotationMetadata
 
isNumeric() - Method in interface com.trg.search.Metadata
Return true if the type is a number.
isString() - Method in class com.trg.search.jpa.JPAAnnotationCollectionMetadata
 
isString() - Method in class com.trg.search.jpa.JPAAnnotationMetadata
 
isString() - Method in interface com.trg.search.Metadata
Return true if the type is persisted as a string (char or varchar) type in the database.
isTakesListOfSubFilters() - Method in class com.trg.search.Filter
 
isTakesListOfValues() - Method in class com.trg.search.Filter
 
isTakesNoProperty() - Method in class com.trg.search.Filter
 
isTakesNoValue() - Method in class com.trg.search.Filter
 
isTakesSingleSubFilter() - Method in class com.trg.search.Filter
 
isTakesSingleValue() - Method in class com.trg.search.Filter
 

J

JPAAnnotationCollectionMetadata - Class in com.trg.search.jpa
 
JPAAnnotationCollectionMetadata(Class<?>, Class<?>) - Constructor for class com.trg.search.jpa.JPAAnnotationCollectionMetadata
 
JPAAnnotationMetadata - Class in com.trg.search.jpa
 
JPAAnnotationMetadataUtil - Class in com.trg.search.jpa
 
JPAAnnotationMetadataUtil() - Constructor for class com.trg.search.jpa.JPAAnnotationMetadataUtil
 
JPASearchFacade - Class in com.trg.search.jpa
JPA implementation of SearchFacade.
JPASearchFacade() - Constructor for class com.trg.search.jpa.JPASearchFacade
 
JPASearchProcessor - Class in com.trg.search.jpa
Implementation of BaseSearchProcessor that works with JPA.
JPASearchProcessor(MetadataUtil) - Constructor for class com.trg.search.jpa.JPASearchProcessor
 

K

key - Variable in class com.trg.search.Field
The key to use for the property when using result mode RESULT_MAP.

L

lessOrEqual(String, Object) - Static method in class com.trg.search.Filter
Create a new Filter using the <= operator.
lessThan(String, Object) - Static method in class com.trg.search.Filter
Create a new Filter using the < operator.
like(String, String) - Static method in class com.trg.search.Filter
Create a new Filter using the LIKE operator.

M

maxResults - Variable in class com.trg.search.flex.FlexSearch
 
maxResults - Variable in class com.trg.search.Search
 
mergeFetches(IMutableSearch, List<String>) - Static method in class com.trg.search.SearchUtil
Modify the search by adding the given fetches to the current fetches in the search.
mergeFetches(IMutableSearch, String...) - Static method in class com.trg.search.SearchUtil
Modify the search by adding the given fetches to the current fetches in the search.
mergeFieldsAfter(IMutableSearch, List<Field>) - Static method in class com.trg.search.SearchUtil
Modify the search by adding the given fields after the current fields in the search.
mergeFieldsAfter(IMutableSearch, Field...) - Static method in class com.trg.search.SearchUtil
Modify the search by adding the given fields after the current fields in the search.
mergeFieldsBefore(IMutableSearch, List<Field>) - Static method in class com.trg.search.SearchUtil
Modify the search by adding the given fields before the current fields in the search.
mergeFieldsBefore(IMutableSearch, Field...) - Static method in class com.trg.search.SearchUtil
Modify the search by adding the given fields before the current fields in the search.
mergeFiltersAnd(IMutableSearch, List<Filter>) - Static method in class com.trg.search.SearchUtil
Modify the search by adding the given filters using AND semantics
mergeFiltersAnd(IMutableSearch, Filter...) - Static method in class com.trg.search.SearchUtil
Modify the search by adding the given filters using AND semantics
mergeFiltersOr(IMutableSearch, List<Filter>) - Static method in class com.trg.search.SearchUtil
Modify the search by adding the given filters using OR semantics
mergeFiltersOr(IMutableSearch, Filter...) - Static method in class com.trg.search.SearchUtil
Modify the search by adding the given filters using OR semantics
mergeSortsAfter(IMutableSearch, List<Sort>) - Static method in class com.trg.search.SearchUtil
Modify the search by adding the given sorts after the current sorts in the search.
mergeSortsAfter(IMutableSearch, Sort...) - Static method in class com.trg.search.SearchUtil
Modify the search by adding the given sorts after the current sorts in the search.
mergeSortsBefore(IMutableSearch, List<Sort>) - Static method in class com.trg.search.SearchUtil
Modify the search by adding the given sorts before the current sorts in the search.
mergeSortsBefore(IMutableSearch, Sort...) - Static method in class com.trg.search.SearchUtil
Modify the search by adding the given sorts before the current sorts in the search.
Metadata - Interface in com.trg.search
This interface provides meta data for a single persistable type.
metadataUtil - Variable in class com.trg.search.BaseSearchProcessor
 
MetadataUtil - Interface in com.trg.search
The framework uses an implementation of this interface to introspect the objects and relationships maintained by the JPA provider.

N

negate(Filter) - Method in class com.trg.search.BaseSearchProcessor
Return a filter that negates the given filter.
none(String, Filter) - Static method in class com.trg.search.Filter
Create a new Filter using the NONE operator.
not(Filter) - Static method in class com.trg.search.Filter
Create a new Filter using the NOT operator.
notEqual(String, Object) - Static method in class com.trg.search.Filter
Create a new Filter using the !
notIn(String, Collection<?>) - Static method in class com.trg.search.Filter
Create a new Filter using the NOT IN operator.
notIn(String, Object...) - Static method in class com.trg.search.Filter
Create a new Filter using the NOT IN operator.

O

OP_ALL - Static variable in class com.trg.search.Filter
 
OP_AND - Static variable in class com.trg.search.Filter
 
OP_AVG - Static variable in class com.trg.search.Field
Possible value for operator.
OP_COUNT - Static variable in class com.trg.search.Field
Possible value for operator.
OP_COUNT_DISTINCT - Static variable in class com.trg.search.Field
Possible value for operator.
OP_EMPTY - Static variable in class com.trg.search.Filter
 
OP_EQUAL - Static variable in class com.trg.search.Filter
 
OP_GREATER_OR_EQUAL - Static variable in class com.trg.search.Filter
 
OP_GREATER_THAN - Static variable in class com.trg.search.Filter
 
OP_IEQUAL - Static variable in class com.trg.search.Filter
 
OP_ILIKE - Static variable in class com.trg.search.Filter
 
OP_IN - Static variable in class com.trg.search.Filter
 
OP_LESS_OR_EQUAL - Static variable in class com.trg.search.Filter
 
OP_LESS_THAN - Static variable in class com.trg.search.Filter
 
OP_LIKE - Static variable in class com.trg.search.Filter
 
OP_MAX - Static variable in class com.trg.search.Field
Possible value for operator.
OP_MIN - Static variable in class com.trg.search.Field
Possible value for operator.
OP_NONE - Static variable in class com.trg.search.Filter
 
OP_NOT - Static variable in class com.trg.search.Filter
 
OP_NOT_EMPTY - Static variable in class com.trg.search.Filter
 
OP_NOT_EQUAL - Static variable in class com.trg.search.Filter
 
OP_NOT_IN - Static variable in class com.trg.search.Filter
 
OP_NOT_NULL - Static variable in class com.trg.search.Filter
 
OP_NULL - Static variable in class com.trg.search.Filter
 
OP_OR - Static variable in class com.trg.search.Filter
 
OP_PROPERTY - Static variable in class com.trg.search.Field
Possible value for operator.
OP_SOME - Static variable in class com.trg.search.Filter
 
OP_SUM - Static variable in class com.trg.search.Field
Possible value for operator.
operator - Variable in class com.trg.search.Field
The operator to apply to the column: for example OP_COUNT, OP_SUM, OP_MAX.
operator - Variable in class com.trg.search.Filter
The type of comparison to do between the property and the value.
or(Filter...) - Static method in class com.trg.search.Filter
Create a new Filter using the OR operator.

P

page - Variable in class com.trg.search.flex.FlexSearch
 
page - Variable in class com.trg.search.Search
 
param(BaseSearchProcessor.SearchContext, Object) - Method in class com.trg.search.BaseSearchProcessor
Add value to paramList and return the named parameter string ":pX".
paramDisplayString(Object) - Static method in class com.trg.search.InternalUtil
 
prepareValue(Class<?>, String, Object, boolean) - Method in class com.trg.search.BaseSearchProcessor
Convert a property value to the expected type for that property.
processor - Variable in class com.trg.search.jpa.JPASearchFacade
 
property - Variable in class com.trg.search.Field
The property to include in the result.
property - Variable in class com.trg.search.Filter
The name of the property to filter on.
property - Variable in class com.trg.search.Sort
 

Q

qlType - Variable in class com.trg.search.BaseSearchProcessor
 
QLTYPE_EQL - Static variable in class com.trg.search.BaseSearchProcessor
 
QLTYPE_HQL - Static variable in class com.trg.search.BaseSearchProcessor
 

R

remove(Filter) - Method in class com.trg.search.Filter
Used with OP_OR and OP_AND filters.
removeFetch(String) - Method in class com.trg.search.Search
 
removeFetch(IMutableSearch, String) - Static method in class com.trg.search.SearchUtil
 
removeField(Field) - Method in class com.trg.search.Search
 
removeField(String) - Method in class com.trg.search.Search
 
removeField(String, String) - Method in class com.trg.search.Search
 
removeField(IMutableSearch, Field) - Static method in class com.trg.search.SearchUtil
 
removeField(IMutableSearch, String) - Static method in class com.trg.search.SearchUtil
 
removeField(IMutableSearch, String, String) - Static method in class com.trg.search.SearchUtil
 
removeFilter(Filter) - Method in class com.trg.search.Search
 
removeFilter(IMutableSearch, Filter) - Static method in class com.trg.search.SearchUtil
 
removeFiltersOnProperty(String) - Method in class com.trg.search.Search
Remove all filters on the given property.
removeFiltersOnProperty(IMutableSearch, String) - Static method in class com.trg.search.SearchUtil
Remove all filters on the given property.
removeSort(Sort) - Method in class com.trg.search.Search
 
removeSort(String) - Method in class com.trg.search.Search
 
removeSort(IMutableSearch, Sort) - Static method in class com.trg.search.SearchUtil
 
removeSort(IMutableSearch, String) - Static method in class com.trg.search.SearchUtil
 
result - Variable in class com.trg.search.SearchResult
 
RESULT_ARRAY - Static variable in interface com.trg.search.ISearch
Value for result mode.
RESULT_AUTO - Static variable in interface com.trg.search.ISearch
Value for result mode.
RESULT_LIST - Static variable in interface com.trg.search.ISearch
Value for result mode.
RESULT_MAP - Static variable in interface com.trg.search.ISearch
Value for result mode.
RESULT_SINGLE - Static variable in interface com.trg.search.ISearch
Value for result mode.
resultMode - Variable in class com.trg.search.flex.FlexSearch
 
resultMode - Variable in class com.trg.search.Search
 
ROOT_ENTITY - Static variable in class com.trg.search.Field
Property string representing the root entity of the search.
ROOT_ENTITY - Static variable in class com.trg.search.Filter
Property string representing the root entity of the search.
ROOT_PATH - Static variable in class com.trg.search.BaseSearchProcessor
 
rootAlias - Variable in class com.trg.search.BaseSearchProcessor
 

S

search(ISearch) - Method in class com.trg.search.jpa.JPASearchFacade
 
search(Class<?>, ISearch) - Method in class com.trg.search.jpa.JPASearchFacade
 
search(EntityManager, ISearch) - Method in class com.trg.search.jpa.JPASearchProcessor
Search for objects based on the search parameters in the specified ISearch object.
search(EntityManager, Class<?>, ISearch) - Method in class com.trg.search.jpa.JPASearchProcessor
Search for objects based on the search parameters in the specified ISearch object.
Search - Class in com.trg.search
A convenient fully-featured implementation of ISearch and IMutableSearch for general use in Java code.
Search() - Constructor for class com.trg.search.Search
 
Search(Class<?>) - Constructor for class com.trg.search.Search
 
search(ISearch) - Method in interface com.trg.search.SearchFacade
Search for objects based on the search parameters in the specified ISearch object.
search(Class<?>, ISearch) - Method in interface com.trg.search.SearchFacade
Search for objects based on the search parameters in the specified ISearch object.
searchAndCount(ISearch) - Method in class com.trg.search.jpa.JPASearchFacade
 
searchAndCount(Class<?>, ISearch) - Method in class com.trg.search.jpa.JPASearchFacade
 
searchAndCount(EntityManager, ISearch) - Method in class com.trg.search.jpa.JPASearchProcessor
Returns a SearchResult object that includes the list of results like search() and the total length like searchLength.
searchAndCount(EntityManager, Class<?>, ISearch) - Method in class com.trg.search.jpa.JPASearchProcessor
Returns a SearchResult object that includes the list of results like search() and the total length like searchLength.
searchAndCount(ISearch) - Method in interface com.trg.search.SearchFacade
Returns a SearchResult object that includes the list of results like search() and the total length like searchLength.
searchAndCount(Class<?>, ISearch) - Method in interface com.trg.search.SearchFacade
Returns a SearchResult object that includes the list of results like search() and the total length like searchLength.
searchClass - Variable in class com.trg.search.Search
 
searchClassName - Variable in class com.trg.search.flex.FlexSearch
 
SearchFacade - Interface in com.trg.search
SearchFacade provides a clean interface to the Search APIs.
SearchResult<T> - Class in com.trg.search
This class is used to return the results of searchAndCount() operations.
SearchResult() - Constructor for class com.trg.search.SearchResult
 
searchUnique(ISearch) - Method in class com.trg.search.jpa.JPASearchFacade
 
searchUnique(Class<?>, ISearch) - Method in class com.trg.search.jpa.JPASearchFacade
 
searchUnique(EntityManager, ISearch) - Method in class com.trg.search.jpa.JPASearchProcessor
Search for a single result using the given parameters.
searchUnique(EntityManager, Class<?>, ISearch) - Method in class com.trg.search.jpa.JPASearchProcessor
Search for a single result using the given parameters.
searchUnique(ISearch) - Method in interface com.trg.search.SearchFacade
Search for a single result using the given parameters.
searchUnique(Class<?>, ISearch) - Method in interface com.trg.search.SearchFacade
Search for a single result using the given parameters.
SearchUtil - Class in com.trg.search
Utilities for working with searches ISearch, IMutableSearch.
SearchUtil() - Constructor for class com.trg.search.SearchUtil
 
SearchUtil.FilterVisitor - Class in com.trg.search
Visitor for use with walkFilter and walkFilters
SearchUtil.FilterVisitor() - Constructor for class com.trg.search.SearchUtil.FilterVisitor
 
SearchUtil.ItemVisitor<T> - Class in com.trg.search
Visitor for use with walkList()
SearchUtil.ItemVisitor() - Constructor for class com.trg.search.SearchUtil.ItemVisitor
 
securityCheckProperty(String) - Method in class com.trg.search.BaseSearchProcessor
Used by securityCheck() to check a property string for injection attack.
setDesc(boolean) - Method in class com.trg.search.Sort
 
setDisjunction(boolean) - Method in class com.trg.search.flex.FlexSearch
 
setDisjunction(boolean) - Method in interface com.trg.search.IMutableSearch
 
setDisjunction(boolean) - Method in class com.trg.search.Search
Filters added to a search are "ANDed" together if this is false (default) and "ORed" if it is set to true.
setDistinct(boolean) - Method in class com.trg.search.flex.FlexSearch
 
setDistinct(boolean) - Method in interface com.trg.search.IMutableSearch
 
setDistinct(boolean) - Method in class com.trg.search.Search
 
setEntityManager(EntityManager) - Method in class com.trg.search.jpa.JPASearchFacade
 
setExcludeNulls(boolean) - Method in class com.trg.search.ExampleOptions
If this is true, all properties with null values will be ignored.
setExcludeProps(Collection<String>) - Method in class com.trg.search.ExampleOptions
This is a list of properties to exclude.
setExcludeZeros(boolean) - Method in class com.trg.search.ExampleOptions
If this is true, all properties with the value 0 will be ignored.
setFetches(String[]) - Method in class com.trg.search.flex.FlexSearch
 
setFetches(List<String>) - Method in interface com.trg.search.IMutableSearch
 
setFetches(List<String>) - Method in class com.trg.search.Search
 
setFields(Field[]) - Method in class com.trg.search.flex.FlexSearch
 
setFields(List<Field>) - Method in interface com.trg.search.IMutableSearch
 
setFields(List<Field>) - Method in class com.trg.search.Search
 
setFilters(Filter[]) - Method in class com.trg.search.flex.FlexSearch
 
setFilters(List<Filter>) - Method in interface com.trg.search.IMutableSearch
 
setFilters(List<Filter>) - Method in class com.trg.search.Search
 
setFirstResult(int) - Method in class com.trg.search.flex.FlexSearch
 
setFirstResult(int) - Method in interface com.trg.search.IMutableSearch
 
setFirstResult(int) - Method in class com.trg.search.Search
 
setIgnoreCase(boolean) - Method in class com.trg.search.ExampleOptions
If this is true, case is ignored when comparing string values.
setIgnoreCase(boolean) - Method in class com.trg.search.Sort
 
setKey(String) - Method in class com.trg.search.Field
 
setLikeMode(int) - Method in class com.trg.search.ExampleOptions
This options describes how all string values are compared.
setMaxResults(int) - Method in class com.trg.search.flex.FlexSearch
 
setMaxResults(int) - Method in interface com.trg.search.IMutableSearch
 
setMaxResults(int) - Method in class com.trg.search.Search
 
setOperator(int) - Method in class com.trg.search.Field
 
setOperator(int) - Method in class com.trg.search.Filter
 
setPage(int) - Method in class com.trg.search.flex.FlexSearch
 
setPage(int) - Method in interface com.trg.search.IMutableSearch
 
setPage(int) - Method in class com.trg.search.Search
 
setProperty(String) - Method in class com.trg.search.Field
 
setProperty(String) - Method in class com.trg.search.Filter
 
setProperty(String) - Method in class com.trg.search.Sort
 
setResult(List<T>) - Method in class com.trg.search.SearchResult
The results of the search.
setResultMode(int) - Method in class com.trg.search.flex.FlexSearch
 
setResultMode(int) - Method in interface com.trg.search.IMutableSearch
 
setResultMode(int) - Method in class com.trg.search.Search
 
setRootAlias(String) - Method in class com.trg.search.BaseSearchProcessor.SearchContext
 
setRootAlias(String) - Method in class com.trg.search.BaseSearchProcessor
This is the string used to represent the root entity of the search within the query.
setSearchClass(Class<?>) - Method in interface com.trg.search.IMutableSearch
 
setSearchClass(Class<?>) - Method in class com.trg.search.Search
 
setSearchClassName(String) - Method in class com.trg.search.flex.FlexSearch
 
setSearchProcessor(JPASearchProcessor) - Method in class com.trg.search.jpa.JPASearchFacade
 
setSorts(Sort[]) - Method in class com.trg.search.flex.FlexSearch
 
setSorts(List<Sort>) - Method in interface com.trg.search.IMutableSearch
 
setSorts(List<Sort>) - Method in class com.trg.search.Search
 
setTotalCount(int) - Method in class com.trg.search.SearchResult
The total number of results that would have been returned if no maxResults had been specified. (-1 means unspecified.)
setValue(Object) - Method in class com.trg.search.Filter
 
shallowCopy(ISearch, IMutableSearch) - Static method in class com.trg.search.SearchUtil
Copy the contents of the source search object to the destination search object, overriding any contents previously found in the destination.
shallowCopy(ISearch) - Static method in class com.trg.search.SearchUtil
Copy the contents of the source search object to the destination search object, overriding any contents previously found in the destination.
some(String, Filter) - Static method in class com.trg.search.Filter
Create a new Filter using the SOME operator.
Sort - Class in com.trg.search
 
Sort() - Constructor for class com.trg.search.Sort
 
Sort(String, boolean, boolean) - Constructor for class com.trg.search.Sort
 
Sort(String, boolean) - Constructor for class com.trg.search.Sort
 
Sort(String) - Constructor for class com.trg.search.Sort
 
sorts - Variable in class com.trg.search.flex.FlexSearch
 
sorts - Variable in class com.trg.search.Search
 
splitPath(BaseSearchProcessor.SearchContext, String) - Method in class com.trg.search.BaseSearchProcessor
Split a path into two parts.
START - Static variable in class com.trg.search.ExampleOptions
 

T

toString() - Method in class com.trg.search.Field
 
toString() - Method in class com.trg.search.Filter
 
toString() - Method in class com.trg.search.Search
 
toString(ISearch) - Static method in class com.trg.search.SearchUtil
Return a human-readable string describing the contents of the given search.
toString() - Method in class com.trg.search.Sort
 
totalCount - Variable in class com.trg.search.SearchResult
 

V

value - Variable in class com.trg.search.Filter
The value to compare the property with.
visit(T) - Method in class com.trg.search.SearchUtil.ItemVisitor
 
visitAfter(Filter) - Method in class com.trg.search.SearchUtil.FilterVisitor
 
visitBefore(Filter) - Method in class com.trg.search.SearchUtil.FilterVisitor
 

W

walkFilter(Filter, SearchUtil.FilterVisitor, boolean) - Static method in class com.trg.search.SearchUtil
Walk a filter and all its sub filters, visiting each filter in the tree.
walkFilters(List<Filter>, SearchUtil.FilterVisitor, boolean) - Static method in class com.trg.search.SearchUtil
Walk through a list of filters and all the sub filters, visiting each filter in the tree.
walkList(List<T>, SearchUtil.ItemVisitor<T>, boolean) - Static method in class com.trg.search.SearchUtil
Visit each non-null item is a list.

A B C D E F G H I J K L M N O P Q R S T V W

Copyright © 2008-2010 eBM WebSourcing. All Rights Reserved.