Class EmailTemplateServiceImpl
java.lang.Object
org.opencastproject.email.template.impl.EmailTemplateServiceImpl
- All Implemented Interfaces:
org.opencastproject.email.template.api.EmailTemplateService
public class EmailTemplateServiceImpl
extends Object
implements org.opencastproject.email.template.api.EmailTemplateService
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidactivate(org.osgi.service.component.ComponentContext context) applyTemplate(String templateName, String templateContent, org.opencastproject.workflow.api.WorkflowInstance workflowInstance) applyTemplate(String templateName, String templateContent, org.opencastproject.workflow.api.WorkflowInstance workflowInstance, String delimiter) Apply the template to the workflow instance.voidsetIncidentService(org.opencastproject.serviceregistry.api.IncidentService incidentService) Callback for OSGi to unset theIncidentService.voidsetIndexService(org.opencastproject.index.service.api.IndexService indexService) protected voidsetSecurityService(org.opencastproject.security.api.SecurityService securityService)
-
Field Details
-
DEFAULT_DELIMITER_FOR_MULTIPLE
- See Also:
-
-
Constructor Details
-
EmailTemplateServiceImpl
public EmailTemplateServiceImpl()
-
-
Method Details
-
activate
protected void activate(org.osgi.service.component.ComponentContext context) -
applyTemplate
public String applyTemplate(String templateName, String templateContent, org.opencastproject.workflow.api.WorkflowInstance workflowInstance) - Specified by:
applyTemplatein interfaceorg.opencastproject.email.template.api.EmailTemplateService
-
applyTemplate
public String applyTemplate(String templateName, String templateContent, org.opencastproject.workflow.api.WorkflowInstance workflowInstance, String delimiter) Apply the template to the workflow instance.- Specified by:
applyTemplatein interfaceorg.opencastproject.email.template.api.EmailTemplateService- Parameters:
templateName- template nametemplateContent- template contentworkflowInstance- workflow- Returns:
- text with applied template
-
setIncidentService
public void setIncidentService(org.opencastproject.serviceregistry.api.IncidentService incidentService) Callback for OSGi to unset theIncidentService.- Parameters:
incidentService- the incident service
-
setIndexService
public void setIndexService(org.opencastproject.index.service.api.IndexService indexService) -
setSecurityService
protected void setSecurityService(org.opencastproject.security.api.SecurityService securityService)
-