public interface MailService
extends com.edorasware.commons.core.util.service.Service
Modifier and Type | Method and Description |
---|---|
void |
sendWorkObjectMails(com.edorasware.commons.core.entity.WorkObject<?,?,?> workObject,
org.activiti.engine.delegate.DelegateExecution execution,
String recipientExpression,
String replyToExpression,
String ccExpression,
String bccExpression,
String priorityExpression,
Map<String,String> headers,
String mailModelKey,
Collection<String> attachmentVars)
Sends mails using the given properties.
|
void |
sendWorkObjectMailsWithAdditionalMappings(com.edorasware.commons.core.entity.WorkObject<?,?,?> workObject,
org.activiti.engine.delegate.DelegateExecution execution,
String recipientExpression,
String replyToExpression,
String ccExpression,
String bccExpression,
String priorityExpression,
Map<String,String> headers,
String mailModelKey,
Map<String,?> additionalMappings,
Collection<String> attachmentVars)
Sends mails using the given properties and a map with additional value mappings.
|
void sendWorkObjectMailsWithAdditionalMappings(com.edorasware.commons.core.entity.WorkObject<?,?,?> workObject, org.activiti.engine.delegate.DelegateExecution execution, String recipientExpression, String replyToExpression, String ccExpression, String bccExpression, String priorityExpression, Map<String,String> headers, String mailModelKey, Map<String,?> additionalMappings, Collection<String> attachmentVars)
workObject
- the work objectexecution
- the optional execution context from a process instance (e.g. used for multi-instance mail service tasks)recipientExpression
- the recipient expressionreplyToExpression
- the replyTo address expressionccExpression
- the Cc recipient expressionbccExpression
- the Bcc recipient expressionpriorityExpression
- the priority expressionheaders
- additional mail headersmailModelKey
- the mail model keyadditionalMappings
- the additional mappingsattachmentVars
- collection of attachment variables (send as attachment)void sendWorkObjectMails(com.edorasware.commons.core.entity.WorkObject<?,?,?> workObject, org.activiti.engine.delegate.DelegateExecution execution, String recipientExpression, String replyToExpression, String ccExpression, String bccExpression, String priorityExpression, Map<String,String> headers, String mailModelKey, Collection<String> attachmentVars)
workObject
- the work objectexecution
- the optional execution context from a process instance (e.g. used for multi-instance mail service tasks)recipientExpression
- the recipient expressionreplyToExpression
- the replyTo address expressionccExpression
- the Cc recipient expressionbccExpression
- the Bcc recipient expressionpriorityExpression
- the priority expressionheaders
- additional mail headersmailModelKey
- the mail model keyattachmentVars
- collection of attachment variables (send as attachment)Copyright © 2010 - 2017 edorasware ag. All Rights Reserved.