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 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 -
      • 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