Interface IEmailNodeBuilder
public interface IEmailNodeBuilder
Builder for configuring a
EWorkflowNodeType.FC_EMAIL action.- Since:
- 8.0.0
- Author:
- XIMA MEDIA GmbH
-
Method Summary
Modifier and TypeMethodDescriptionaddDirectClientAuthorizations(UuidEntityRef... directClientAuthorizations) addDirectClientAuthorizations(Iterable<UuidEntityRef> directClientAuthorizations) addReplyTo(Iterable<String> replyTo) addReplyTo(String... replyTo) addUserGroups(UuidEntityRef... userGroups) addUserGroups(Iterable<UuidEntityRef> userGroups) addUsers(UuidEntityRef... users) Deprecated.addUsers(Iterable<UuidEntityRef> users) Deprecated.User references should be done viaUserProfile.attachments(MultiFile attachments) Sends an email with both a plain text and HTML body.Sends an email with only a plain HTML body.bodyPlainText(String plainTextBody) Sends an email with only a plain text body.bodyType(EEmailBodyFormatType bodyType) build()Creates a new workflow node for aEWorkflowNodeType.FC_EMAILthat sends an email.Creates a new model for a workflow action that sends an email.directClientAuthorizations(UuidEntityRef... directClientAuthorizations) directClientAuthorizations(Iterable<UuidEntityRef> directClientAuthorizations) encryptionType(EMailEncrpytionType encryptionType) senderName(String senderName) Send separate emails, one for each recipient.sendSeparateMails(boolean sendSeparateMails) userGroups(UuidEntityRef... userGroups) userGroups(Iterable<UuidEntityRef> userGroups) users(UuidEntityRef... users) Deprecated.User references should be done viaUserProfile.users(Iterable<UuidEntityRef> users) Deprecated.User references should be done viaUserProfile.
-
Method Details
-
addBcc
- Parameters:
bcc- List of BCC recipients for the email to add to the existing ones.- Returns:
- This builder for chaining methods calls.
-
addBcc
- Parameters:
bcc- List of BCC recipients for the email to add to the existing ones.- Returns:
- This builder for chaining methods calls.
-
addCc
- Parameters:
cc- List of CC recipients for the email to add to the existing ones.- Returns:
- This builder for chaining methods calls.
-
addCc
- Parameters:
cc- List of CC recipients for the email to add to the existing ones.- Returns:
- This builder for chaining methods calls.
-
addDirectClientAuthorizations
- Parameters:
directClientAuthorizations- List ofdirect client authorizationsrecipient for the email to add to the existing ones.- Returns:
- This builder for chaining methods calls.
-
addDirectClientAuthorizations
- Parameters:
directClientAuthorizations- List ofdirect client authorizationsrecipient for the email to add to the existing ones.- Returns:
- This builder for chaining methods calls.
-
addReplyTo
- Parameters:
replyTo- List of Reply-To headers for the email to add to the existing ones.- Returns:
- This builder for chaining methods calls.
-
addReplyTo
- Parameters:
replyTo- List of Reply-To headers for the email to add to the existing ones.- Returns:
- This builder for chaining methods calls.
-
addTo
- Parameters:
to- List of recipients for the email to add to the existing ones.- Returns:
- This builder for chaining methods calls.
-
addTo
- Parameters:
to- List of recipients for the email to add to the existing ones.- Returns:
- This builder for chaining methods calls.
-
addUserGroups
- Parameters:
userGroups- List ofuser groupsrecipients for the email to add to the existing ones.- Returns:
- This builder for chaining methods calls.
-
addUserGroups
- Parameters:
userGroups- List ofuser groupsrecipients for the email to add to the existing ones.- Returns:
- This builder for chaining methods calls.
-
addUsers
Deprecated.User references should be done viaUserProfile.- Parameters:
users- List ofuserrecipients for the email to add to the existing ones.- Returns:
- This builder for chaining methods calls.
-
addUsers
Deprecated.User references should be done viaUserProfile.- Parameters:
users- List ofuserrecipients for the email to add to the existing ones.- Returns:
- This builder for chaining methods calls.
-
attachments
- Parameters:
attachments- Attachments to send with the email.- Returns:
- This builder for chaining methods calls.
-
bcc
- Parameters:
bcc- List of BCC recipients for the email to replace the existing ones with.- Returns:
- This builder for chaining methods calls.
-
bcc
- Parameters:
bcc- List of BCC recipients for the email to replace the existing ones with.- Returns:
- This builder for chaining methods calls.
-
body
Sends an email with both a plain text and HTML body. Calling this method automatically sets thebody type.- Parameters:
htmlBody- HTML version of the email's body content.plainTextBody- Plain text version of the email's body content.- Returns:
- This builder for chaining methods calls.
-
bodyHtml
Sends an email with only a plain HTML body. Calling this method automatically sets thebody type.- Parameters:
htmlBody- HTML version of the email's body content.- Returns:
- This builder for chaining methods calls.
-
bodyPlainText
Sends an email with only a plain text body. Calling this method automatically sets thebody type.- Parameters:
plainTextBody- Plain text version of the email's body content.- Returns:
- This builder for chaining methods calls.
-
bodyType
- Parameters:
bodyType- Type of the email body to send.- Returns:
- This builder for chaining methods calls.
-
build
Creates a new workflow node for aEWorkflowNodeType.FC_EMAILthat sends an email.- Returns:
- The workflow node for an email action.
- Throws:
FastJsonException- When the properties model could not be serialized.
-
buildProps
FcEmailProps buildProps()Creates a new model for a workflow action that sends an email.- Returns:
- The properties model for an email action.
-
cc
- Parameters:
cc- List of CC recipients for the email to replace the existing ones with.- Returns:
- This builder for chaining methods calls.
-
cc
- Parameters:
cc- List of CC recipients for the email to replace the existing ones with.- Returns:
- This builder for chaining methods calls.
-
directClientAuthorizations
- Parameters:
directClientAuthorizations- List ofdirect client authorizationsrecipients for the email to replace the existing ones with.- Returns:
- This builder for chaining methods calls.
-
directClientAuthorizations
- Parameters:
directClientAuthorizations- List ofdirect client authorizationsrecipients for the email to replace the existing ones with.- Returns:
- This builder for chaining methods calls.
-
encryptionType
- Parameters:
encryptionType- How to encrypt the email, if at all.- Returns:
- This builder for chaining methods calls.
-
replyTo
- Parameters:
replyTo- List of Reply-To headers for the email to replace the existing ones with.- Returns:
- This builder for chaining methods calls.
-
replyTo
- Parameters:
replyTo- Reply-To header for the email to use instead of the existing ones with.- Returns:
- This builder for chaining methods calls.
-
senderName
- Parameters:
senderName- Display name of the email's sender.- Returns:
- This builder for chaining methods calls.
-
sendSeparateMails
IEmailNodeBuilder sendSeparateMails()Send separate emails, one for each recipient. Useful when the individual recipients should not see each other's email address.- Returns:
- This builder for chaining methods calls.
-
sendSeparateMails
- Parameters:
sendSeparateMails- Whether to send separate emails, one for each recipient. Useful when the individual recipients should not see each other's email address.- Returns:
- This builder for chaining methods calls.
-
subject
- Parameters:
subject- Subject heading for the email.- Returns:
- This builder for chaining methods calls.
-
to
- Parameters:
to- List of recipients for the email to replace the existing ones with.- Returns:
- This builder for chaining methods calls.
-
to
- Parameters:
to- List of recipients for the email to replace the existing ones with.- Returns:
- This builder for chaining methods calls.
-
userGroups
- Parameters:
userGroups- List ofuser grouprecipients for the email to replace the existing ones with.- Returns:
- This builder for chaining methods calls.
-
userGroups
- Parameters:
userGroups- List ofuser grouprecipients for the email to replace the existing ones with.- Returns:
- This builder for chaining methods calls.
-
users
Deprecated.User references should be done viaUserProfile.- Parameters:
users- List ofuserrecipients for the email to replace the existing ones with.- Returns:
- This builder for chaining methods calls.
-
users
Deprecated.User references should be done viaUserProfile.- Parameters:
users- List ofuserrecipients for the email to replace the existing ones with.- Returns:
- This builder for chaining methods calls.
-
UserProfile.