Package io.jmix.dynattrflowui.impl
Class AttributeOptionsLoaderImpl
java.lang.Object
io.jmix.dynattrflowui.impl.AttributeOptionsLoaderImpl
- All Implemented Interfaces:
- AttributeOptionsLoader
@Component("dynat_AttributeOptionsLoader")
public class AttributeOptionsLoaderImpl
extends Object
implements AttributeOptionsLoader
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic interfaceprotected static class
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected static final Patternprotected DataManagerprotected static final Stringprotected static final Stringprotected final Map<String,AttributeOptionsLoaderImpl.OptionsLoaderStrategy> protected Metadataprotected org.springframework.scripting.ScriptEvaluatorprotected StoreAwareLocator
- 
Constructor SummaryConstructorsConstructorDescriptionAttributeOptionsLoaderImpl(StoreAwareLocator storeAwareLocator, DataManager dataManager, Metadata metadata, org.springframework.scripting.ScriptEvaluator scriptEvaluator) 
- 
Method SummaryModifier and TypeMethodDescriptionprotected LoadContext.QuerybuildJpqlQuery(String script, Map<String, Object> params) protected AttributeOptionsLoaderImpl.SqlQuerybuildSqlQuery(String script, Map<String, Object> params) protected List<?>executeGroovyScript(Object entity, AttributeDefinition attribute, String script) protected List<?>executeJpql(Object entity, AttributeDefinition attribute, String script) protected List<?>executeSql(Object entity, AttributeDefinition attribute, String script) protected ObjectgetQueryParameterValue(String name, Map<String, Object> params) voidinit()List<?>loadOptions(Object entity, AttributeDefinition attribute) resolveLoaderStrategy(OptionsLoaderType loaderType) 
- 
Field Details- 
loaderStrategies
- 
storeAwareLocator
- 
dataManager
- 
metadata
- 
scriptEvaluatorprotected org.springframework.scripting.ScriptEvaluator scriptEvaluator
- 
ENTITY_QUERY_PARAM- See Also:
 
- 
ENTITY_FIELD_QUERY_PARAM- See Also:
 
- 
COMMON_PARAM_PATTERN
 
- 
- 
Constructor Details- 
AttributeOptionsLoaderImplpublic AttributeOptionsLoaderImpl(StoreAwareLocator storeAwareLocator, DataManager dataManager, Metadata metadata, org.springframework.scripting.ScriptEvaluator scriptEvaluator) 
 
- 
- 
Method Details- 
init@PostConstruct public void init()
- 
loadOptions- Specified by:
- loadOptionsin interface- AttributeOptionsLoader
 
- 
resolveLoaderStrategyprotected AttributeOptionsLoaderImpl.OptionsLoaderStrategy resolveLoaderStrategy(OptionsLoaderType loaderType) 
- 
executeSql
- 
buildSqlQueryprotected AttributeOptionsLoaderImpl.SqlQuery buildSqlQuery(String script, Map<String, Object> params) 
- 
getQueryParameterValue
- 
executeJpql
- 
buildJpqlQuery
- 
executeGroovyScript
 
-