public class GetSubscribersAction extends ServiceableAction
Modifier and Type | Field and Description |
---|---|
private SubscribersDAO |
_subscribersDao |
manager
EMPTY_MAP
Constructor and Description |
---|
GetSubscribersAction() |
Modifier and Type | Method and Description |
---|---|
Map |
act(Redirector redirector,
SourceResolver resolver,
Map objectModel,
String source,
Parameters parameters) |
void |
service(ServiceManager serviceManager) |
protected Map<String,Object> |
subscriberToJSON(Subscriber subscriber)
Gets category provider's properties to JSON format
|
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
private SubscribersDAO _subscribersDao
public GetSubscribersAction()
public void service(ServiceManager serviceManager) throws ServiceException
service
in interface Serviceable
service
in class ServiceableAction
ServiceException
public Map act(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters) throws Exception
Exception
protected Map<String,Object> subscriberToJSON(Subscriber subscriber)
subscriber
- the subscriber