Package com.day.cq.mailer
Interface MailingStatus
- 
public interface MailingStatusAccesses the status of a given Mailing. 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.DategetLastModified()java.lang.StringgetMailingID()MailingStatusCodegetStatusCode()booleanhasError()Indicates if there has been an error processing the send of the Mailing.booleanisNew()booleanisSent()longnumSent() 
 - 
 
- 
- 
Method Detail
- 
getMailingID
java.lang.String getMailingID()
- Returns:
 - the ID of the Mailing this is the status for
 
 
- 
isNew
boolean isNew()
- Returns:
 truein case there has been no attempt to send
 
- 
isSent
boolean isSent()
- Returns:
 truein case the sending has been successful
 
- 
hasError
boolean hasError()
Indicates if there has been an error processing the send of the Mailing. Mailing may besentand have errors, that did not prevent the sending of all messages.- Returns:
 truein case the sending has ben done.
 
- 
numSent
long numSent()
- Returns:
 - the amount of recipients that have been successfully delivered.
 
 
- 
getLastModified
java.util.Date getLastModified()
- Returns:
 - TimeStamp last change on state took place
 
 
- 
getStatusCode
MailingStatusCode getStatusCode() throws javax.jcr.RepositoryException
- Returns:
 - the Code of the Mailings status
 - Throws:
 javax.jcr.RepositoryException- in case of error accessing the Persistance- See Also:
 MailingStatusCode
 
 - 
 
 -