Class DeedEmailService

java.lang.Object
io.meeds.tenant.provisioning.service.DeedEmailService

@Component public class DeedEmailService extends Object
  • Field Details

    • noteService

      protected org.exoplatform.wiki.service.NoteService noteService
    • mailService

      protected org.exoplatform.services.mail.MailService mailService
  • Constructor Details

    • DeedEmailService

      public DeedEmailService()
  • Method Details

    • getEmailTemplates

      public List<EmailTemplate> getEmailTemplates()
    • createTemplate

      public EmailTemplate createTemplate(EmailTemplate emailTemplate) throws org.exoplatform.commons.ObjectAlreadyExistsException
      Throws:
      org.exoplatform.commons.ObjectAlreadyExistsException
    • updateTemplate

      public EmailTemplate updateTemplate(EmailTemplate emailTemplate) throws io.meeds.deeds.constant.ObjectNotFoundException
      Throws:
      io.meeds.deeds.constant.ObjectNotFoundException
    • deleteTemplate

      public void deleteTemplate(String id) throws io.meeds.deeds.constant.ObjectNotFoundException
      Throws:
      io.meeds.deeds.constant.ObjectNotFoundException
    • sendEmail

      public void sendEmail(io.meeds.deeds.listerner.model.EmailSendingCommand emailSendingCommand) throws Exception
      Throws:
      Exception
    • sendEmail

      public void sendEmail(long nftId, AutomaticStatus status) throws Exception
      Throws:
      Exception
    • sendEmail

      public void sendEmail(long nftId, String emailSubject, String emailContent, boolean async) throws Exception
      Throws:
      Exception
    • sendEmail

      public void sendEmail(String to, String emailSubject, String emailContent, boolean async) throws Exception
      Throws:
      Exception