Interface IEmailQueueService

  • All Known Implementing Classes:
    EmailQueueServiceImpl

    public interface IEmailQueueService
    Provides an email queue service interface.
    • Method Detail

      • process

        boolean process​(EmailQueue emailQueueItem)
        Creates and attempts to send an email given a email queue item
        Parameters:
        emailQueueItem - - the email queue item to be processed
        Returns:
        whether an email was sent
      • cloneEmailQueue

        EmailQueue cloneEmailQueue​(Long emailQueueId)
        Clone an email queue item. This item status will be set to be Cloned.
        Parameters:
        emailQueueId - the email queue id
        Returns:
        the cloned email queue