Class UnsubscribeAction
- java.lang.Object
 - 
- org.apache.avalon.framework.logger.AbstractLogEnabled
 - 
- org.apache.cocoon.acting.AbstractAction
 - 
- org.apache.cocoon.acting.ServiceableAction
 - 
- org.ametys.plugins.newsletter.subscribe.UnsubscribeAction
 
 
 
 
 
- 
- All Implemented Interfaces:
 Component,LogEnabled,Serviceable,Action
public class UnsubscribeAction extends ServiceableAction
Unsubscribes user thanks to his unique token 
- 
- 
Field Summary
Fields Modifier and Type Field Description private CategoryProviderExtensionPoint_categoryProviderEPprivate SiteManager_siteManagerprivate SubscribersDAO_subscribersDao- 
Fields inherited from class org.apache.cocoon.acting.ServiceableAction
manager 
- 
Fields inherited from class org.apache.cocoon.acting.AbstractAction
EMPTY_MAP 
 - 
 
- 
Constructor Summary
Constructors Constructor Description UnsubscribeAction() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private Category_getCategory(String categoryID)Mapact(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters)voidservice(ServiceManager smanager)- 
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger 
 - 
 
 - 
 
- 
- 
Field Detail
- 
_subscribersDao
private SubscribersDAO _subscribersDao
 
- 
_categoryProviderEP
private CategoryProviderExtensionPoint _categoryProviderEP
 
- 
_siteManager
private SiteManager _siteManager
 
 - 
 
- 
Constructor Detail
- 
UnsubscribeAction
public UnsubscribeAction()
 
 - 
 
- 
Method Detail
- 
service
public void service(ServiceManager smanager) throws ServiceException
- Specified by:
 servicein interfaceServiceable- Overrides:
 servicein classServiceableAction- Throws:
 ServiceException
 
- 
act
public Map act(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters) throws Exception
- Throws:
 Exception
 
- 
_getCategory
private Category _getCategory(String categoryID)
 
 - 
 
 -