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 aContextLang
and the current lang.
Needed because at the time of theSearchContext.ContextLangAndCurrentLang
constructor call, the Query cannot be created yet, even though the current lang is known (theReturnable
s 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>>)
-
-
Field Summary
Fields Modifier and Type Field Description (package private) ContextLang
_contextLangs
(package private) String
_currentLang
-
Constructor Summary
Constructors Constructor Description ContextLangAndCurrentLang(ContextLang contextLangs, String currentLang)
-
-
-
Field Detail
-
_contextLangs
ContextLang _contextLangs
-
_currentLang
String _currentLang
-
-
Constructor Detail
-
ContextLangAndCurrentLang
ContextLangAndCurrentLang(ContextLang contextLangs, String currentLang)
-
-