|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object info.magnolia.cms.gui.controlx.search.QueryBuilder
public class QueryBuilder
Constructor Summary | |
---|---|
QueryBuilder(RepositorySearchListModel model)
package private |
Method Summary | |
---|---|
protected java.lang.String |
buildOrderByClause()
Order clause |
protected java.lang.String |
buildWhereClause()
Build the complete where clause |
protected java.lang.String |
buildWhereClause(SearchQueryExpression expression)
NOTE : its a very simple in-order binary traversal, order of operation is not preserved |
java.lang.String |
getSQLStatement()
get SQL statement based on SearchQuery |
boolean |
isUseJCROrderBy()
|
void |
setUseJCROrderBy(boolean useJCROrderBy)
|
protected java.lang.String |
toDateJCRExpression(DateSearchQueryParameter param)
Make a jcr expression out of the expression |
protected java.lang.String |
toJCRExpression(SearchQueryExpression expression)
Make a jcr expression out of the expression |
protected java.lang.String |
toStringJCRExpression(StringSearchQueryParameter param)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public QueryBuilder(RepositorySearchListModel model)
model
- Method Detail |
---|
public java.lang.String getSQLStatement()
protected java.lang.String buildWhereClause()
protected java.lang.String buildOrderByClause()
protected java.lang.String buildWhereClause(SearchQueryExpression expression)
expression
- protected java.lang.String toJCRExpression(SearchQueryExpression expression)
expression
-
protected java.lang.String toDateJCRExpression(DateSearchQueryParameter param)
param
-
protected java.lang.String toStringJCRExpression(StringSearchQueryParameter param)
param
-
public boolean isUseJCROrderBy()
public void setUseJCROrderBy(boolean useJCROrderBy)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |