Class MailInformationHelper
java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.plugins.forms.workflow.MailInformationHelper
- All Implemented Interfaces:
LogEnabled
,Component
,Serviceable
Helper component allowing to retrieve information in order to send emails
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetMailInfo
(String formId, Integer entryId) Get information on the given entry of the given formvoid
service
(ServiceManager serviceManager) Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
Field Details
-
ROLE
The Avalon role -
_EMAIL_PATTERN
The email validation pattern.
-
-
Constructor Details
-
MailInformationHelper
public MailInformationHelper()
-
-
Method Details
-
service
- Specified by:
service
in interfaceServiceable
- Throws:
ServiceException
-
getMailInfo
Get information on the given entry of the given form- Parameters:
formId
- the id of the formentryId
- the id of the entry- Returns:
- a map of information on the current user and on the email fields filled in the entry
-