public final class ActivitiTemplateService extends Object implements TemplateService
Constructor and Description |
---|
ActivitiTemplateService(com.edorasware.gear.core.expression.GearExpressionResolver expressionResolver) |
Modifier and Type | Method and Description |
---|---|
void |
init() |
String |
processTemplate(String templateText,
com.edorasware.commons.core.entity.WorkObject<?,?,?> workObject)
Process a template string in the context of a given work object;
|
String |
processTemplate(String templateText,
com.edorasware.commons.core.entity.WorkObject<?,?,?> workObject,
Map<String,Object> additionalMappings)
Process a template string in the context of a given work object;
|
@Autowired public ActivitiTemplateService(com.edorasware.gear.core.expression.GearExpressionResolver expressionResolver)
public void init()
init
in interface com.edorasware.commons.core.util.service.Service
public String processTemplate(String templateText, com.edorasware.commons.core.entity.WorkObject<?,?,?> workObject)
TemplateService
processTemplate
in interface TemplateService
templateText
- the template stringworkObject
- the work object contextpublic String processTemplate(String templateText, com.edorasware.commons.core.entity.WorkObject<?,?,?> workObject, Map<String,Object> additionalMappings)
TemplateService
processTemplate
in interface TemplateService
templateText
- the template stringworkObject
- the work object contextadditionalMappings
- Additional mappings.Copyright © 2010 - 2017 edorasware ag. All Rights Reserved.