public interface MailingService
MessageTemplate
that
is intended to be send to a List of recipients.
Modifier and Type | Method and Description |
---|---|
MailingStatus |
getStatus(java.lang.String mailingId)
Deprecated.
It's recommended to use
#getStatus(String, javax.jcr.Session) instead. |
MailingStatus |
getStatus(java.lang.String mailingId,
Session session) |
MailingStatus |
send(MessageTemplate message,
AuthorizableMailingList recipients,
ResourceResolver resourceResolver)
Send a
Mailing to. |
@Deprecated MailingStatus getStatus(java.lang.String mailingId) throws RepositoryException
#getStatus(String, javax.jcr.Session)
instead.mailingId
- to access the MailingStatusnull
if the mailing has not be sent does not existjavax.jcr.RepositoryException
- in case of an exception accessing
the RepositoryRepositoryException
;
MailingStatus getStatus(java.lang.String mailingId, Session session) throws RepositoryException
mailingId
- to access the MailingStatussession
- to read the Node having MailingStatusnull
if the mailing has not be sent does not existjavax.jcr.RepositoryException
- in case of an exception accessing
the RepositoryRepositoryException
;
MailingStatus send(MessageTemplate message, AuthorizableMailingList recipients, ResourceResolver resourceResolver) throws MailingException, RepositoryException
Mailing
to.message
- to be sendrecipients
- of the messageresourceResolver
- Resource resolverMailingException
- in case the sending could not be startedjavax.jcr.AccessDeniedException
- in case the session lacks privileges to send the MailingRepositoryException
- in case of error accessing the RepositoryMailingException
- If an error occurs"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"