public class GetSmsListsAction extends ServiceableAction
Modifier and Type | Field and Description |
---|---|
protected SubscriberDAO |
_subscriberDAO
The subscriber DAO
|
protected SmsListDAO |
_subscriberListDAO
Subscriber list DAO
|
manager
EMPTY_MAP
Constructor and Description |
---|
GetSmsListsAction() |
Modifier and Type | Method and Description |
---|---|
Map |
act(Redirector redirector,
SourceResolver resolver,
Map objectModel,
String source,
Parameters parameters) |
protected Map<String,Object> |
listToJSON(JCRSubscribersList subscribersList)
Gets SMS list's properties to JSON format
|
void |
service(ServiceManager serviceManager) |
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
protected SmsListDAO _subscriberListDAO
protected SubscriberDAO _subscriberDAO
public GetSmsListsAction()
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> listToJSON(JCRSubscribersList subscribersList)
subscribersList
- The SMS list of subscribers