Class EntityTemplateServiceImpl
java.lang.Object
ch.tocco.nice2.netui.impl.bind.protocols.template.EntityTemplateServiceImpl
- All Implemented Interfaces:
EntityTemplateService
-
Nested Class Summary
Nested classes/interfaces inherited from interface ch.tocco.nice2.netui.api.bind.entity.EntityTemplateService
EntityTemplateService.SetOnTemplateValue, EntityTemplateService.TemplateBean
-
Constructor Summary
ConstructorDescriptionEntityTemplateServiceImpl
(CommandExecutor executor, TypeManager typeManager, Context context, QueryBuilderFactory queryBuilderFactory, DataModel dataModel, TemplateBlacklist templateBlacklist) -
Method Summary
Modifier and TypeMethodDescriptionvoid
deleteTemplate
(String id) findTemplates
(String baseModel, String id) getNextSorting
(String entityName) @Nullable String
getReverseRelationName
(String entityName, String relationName) getSetOnTemplateValues
(String entityName) void
setFieldHandlers
(List<TemplateEntityFieldHandler> fieldHandlers)
-
Constructor Details
-
EntityTemplateServiceImpl
public EntityTemplateServiceImpl(CommandExecutor executor, TypeManager typeManager, Context context, QueryBuilderFactory queryBuilderFactory, DataModel dataModel, TemplateBlacklist templateBlacklist)
-
-
Method Details
-
setFieldHandlers
-
findTemplates
- Specified by:
findTemplates
in interfaceEntityTemplateService
-
deleteTemplate
- Specified by:
deleteTemplate
in interfaceEntityTemplateService
- Throws:
PersistException
InterruptedException
-
getNextSorting
- Specified by:
getNextSorting
in interfaceEntityTemplateService
- Throws:
PersistException
-
getReverseRelationName
- Specified by:
getReverseRelationName
in interfaceEntityTemplateService
-
getSetOnTemplateValues
- Specified by:
getSetOnTemplateValues
in interfaceEntityTemplateService
-