public class SendMailToUserFunction extends SendMailFunction
_context, _currentUserProvider, _i18nUtils, _pluginName, _rightManager, _sourceResolver, _userManager, _workflowProvider, BODY_KEY, RIGHTS_KEY, SEND_MAIL, SUBJECT_KEY
_contentHelper, CONTENT_KEY
_logger, _manager, CONTEXT_PARAMETERS_KEY, FAIL_CONDITIONS_KEY, RESULT_MAP_KEY, WORKFLOW_ERRORS_KEY, WORKFLOW_WARNS_KEY
Constructor and Description |
---|
SendMailToUserFunction() |
Modifier and Type | Method and Description |
---|---|
protected Set<UserIdentity> |
_getUsers(WorkflowAwareContent content,
Set<String> rights)
Get the user logins.
|
_getContentUri, _getPage, _getSite, getBodyI18nParams, getMailBody, getSubjectI18nParams
_getContentUri, _getRequest, _getRequestUri, _sendMails, contextualize, execute, getMailSubject, initialize, setPluginInfo
getContent, service
addWorkflowError, addWorkflowWarning, enableLogging, getConditionFailures, getContextParameters, getResultsMap, getUser
public SendMailToUserFunction()
protected Set<UserIdentity> _getUsers(WorkflowAwareContent content, Set<String> rights) throws com.opensymphony.workflow.WorkflowException
SendMailFunction
_getUsers
in class SendMailFunction
content
- the content.rights
- the set of rights to check.com.opensymphony.workflow.WorkflowException
- If an error occurred