Class TemplateServiceImpl
java.lang.Object
org.flowable.common.engine.impl.service.CommonServiceImpl<C>
org.flowable.common.engine.impl.service.CommonEngineServiceImpl<TemplateEngineConfiguration>
com.flowable.template.engine.impl.runtime.TemplateServiceImpl
- All Implemented Interfaces:
TemplateService
public class TemplateServiceImpl
extends CommonEngineServiceImpl<TemplateEngineConfiguration>
implements TemplateService
The template service implements methods supporting the creation and rendering of
TemplateVariationModel
. For the rendering part, it uses
registered TemplateProcessor
mapped to types for the lookup.- Author:
- Micha Kiener
-
Field Summary
Fields inherited from class org.flowable.common.engine.impl.service.CommonEngineServiceImpl
commandExecutor
Fields inherited from class org.flowable.common.engine.impl.service.CommonServiceImpl
configuration
-
Constructor Summary
ConstructorDescriptionTemplateServiceImpl
(TemplateEngineConfiguration engineConfiguration) TemplateServiceImpl
(TemplateEngineConfiguration engineConfiguration, CommandExecutor commandExecutor) -
Method Summary
Modifier and TypeMethodDescriptionprocessTemplate
(TemplateProcessingBuilderImpl templateProcessingBuilder) processTemplateContent
(TemplateContentProcessingBuilderImpl templateContentProcessingBuilder) Methods inherited from class org.flowable.common.engine.impl.service.CommonEngineServiceImpl
getCommandExecutor, setCommandExecutor
Methods inherited from class org.flowable.common.engine.impl.service.CommonServiceImpl
getConfiguration
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.flowable.template.api.TemplateService
processTemplate, processTemplate, processTemplate
-
Constructor Details
-
TemplateServiceImpl
-
TemplateServiceImpl
public TemplateServiceImpl(TemplateEngineConfiguration engineConfiguration, CommandExecutor commandExecutor)
-
-
Method Details
-
createTemplateProcessingBuilder
- Specified by:
createTemplateProcessingBuilder
in interfaceTemplateService
-
createTemplateContentProcessingBuilder
- Specified by:
createTemplateContentProcessingBuilder
in interfaceTemplateService
-
processTemplate
public TemplateProcessingResult processTemplate(TemplateProcessingBuilderImpl templateProcessingBuilder) -
processTemplateContent
public String processTemplateContent(TemplateContentProcessingBuilderImpl templateContentProcessingBuilder)
-