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,
List<com.edorasware.commons.core.entity.WorkObject<?,?,?>> contextWorkObjects)
Process the specified template string in the context of the given work objects.
|
String |
processTemplate(String templateText,
List<com.edorasware.commons.core.entity.WorkObject<?,?,?>> contextWorkObjects,
Map<String,Object> additionalContext)
Process the specified template in the context of the given work objects and the additional context.
|
@Autowired public ActivitiTemplateService(com.edorasware.gear.core.expression.GearExpressionResolver expressionResolver)
public void init()
init in interface com.edorasware.commons.core.util.service.Servicepublic String processTemplate(String templateText, List<com.edorasware.commons.core.entity.WorkObject<?,?,?>> contextWorkObjects)
TemplateServiceprocessTemplate in interface TemplateServicetemplateText - the template stringcontextWorkObjects - the context work objectspublic String processTemplate(String templateText, List<com.edorasware.commons.core.entity.WorkObject<?,?,?>> contextWorkObjects, Map<String,Object> additionalContext)
TemplateServiceprocessTemplate in interface TemplateServicetemplateText - the template stringcontextWorkObjects - the work object contextadditionalContext - the additional context, if the value is not resolved from the context work objectsCopyright © 2010 - 2017 edorasware ag. All Rights Reserved.