Package com.avoka.fc.core.service
Interface IEmailQueueService
-
- All Known Implementing Classes:
EmailQueueServiceImpl
public interface IEmailQueueService
Provides an email queue service interface.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EmailQueue
cloneEmailQueue(Long emailQueueId)
Clone an email queue item.boolean
process(EmailQueue emailQueueItem)
Creates and attempts to send an email given a email queue item
-
-
-
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
-
-