|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use BaseSearchProcessor.SearchContext | |
|---|---|
| com.googlecode.genericdao.search | |
| Uses of BaseSearchProcessor.SearchContext in com.googlecode.genericdao.search |
|---|
| Methods in com.googlecode.genericdao.search with parameters of type BaseSearchProcessor.SearchContext | |
|---|---|
protected void |
BaseSearchProcessor.appendCustomExpression(StringBuilder sb,
BaseSearchProcessor.SearchContext ctx,
String expression)
append a custom expression to the string builder, replacing any property tokens (i.e "{prop}") with a reference to the property. |
protected void |
BaseSearchProcessor.appendCustomExpression(StringBuilder sb,
BaseSearchProcessor.SearchContext ctx,
String expression,
List<?> values)
append a custom expression to the string builder, replacing any property tokens (i.e "{prop}") with a reference to the property and value tokens (i.e. |
protected void |
BaseSearchProcessor.applyFetches(BaseSearchProcessor.SearchContext ctx,
List<String> fetches,
List<Field> fields)
Apply the fetch list to the alias tree in the search context. |
protected String |
BaseSearchProcessor.filterToQL(BaseSearchProcessor.SearchContext ctx,
Filter filter)
Recursively generate the QL fragment for a given search filter option. |
protected String |
BaseSearchProcessor.generateFromClause(BaseSearchProcessor.SearchContext ctx,
boolean doEagerFetching)
Internal method for generating from clause. |
protected String |
BaseSearchProcessor.generateJoins(BaseSearchProcessor.SearchContext ctx,
boolean doEagerFetching)
Internal method for generating the join portion of the from clause. |
protected String |
BaseSearchProcessor.generateOrderByClause(BaseSearchProcessor.SearchContext ctx,
List<Sort> sorts)
Internal method for generating order by clause. |
protected String |
BaseSearchProcessor.generateSelectClause(BaseSearchProcessor.SearchContext ctx,
List<Field> fields,
boolean distinct)
Internal method for generating the select clause based on the fields of the given search. |
protected String |
BaseSearchProcessor.generateSimpleAllOrSome(BaseSearchProcessor.SearchContext ctx,
String property,
Filter filter,
String operation)
In the case of simple ALL/SOME/NONE filters, a simpler hql syntax is used (which is also compatible with collections of values). |
protected String |
BaseSearchProcessor.generateSubquery(BaseSearchProcessor.SearchContext ctx,
String property,
Filter filter)
Generate a QL string for a subquery on the given property that uses the given filter. |
protected String |
BaseSearchProcessor.generateWhereClause(BaseSearchProcessor.SearchContext ctx,
List<Filter> filters,
boolean isDisjunction)
Internal method for generating where clause for given search. |
protected BaseSearchProcessor.AliasNode |
BaseSearchProcessor.getAlias(BaseSearchProcessor.SearchContext ctx,
String path,
boolean setFetch)
Given a full path to an entity (ex. |
protected String |
BaseSearchProcessor.getPathRef(BaseSearchProcessor.SearchContext ctx,
String path)
Given a full path to a property (ex. |
protected String |
BaseSearchProcessor.param(BaseSearchProcessor.SearchContext ctx,
Object value)
Add value to paramList and return the named parameter string ":pX". |
protected String[] |
BaseSearchProcessor.splitPath(BaseSearchProcessor.SearchContext ctx,
String path)
Split a path into two parts. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||