Class GetSubscribersAction
- java.lang.Object
-
- org.apache.avalon.framework.logger.AbstractLogEnabled
-
- org.apache.cocoon.acting.AbstractAction
-
- org.apache.cocoon.acting.ServiceableAction
-
- org.ametys.plugins.newsletter.actions.GetSubscribersAction
-
- All Implemented Interfaces:
Component,LogEnabled,Serviceable,Action
public class GetSubscribersAction extends ServiceableAction
SAX events for newsletter subscribers
-
-
Field Summary
Fields Modifier and Type Field Description private 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 GetSubscribersAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Mapact(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters)voidservice(ServiceManager serviceManager)protected Map<String,Object>subscriberToJSON(Subscriber subscriber)Gets category provider's properties to JSON format-
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
-
-
-
Field Detail
-
_subscribersDao
private SubscribersDAO _subscribersDao
-
-
Constructor Detail
-
GetSubscribersAction
public GetSubscribersAction()
-
-
Method Detail
-
service
public void service(ServiceManager serviceManager) 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
-
subscriberToJSON
protected Map<String,Object> subscriberToJSON(Subscriber subscriber)
Gets category provider's properties to JSON format- Parameters:
subscriber- the subscriber- Returns:
- The category provider properties
-
-