public final class NewsLetterRegistrationService extends Object
| Modifier and Type | Method and Description |
|---|---|
void |
doConfirmSubscribe(javax.servlet.http.HttpServletRequest request)
Get the confirmation page to suscribe a user
|
void |
doConfirmUnSubscribe(javax.servlet.http.HttpServletRequest request)
Performs confirm unsubscription process
|
String |
doRemoveOldUnconfirmed()
Performs confirm unsubscription process
|
void |
doSubscription(javax.servlet.http.HttpServletRequest request)
Performs the subscription process
Throw a SiteMessage
|
void |
doUnSubscribe(javax.servlet.http.HttpServletRequest request)
Performs unsubscription process
Throw a SiteMessage
|
static NewsLetterRegistrationService |
getInstance()
Fetches the singleton instance
|
public static NewsLetterRegistrationService getInstance()
public void doSubscription(javax.servlet.http.HttpServletRequest request)
throws fr.paris.lutece.portal.service.message.SiteMessageException
request - The Http requestfr.paris.lutece.portal.service.message.SiteMessageException - The
error message thrown to the userpublic void doConfirmSubscribe(javax.servlet.http.HttpServletRequest request)
throws fr.paris.lutece.portal.service.message.SiteMessageException
request - The requestfr.paris.lutece.portal.service.message.SiteMessageException - Site message exceptionpublic void doUnSubscribe(javax.servlet.http.HttpServletRequest request)
throws fr.paris.lutece.portal.service.message.SiteMessageException
request - The http requestfr.paris.lutece.portal.service.message.SiteMessageException - The
error message handled by the front officepublic void doConfirmUnSubscribe(javax.servlet.http.HttpServletRequest request)
throws fr.paris.lutece.portal.service.message.SiteMessageException
request - The http requestfr.paris.lutece.portal.service.message.SiteMessageException - The error message handled by the front
officepublic String doRemoveOldUnconfirmed()
Copyright © 2015 City of Paris. All rights reserved.