NewsletterEmailService instead@Deprecated
public interface NewsletterService
| Modifier and Type | Method and Description |
|---|---|
NewsLetter |
buildNewsletter(Page page)
Deprecated.
Use
NewsletterEmailService.buildNewsletter(Page) instead |
NewsLetter |
buildNewsletter(Resource resource,
java.net.URI contentUri)
Deprecated.
|
MailingList |
createMailingList(java.lang.String groupName,
Session session)
Deprecated.
|
MailingList |
createTestMailingList(SlingHttpServletRequest request)
|
MailingStatus |
sendNewsletter(NewsLetter newsletter)
Deprecated.
|
@Deprecated MailingStatus sendNewsletter(NewsLetter newsletter) throws RepositoryException
NewsletterEmailService.sendNewsletter(NewsLetter, ResourceResolver) insteadnewsletter - The newslettertruefalse
otherwise.java.security.AccessControlException - if the Session lacks the privilege to sendjavax.jcr.RepositoryException - in case of error accessing the RepositoryRepositoryException@Deprecated NewsLetter buildNewsletter(Page page) throws RepositoryException
NewsletterEmailService.buildNewsletter(Page) insteadNewsletter from the given Page.page - containing the data of the Newsletternull if the Resource is
not suited to build a NewsletterRepositoryException - in case of Exception accessing the Repository@Deprecated NewsLetter buildNewsletter(Resource resource, java.net.URI contentUri) throws RepositoryException
NewsletterEmailService.buildNewsletter(Resource, URI) insteadresource - to build Newsletter ofcontentUri - to take as host information to be shown in sent NewsletterRepositoryException - in case of error accessing the RepositorybuildNewsletter(Page)@Deprecated MailingList createMailingList(java.lang.String groupName, Session session) throws NoSuchAuthorizableException, RepositoryException
NewsletterEmailService.createMailingList(String, Session)groupName - to build a MailingList forsession - to retrieve the ListNoSuchAuthorizableException - if the group-name is not foundRepositoryException - in case of error accessing the Repository@Deprecated MailingList createTestMailingList(SlingHttpServletRequest request) throws RepositoryException
User to an e-mail
address to send the mail to. The Address has to be given with the
RequestParameter NewsletterHelper.PARAM_TEST_TO or defaults to
the Request's User's
Profile.getPrimaryMail() primary
Mail} (e.g. ResourceResolver.adaptTo(User.class)). The Profile has to be
given by the RequestParameter named
NewsletterHelper.PARAM_TEST_PROFILE and the Id as value.request - to read the input fromnull if
parameters are not setRepositoryException - in case of error accessing the Repository"Copyright © 2010 - 2018 Adobe Systems Incorporated. All Rights Reserved"