Class TextSearchBuilder
- java.lang.Object
-
- org.hippoecm.frontend.plugins.standards.search.GeneralSearchBuilder
-
- org.hippoecm.frontend.plugins.standards.search.TextSearchBuilder
-
- All Implemented Interfaces:
Serializable
,org.apache.wicket.util.io.IClusterable
public class TextSearchBuilder extends GeneralSearchBuilder implements org.apache.wicket.util.io.IClusterable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.hippoecm.frontend.plugins.standards.search.GeneralSearchBuilder
TEXT_QUERY_NAME
-
-
Constructor Summary
Constructors Constructor Description TextSearchBuilder()
TextSearchBuilder(String queryName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
appendIncludedPrimaryNodeTypeFilter(StringBuilder sb)
Translates the included primary type(s) to a filter for a JCR xpath query.protected void
appendScope(StringBuilder sb)
-
Methods inherited from class org.hippoecm.frontend.plugins.standards.search.GeneralSearchBuilder
appendContains, appendExcludedPrimaryNodeTypeFilter, appendExtraWhereClauses, appendOrderByClause, buildTypesString, formatJcrContains, getIgnoredChars, getIncludePrimaryTypes, getMinimalLength, getQueryStringBuilder, getResultModel, getScope, getText, getWhereClause, isoLatin1AccentReplacer, isWildcardSearch, setExcludedPrimaryTypes, setIgnoredChars, setIncludePrimaryTypes, setLimit, setMinimalLength, setScope, setText, setWildcardSearch
-
-
-
-
Constructor Detail
-
TextSearchBuilder
public TextSearchBuilder()
-
TextSearchBuilder
public TextSearchBuilder(String queryName)
-
-
Method Detail
-
appendScope
protected void appendScope(StringBuilder sb)
- Overrides:
appendScope
in classGeneralSearchBuilder
-
appendIncludedPrimaryNodeTypeFilter
protected void appendIncludedPrimaryNodeTypeFilter(StringBuilder sb)
Translates the included primary type(s) to a filter for a JCR xpath query. Adds an xpath condition with configured document types or a clause that queries hippo:document and all its subtypes if no document type filter is configured- Overrides:
appendIncludedPrimaryNodeTypeFilter
in classGeneralSearchBuilder
-
-