Package org.openiam.email.service.intf
Interface MailDataService
-
- All Known Implementing Classes:
MailDataServiceImpl
public interface MailDataService
Provides methods to be able to send emails and send direct mq to authorized users.- Author:
- suneet
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
sendEmails(String from, List<String> to, List<String> cc, List<String> bcc, String subject, String msg, boolean isHtmlFormat, List<String> attachmentPath, Date executionDateTime)
sending a email from one user to multiple user,cc and bcc having multiple attachement at a time.void
sendEmails(String from, List<String> to, List<String> cc, List<String> bcc, String subject, String msg, boolean isHtmlFormat, List<String> attachmentPath, Date executionDateTime, Integer priority)
boolean
sendNotification(NotificationRequest req)
Sends out a notification based on the information defined in the notification request.void
sendNotifications(List<NotificationRequest> requests)
method is used to send multiple notifications.void
sendTestEmail(String to, String subject, String msg, boolean isHtmlFormat, MailboxConfiguration configuration)
sending a email from one user to multiple user,cc and bcc having multiple attachement at a time.void
sendToGroup(String groupId)
Sends an email all users in a specific groupvoid
tweetMessage(String status)
mmethod used to update status over twitter.void
tweetPrivateMessage(String userid, String msg)
sending out direct private mq to authorized user on twitter.
-
-
-
Method Detail
-
sendToGroup
void sendToGroup(String groupId)
Sends an email all users in a specific group- Parameters:
groupId
-
-
sendNotification
boolean sendNotification(NotificationRequest req)
Sends out a notification based on the information defined in the notification request.- Parameters:
req
-
-
sendTestEmail
void sendTestEmail(String to, String subject, String msg, boolean isHtmlFormat, MailboxConfiguration configuration) throws BasicDataServiceException
sending a email from one user to multiple user,cc and bcc having multiple attachement at a time.- Parameters:
to
-subject
-msg
-isHtmlFormat
-- Throws:
BasicDataServiceException
-
sendEmails
void sendEmails(String from, List<String> to, List<String> cc, List<String> bcc, String subject, String msg, boolean isHtmlFormat, List<String> attachmentPath, Date executionDateTime) throws BasicDataServiceException
sending a email from one user to multiple user,cc and bcc having multiple attachement at a time.- Parameters:
from
-to
-cc
-bcc
-subject
-msg
-isHtmlFormat
-attachmentPath
-- Throws:
BasicDataServiceException
-
sendEmails
void sendEmails(String from, List<String> to, List<String> cc, List<String> bcc, String subject, String msg, boolean isHtmlFormat, List<String> attachmentPath, Date executionDateTime, Integer priority) throws BasicDataServiceException
- Parameters:
from
-to
-cc
-bcc
-subject
-msg
-isHtmlFormat
-attachmentPath
-executionDateTime
-priority
-- Throws:
BasicDataServiceException
-
tweetPrivateMessage
void tweetPrivateMessage(String userid, String msg)
sending out direct private mq to authorized user on twitter.- Parameters:
userid
-msg
-
-
tweetMessage
void tweetMessage(String status)
mmethod used to update status over twitter.- Parameters:
status
-
-
sendNotifications
void sendNotifications(List<NotificationRequest> requests)
method is used to send multiple notifications.- Parameters:
requests
- - set of all collected notifications to be sent
-
-