Class SearchContext.ContextLangAndCurrentLang
- java.lang.Object
-
- org.ametys.web.frontoffice.search.instance.model.SearchContext.ContextLangAndCurrentLang
-
- Enclosing class:
- SearchContext
public static final class SearchContext.ContextLangAndCurrentLang extends Object
Class wrapping aContextLangand the current lang.
Needed because at the time of theSearchContext.ContextLangAndCurrentLangconstructor call, the Query cannot be created yet, even though the current lang is known (theReturnables are responsible for creating the query viaSearchContext.LangQueryProducer)- See Also:
SearchContext.LangQueryProducer,Returnable.filterReturnedDocumentQuery(java.util.Collection<org.ametys.web.frontoffice.search.metamodel.context.ContextQueriesWrapper>, org.ametys.web.frontoffice.search.metamodel.AdditionalParameterValueMap),ContextQueriesWrapper.getQuery(java.util.Collection<org.ametys.web.frontoffice.search.metamodel.context.ContextQueriesWrapper>, java.util.Optional<java.util.function.Function<org.ametys.cms.search.query.Query, org.ametys.cms.search.query.Query>>, java.util.Optional<java.util.function.Function<org.ametys.cms.search.query.Query, org.ametys.cms.search.query.Query>>, java.util.Optional<org.ametys.web.frontoffice.search.instance.model.SearchContext.LangQueryProducer>, java.util.Optional<java.util.function.Function<org.ametys.cms.search.query.Query, org.ametys.cms.search.query.Query>>)