Class EmailTemplateServiceImpl

java.lang.Object
org.opencastproject.email.template.impl.EmailTemplateServiceImpl
All Implemented Interfaces:
EmailTemplateService

public class EmailTemplateServiceImpl extends Object implements EmailTemplateService
  • Field Details

  • 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, WorkflowInstance workflowInstance)
      Description copied from interface: EmailTemplateService
      Apply the template to the workflow instance.
      Specified by:
      applyTemplate in interface EmailTemplateService
      Parameters:
      templateName - template name
      templateContent - template content
      workflowInstance - workflow
      Returns:
      text with applied template
    • applyTemplate

      public String applyTemplate(String templateName, String templateContent, WorkflowInstance workflowInstance, String delimiter)
      Apply the template to the workflow instance.
      Specified by:
      applyTemplate in interface EmailTemplateService
      Parameters:
      templateName - template name
      templateContent - template content
      workflowInstance - workflow
      delimiter - How to separate multi-value metadata fields
      Returns:
      text with applied template
    • setIncidentService

      public void setIncidentService(IncidentService incidentService)
      Callback for OSGi to unset the IncidentService.
      Parameters:
      incidentService - the incident service
    • setIndexService

      public void setIndexService(IndexService indexService)
    • setSecurityService

      protected void setSecurityService(SecurityService securityService)