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 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, org.opencastproject.workflow.api.WorkflowInstance workflowInstance)
      Specified by:
      applyTemplate in interface org.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:
      applyTemplate in interface org.opencastproject.email.template.api.EmailTemplateService
      Parameters:
      templateName - template name
      templateContent - template content
      workflowInstance - workflow
      Returns:
      text with applied template
    • setIncidentService

      public void setIncidentService(org.opencastproject.serviceregistry.api.IncidentService incidentService)
      Callback for OSGi to unset the IncidentService.
      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)