public class SendMailFunction extends SendMailFunction
Modifier and Type | Field and Description |
---|---|
private OdfPageResolver |
_odfPageResolver |
private SiteManager |
_siteManager |
_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 |
---|
SendMailFunction() |
Modifier and Type | Method and Description |
---|---|
protected Page |
_getPage(WorkflowAwareContent content,
Site site)
Get the page referenced by this content
|
protected Site |
_getSite(WorkflowAwareContent content)
Get the site name
|
void |
service(ServiceManager manager) |
_getContentUri, getBodyI18nParams, getMailBody, getSubjectI18nParams
_getContentUri, _getRequest, _getRequestUri, _getUsers, _sendMails, contextualize, execute, getMailSubject, initialize, setPluginInfo
getContent
addWorkflowError, addWorkflowWarning, enableLogging, getConditionFailures, getContextParameters, getResultsMap, getUser
private OdfPageResolver _odfPageResolver
private SiteManager _siteManager
public SendMailFunction()
public void service(ServiceManager manager) throws ServiceException
service
in interface Serviceable
service
in class AbstractContentWorkflowComponent
ServiceException
protected Site _getSite(WorkflowAwareContent content)
SendMailFunction
_getSite
in class SendMailFunction
content
- The contentprotected Page _getPage(WorkflowAwareContent content, Site site)
SendMailFunction
_getPage
in class SendMailFunction
content
- The contentsite
- the site