Class MailServiceImpl
- java.lang.Object
-
- com.arms.egovframework.javaservice.treeframework.service.TreeServiceImpl
-
- com.arms.api.report.mail.service.mail.MailServiceImpl
-
- All Implemented Interfaces:
MailService,TreeService
@Service("mailService") public class MailServiceImpl extends TreeServiceImpl implements MailService
-
-
Constructor Summary
Constructors Constructor Description MailServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.mail.javamail.JavaMailSenderImplcreateMailSender(SenderEntity smtpConfig)java.lang.StringfetchHtmlData()java.lang.StringgenerateChartImage()SenderEntitygetSenderConfig()java.util.List<EmailSendResult>sendEmailsToAllUsers()EmailSendResultsendTestEmail(java.lang.String userEmail)java.util.List<EmailSendResult>sendTestEmailsToAllUsers()EmailSendResultvalidateSmtpConfig(SenderDTO senderDTO)-
Methods inherited from class com.arms.egovframework.javaservice.treeframework.service.TreeServiceImpl
addNode, alterNode, alterNodeType, calculatePosition, cutMyself, enterMyselfFixLeftRight, enterMyselfFromTree, fixPositionParentIdOfCopyNodes, getChildNode, getChildNodeWithoutPaging, getNode, getNodesWithoutRoot, getNodesWithoutRootMap, getPaginatedChildNode, moveNode, newInstance, overwriteNode, pasteMyselfFromTree, removeNode, saveOrUpdateList, searchNode, stretchLeft, stretchLeftRightForMyselfFromTree, stretchPositionForMyselfFromTree, stretchRight, updateField, updateNode
-
-
-
-
Method Detail
-
validateSmtpConfig
public EmailSendResult validateSmtpConfig(SenderDTO senderDTO) throws java.lang.Exception
- Specified by:
validateSmtpConfigin interfaceMailService- Throws:
java.lang.Exception
-
sendTestEmailsToAllUsers
public java.util.List<EmailSendResult> sendTestEmailsToAllUsers() throws java.lang.Exception
- Specified by:
sendTestEmailsToAllUsersin interfaceMailService- Throws:
java.lang.Exception
-
sendTestEmail
public EmailSendResult sendTestEmail(java.lang.String userEmail) throws java.lang.Exception
- Specified by:
sendTestEmailin interfaceMailService- Throws:
java.lang.Exception
-
sendEmailsToAllUsers
public java.util.List<EmailSendResult> sendEmailsToAllUsers() throws java.lang.Exception
- Specified by:
sendEmailsToAllUsersin interfaceMailService- Throws:
java.lang.Exception
-
getSenderConfig
public SenderEntity getSenderConfig() throws java.lang.Exception
- Specified by:
getSenderConfigin interfaceMailService- Throws:
java.lang.Exception
-
createMailSender
public org.springframework.mail.javamail.JavaMailSenderImpl createMailSender(SenderEntity smtpConfig)
- Specified by:
createMailSenderin interfaceMailService
-
fetchHtmlData
public java.lang.String fetchHtmlData() throws java.lang.Exception- Specified by:
fetchHtmlDatain interfaceMailService- Throws:
java.lang.Exception
-
generateChartImage
public java.lang.String generateChartImage() throws java.lang.Exception- Specified by:
generateChartImagein interfaceMailService- Throws:
java.lang.Exception
-
-