Package io.jmix.data.impl.querymacro
Class TimeTodayQueryMacroHandler
java.lang.Object
io.jmix.data.impl.querymacro.AbstractQueryMacroHandler
io.jmix.data.impl.querymacro.TimeTodayQueryMacroHandler
- All Implemented Interfaces:
- QueryMacroHandler
@Component("data_TimeTodayQueryMacroHandler")
@Scope("prototype")
public class TimeTodayQueryMacroHandler
extends AbstractQueryMacroHandler
- 
Nested Class SummaryNested Classes
- 
Field SummaryFieldsFields inherited from class io.jmix.data.impl.querymacro.AbstractQueryMacroHandlercurrentAuthentication, expandedParamTypes, macroPattern
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected StringreplaceQueryParams(String queryString, Map<String, Object> params) Replaces param names inqueryStringwith its values from theparamsparameter.voidsetQueryParams(Map<String, Object> namedParameters) Sets parameters of the expanded query to the macro handler.Methods inherited from class io.jmix.data.impl.querymacro.AbstractQueryMacroHandlerexpandMacro, getTimeZoneFromArgs, setCurrentAuthentication, setExpandedParamTypes
- 
Field Details- 
transformations
- 
timeSource
 
- 
- 
Constructor Details- 
TimeTodayQueryMacroHandlerpublic TimeTodayQueryMacroHandler()
 
- 
- 
Method Details- 
setQueryParamsDescription copied from interface:QueryMacroHandlerSets parameters of the expanded query to the macro handler.- Parameters:
- namedParameters- all named parameters of the expanded query
 
- 
getParams- Returns:
- all named parameters of the expanded query augmented with the macro parameters
 
- 
replaceQueryParamsDescription copied from interface:QueryMacroHandlerReplaces param names inqueryStringwith its values from theparamsparameter. If macro is not found, the source query string is returned.- Returns:
- modified query string
 
- 
doExpand- Specified by:
- doExpandin class- AbstractQueryMacroHandler
 
 
-