Class DeedEmailService
java.lang.Object
io.meeds.tenant.provisioning.service.DeedEmailService
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.exoplatform.services.mail.MailServiceprotected org.exoplatform.wiki.service.NoteService -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateTemplate(EmailTemplate emailTemplate) voiddeleteTemplate(String id) voidsendEmail(long nftId, AutomaticStatus status) voidvoidsendEmail(io.meeds.deeds.listerner.model.EmailSendingCommand emailSendingCommand) voidupdateTemplate(EmailTemplate emailTemplate)
-
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
-
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
- Throws:
io.meeds.deeds.constant.ObjectNotFoundException
-
sendEmail
public void sendEmail(io.meeds.deeds.listerner.model.EmailSendingCommand emailSendingCommand) throws Exception - Throws:
Exception
-
sendEmail
- 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
-