Class SendMailAction
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.acting.AbstractAction
org.apache.cocoon.acting.ServiceableAction
org.ametys.plugins.socialnetworking.SendMailAction
- All Implemented Interfaces:
Component,LogEnabled,Serviceable,Action
Check if the form is well formed
Send the mail to all the receiver
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected I18nUtilsThe i18n utils of runtimeprotected PageHelperThe page helperprotected AmetysObjectResolverRepository contentprotected static final PatternThe pattern to check a list of emailsprotected static final PatternThe pattern to check emailsprotected static final PatternThe pattern to check text inputFields inherited from class org.apache.cocoon.acting.ServiceableAction
managerFields inherited from class org.apache.cocoon.acting.AbstractAction
EMPTY_MAP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionact(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 Details
-
EMAIL_VALIDATOR
The pattern to check emails -
EMAIL_LIST_VALIDATOR
The pattern to check a list of emails -
TEXT_VALIDATOR
The pattern to check text input -
_resolver
Repository content -
_i18nUtils
The i18n utils of runtime -
_pageHelper
The page helper
-
-
Constructor Details
-
SendMailAction
public SendMailAction()
-
-
Method Details
-
service
- 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
-