public static final class SearchContext.ContextLangAndCurrentLang extends Object
ContextLang and the current lang.
SearchContext.ContextLangAndCurrentLang constructor call, the Query cannot be created yet, even though the current lang is known (the Returnables are responsible for creating the query via SearchContext.LangQueryProducer)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>>)| Modifier and Type | Field and Description |
|---|---|
(package private) ContextLang |
_contextLangs |
(package private) String |
_currentLang |
| Constructor and Description |
|---|
ContextLangAndCurrentLang(ContextLang contextLangs,
String currentLang) |
ContextLang _contextLangs
String _currentLang
ContextLangAndCurrentLang(ContextLang contextLangs, String currentLang)