Package io.jmix.securitydata.impl
Class CurrentLocaleQueryParamValueProvider
java.lang.Object
io.jmix.securitydata.impl.CurrentLocaleQueryParamValueProvider
- All Implemented Interfaces:
QueryParamValueProvider
@Component("sec_CurrentLocaleQueryParamValueProvider")
@Order(700)
public class CurrentLocaleQueryParamValueProvider
extends Object
implements QueryParamValueProvider
Takes query parameter values from the locale of the current authentication.
Parameter name must be current_locale
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCurrentLocaleQueryParamValueProvider
(CurrentAuthentication currentAuthentication) -
Method Summary
-
Field Details
-
CURRENT_LOCALE_PARAM
- See Also:
-
currentAuthentication
-
-
Constructor Details
-
CurrentLocaleQueryParamValueProvider
-
-
Method Details
-
supports
Description copied from interface:QueryParamValueProvider
Returns true if this provider supports the given parameter.- Specified by:
supports
in interfaceQueryParamValueProvider
-
getValue
Description copied from interface:QueryParamValueProvider
Returns a value for the given parameter.- Specified by:
getValue
in interfaceQueryParamValueProvider
-