public class SendMailAction extends ServiceableAction
Modifier and Type | Field and Description |
---|---|
protected I18nUtils |
_i18nUtils
The i18n utils of runtime
|
protected AmetysObjectResolver |
_resolver
Repository content
|
protected static Pattern |
EMAIL_LIST_VALIDATOR
The pattern to check a list of emails
|
protected static Pattern |
EMAIL_VALIDATOR
The pattern to check emails
|
protected static Pattern |
TEXT_VALIDATOR
The pattern to check text input
|
manager
EMPTY_MAP
Constructor and Description |
---|
SendMailAction() |
Modifier and Type | Method and Description |
---|---|
private String |
_getPageId(Request request) |
Map |
act(Redirector redirector,
SourceResolver resolver,
Map objectModel,
String source,
Parameters parameters) |
void |
service(ServiceManager smanager) |
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
protected static final Pattern EMAIL_VALIDATOR
protected static final Pattern EMAIL_LIST_VALIDATOR
protected static final Pattern TEXT_VALIDATOR
protected AmetysObjectResolver _resolver
protected I18nUtils _i18nUtils
public SendMailAction()
public void service(ServiceManager smanager) 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
private String _getPageId(Request request)