Package com.day.cq.mailer
Interface MailingStatus
public interface MailingStatus
Accesses the status of a given Mailing.
- Since:
- 5.4
- See Also:
-
Method Details
-
getMailingID
String getMailingID()- Returns:
- the ID of the Mailing this is the status for
-
isNew
boolean isNew()- Returns:
true
in case there has been no attempt to send
-
isSent
boolean isSent()- Returns:
true
in case the sending has been successful
-
hasError
boolean hasError()Indicates if there has been an error processing the send of the Mailing. Mailing may besent
and have errors, that did not prevent the sending of all messages.- Returns:
true
in case the sending has ben done.
-
numSent
long numSent()- Returns:
- the amount of recipients that have been successfully delivered.
-
getLastModified
Date getLastModified()- Returns:
- TimeStamp last change on state took place
-
getStatusCode
- Returns:
- the Code of the Mailings status
- Throws:
RepositoryException
- in case of error accessing the Persistance- See Also:
-