public class SendMailFunction extends SendMailFunction
_currentUserProvider, _i18nUtils, _pluginName, _rightManager, _sourceResolver, _userManager, _workflowProvider, BODY_KEY, RIGHTS_KEY, SEND_MAIL, SUBJECT_KEYCONTENT_KEY_logger, _manager, CONTEXT_PARAMETERS_KEY, FAIL_CONDITIONS_KEY, RESULT_MAP_KEY, WORKFLOW_ERRORS_KEY, WORKFLOW_WARNS_KEY| Constructor and Description |
|---|
SendMailFunction() |
| Modifier and Type | Method and Description |
|---|---|
protected List<String> |
getBodyI18nParams(User user,
WorkflowAwareContent content)
Get the i18n parameters of mail body text
|
protected String |
getMailBody(String bodyI18nKey,
User user,
WorkflowAwareContent content,
Map transientVars)
Get the text body of mail
|
protected List<String> |
getSubjectI18nParams(User user,
WorkflowAwareContent content)
Get the i18n parameters of mail subject
|
_getUsers, _sendMails, execute, getMailSubject, initialize, setPluginInfogetContentaddWorkflowError, addWorkflowWarning, enableLogging, getConditionFailures, getContextParameters, getResultsMap, getUser, servicepublic SendMailFunction()
protected List<String> getSubjectI18nParams(User user, WorkflowAwareContent content)
SendMailFunctiongetSubjectI18nParams in class SendMailFunctionuser - the callercontent - the contentprotected String getMailBody(String bodyI18nKey, User user, WorkflowAwareContent content, Map transientVars)
SendMailFunctiongetMailBody in class SendMailFunctionbodyI18nKey - the i18n key to use for bodyuser - the callercontent - the contenttransientVars - the transient variablesprotected List<String> getBodyI18nParams(User user, WorkflowAwareContent content)
SendMailFunctiongetBodyI18nParams in class SendMailFunctionuser - the callercontent - the content