|
||||||||||
| 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 | |
|---|---|
long |
getSubscriberCount(String path)
Return the number of subscribers. |
String |
getSubscriptionPath(org.apache.sling.api.SlingHttpServletRequest request)
Return the subscription path. |
String |
sendNewsletter(String path,
String subject,
String contentUrl)
Send the newsletter for the given content |
| Method Detail |
|---|
String sendNewsletter(String path,
String subject,
String contentUrl)
throws RepositoryException
path - The content pathsubject - The subject for the newslettercontentUrl - Used by the mailer to retrieve the content
RepositoryException
long getSubscriberCount(String path)
throws RepositoryException
path - The content path
RepositoryExceptionString 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 | |||||||||