public interface I_CmsSearchController
| Modifier and Type | Field and Description |
|---|---|
static java.util.List<java.lang.String> |
SET_VARIABLES
Solr query params that can have only one value.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addParametersForCurrentState(java.util.Map<java.lang.String,java.lang.String[]> parameters)
Add the request parameters that reflect the controllers current state (useful for link generation outside of a form).
|
default void |
addQueryParts(CmsSolrQuery query)
Deprecated.
use
addQueryParts(CmsSolrQuery, CmsObject) instead. |
void |
addQueryParts(CmsSolrQuery query,
CmsObject cms)
Generate the Solr query part specific for the controller, e.g., the part for a field facet.
|
void |
updateForQueryChange()
Update the controllers state in case the term that is search for (the query as given by the user) has changed.
|
void |
updateFromRequestParameters(java.util.Map<java.lang.String,java.lang.String[]> parameters,
boolean isRepeated)
Update the controllers state from the given request parameters.
|
static final java.util.List<java.lang.String> SET_VARIABLES
void addParametersForCurrentState(java.util.Map<java.lang.String,java.lang.String[]> parameters)
parameters - The request parameters reflecting the controllers currents state.@Deprecated default void addQueryParts(CmsSolrQuery query)
addQueryParts(CmsSolrQuery, CmsObject) instead.query - A, possibly empty, query, where further query parts are addedvoid addQueryParts(CmsSolrQuery query, CmsObject cms)
query - A, possibly empty, query, where further query parts are addedcms - the current context to resolve context-specific macros.void updateForQueryChange()
void updateFromRequestParameters(java.util.Map<java.lang.String,java.lang.String[]> parameters, boolean isRepeated)
parameters - The request parameters.isRepeated - a flag, indicating, if the search is performed repeatedly, opposed to entering the search page for the first time.