|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface NewsletterService
The newsletter service can be used to send newsletters or to retrieve information about the subscribers.
| Method Summary | |
|---|---|
Newsletter |
getNewsletter(String path,
URL contentUrl)
Create a newsletter object for the given path. |
long |
getSubscriberCount(String path)
Deprecated. Use #getNewsletter(String) instead. |
String |
getSubscriptionPath(org.apache.sling.api.SlingHttpServletRequest request)
Return the subscription path. |
boolean |
sendNewsletter(Newsletter newsletter)
Send the newsletter. |
String |
sendNewsletter(String path,
String subject,
String contentUrl)
Deprecated. Use sendNewsletter(Newsletter) instead. |
| Method Detail |
|---|
@Deprecated
String sendNewsletter(String path,
String subject,
String contentUrl)
throws RepositoryException
sendNewsletter(Newsletter) instead.
path - The content pathsubject - The subject for the newslettercontentUrl - Used by the mailer to retrieve the content
RepositoryException
@Deprecated
long getSubscriberCount(String path)
throws RepositoryException
#getNewsletter(String) instead.
path - The content path
RepositoryException
Newsletter getNewsletter(String path,
URL contentUrl)
path - The content path.contentUrl - Used by the mailer to retrieve the content
boolean sendNewsletter(Newsletter newsletter)
newsletter - The newsletter
truefalse otherwise.String getSubscriptionPath(org.apache.sling.api.SlingHttpServletRequest request)
request - The current request.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||