public class SearchQueryBuilderFront
extends java.lang.Object
SearcherPanel
instance and the DataMainActivity
in providing the final
query to be used in the search process.
For this it provides the addToWhere(Term term)
that builds the where
clause contribution due to the Term
object. If the Accessor mode is
on a direct contribution is provided by the class: the where clause, in this way
composed, will be packaged on a BasicPostStatement object for delivery.
If the Accessor mode is off the class offers the getQuery
method in
which a delegated object (a SearchQueryBuilderBack
instance), using
the data up to that point built, returns the final query.
SearchQueryBuilderBack
Modifier and Type | Class and Description |
---|---|
static interface |
SearchQueryBuilderFront.TermContributor |
Modifier and Type | Field and Description |
---|---|
org.joty.common.SearchQueryBuilderBack |
m_backDelegate |
java.lang.String |
m_orderByClause |
java.lang.String |
m_setDefinition |
java.lang.String |
m_whereClause |
Constructor and Description |
---|
SearchQueryBuilderFront(JotyApplication app,
SearchQueryBuilderFront.TermContributor termContributor) |
Modifier and Type | Method and Description |
---|---|
void |
addToWhere(WrappedField term) |
void |
clearWhere() |
public java.lang.String m_setDefinition
public java.lang.String m_whereClause
public java.lang.String m_orderByClause
public org.joty.common.SearchQueryBuilderBack m_backDelegate
public SearchQueryBuilderFront(JotyApplication app, SearchQueryBuilderFront.TermContributor termContributor)
public void addToWhere(WrappedField term)
public void clearWhere()