Interface I_CmsSearchController

    • Field Detail

      • SET_VARIABLES

        static final java.util.List<java.lang.String> SET_VARIABLES
        Solr query params that can have only one value.
    • Method Detail

      • addParametersForCurrentState

        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).
        Parameters:
        parameters - The request parameters reflecting the controllers currents state.
      • addQueryParts

        @Deprecated
        default void addQueryParts​(CmsSolrQuery query)
        Deprecated.
        Generate the Solr query part specific for the controller, e.g., the part for a field facet.
        Parameters:
        query - A, possibly empty, query, where further query parts are added
      • addQueryParts

        void addQueryParts​(CmsSolrQuery query,
                           CmsObject cms)
        Generate the Solr query part specific for the controller, e.g., the part for a field facet.
        Parameters:
        query - A, possibly empty, query, where further query parts are added
        cms - the current context to resolve context-specific macros.
      • updateForQueryChange

        void updateForQueryChange()
        Update the controllers state in case the term that is search for (the query as given by the user) has changed.
      • updateFromRequestParameters

        void updateFromRequestParameters​(java.util.Map<java.lang.String,​java.lang.String[]> parameters,
                                         boolean isRepeated)
        Update the controllers state from the given request parameters.
        Parameters:
        parameters - The request parameters.
        isRepeated - a flag, indicating, if the search is performed repeatedly, opposed to entering the search page for the first time.