Class SendProcessMailFunction
- java.lang.Object
-
- org.ametys.runtime.plugin.component.AbstractLogEnabled
-
- org.ametys.plugins.bpm.workflowsdef.SendProcessMailFunction
-
- All Implemented Interfaces:
com.opensymphony.workflow.FunctionProvider
,LogEnabled
,Component
,Contextualizable
,Serviceable
public class SendProcessMailFunction extends AbstractLogEnabled implements Component, com.opensymphony.workflow.FunctionProvider, Serviceable, Contextualizable
Send mail to the users listed in the "users" argument. If the "sendToCreator" argument is present, the mail will also be send to the process creator
-
-
Constructor Summary
Constructors Constructor Description SendProcessMailFunction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
contextualize(Context context)
void
execute(Map transientVars, Map args, com.opensymphony.module.propertyset.PropertySet ps)
void
service(ServiceManager manager)
-
Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
-
-
-
Field Detail
-
SEND_MAIL
public static final String SEND_MAIL
Actually send the email ?- See Also:
- Constant Field Values
-
SUBJECT_KEY
protected static final String SUBJECT_KEY
The mail subject key.- See Also:
- Constant Field Values
-
BODY_KEY
protected static final String BODY_KEY
The mail body key.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SendProcessMailFunction
public SendProcessMailFunction()
-
-
Method Detail
-
contextualize
public void contextualize(Context context) throws ContextException
- Specified by:
contextualize
in interfaceContextualizable
- Throws:
ContextException
-
service
public void service(ServiceManager manager) throws ServiceException
- Specified by:
service
in interfaceServiceable
- Throws:
ServiceException
-
-