Class FcEmailProps
java.lang.Object
de.xima.fc.workflow.taglib.model.BaseActionProps
de.xima.fc.workflow.model.nodes.FcEmailProps
- All Implemented Interfaces:
IDescriptionProviding, INameProviding, Serializable
@NotEmptyGroup(fields={"to","toDirectClientAuthorizations","toUserGroups","cc","bcc"},
message="{FcEmailProps.to.required}",
payload=Label.Omit.class,
target=FcEmailProps.class)
public final class FcEmailProps
extends BaseActionProps
implements Serializable
Model class for the email workflow action (
EWorkflowNodeType.FC_EMAIL).- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class BaseActionProps
BaseActionProps.name -
Field Summary
Fields inherited from interface IDescriptionProviding
ATTR_BESCHREIBUNG, ATTR_DESCRIPTION, COL_DESCRIPTIONFields inherited from interface INameProviding
ATTR_NAME, COL_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDetails for how to handle the archive file.getBcc()getBody()getCc()getFrom()Gets the mail encryption Type.getTo()Deprecated.booleanGets whether to send a separate email for each recipient (to, cc, bcc.)booleanGets whether to raise a workflow error when encrypting the email fails, seegetSecurityTemplate().booleanGets whether to raise a workflow error when signing the email fails, seegetSecurityTemplate().voidsetArchiveFileName(String archiveFileName) voidsetArchiveFileProvision(FileProvision archiveFileProvision) Details for how to handle the compressed file.voidsetArchiveFormat(EEmailArchiveFormat archiveFormat) voidvoidvoidsetBodyFormatType(EEmailBodyFormatType bodyFormatType) voidvoidvoidsetMultiFile(MultiFile multiFile) voidsetPlainBody(String plainBody) voidsetReplyTo(List<String> replyTo) voidsetSecurityTemplate(EMailSecurityTemplate securityTemplate) Sets the mail encryption Type.voidsetSenderName(String senderName) voidsetSendSeparateMails(boolean sendSeparateMails) Sets whether to send a separate email for each recipient (to, cc, bcc.)voidsetSubject(String subject) voidsetThrowOnEncryptError(boolean throwOnEncryptError) Sets whether to raise a workflow error when encrypting the email fails, seegetSecurityTemplate().voidsetThrowOnSignError(boolean throwOnSignError) Sets whether to raise a workflow error when signing the email fails, seegetSecurityTemplate().voidvoidsetToDirectClientAuthorizations(List<UuidEntityRef> toDirectClientAuthorizations) voidsetToUserGroups(List<UuidEntityRef> toUserGroups) voidsetToUsers(List<UuidEntityRef> toUsers) Deprecated.toString()Methods inherited from class BaseActionProps
getBeschreibung, getColor, getDescription, getIcon, getName, setColor, setDescription, setIcon, setName
-
Constructor Details
-
FcEmailProps
public FcEmailProps()
-
-
Method Details
-
getArchiveFileName
- Returns:
- The name of the file to be archived. May contain placeholders.
-
setArchiveFileName
- Parameters:
archiveFileName- the file name of the archived email. May contain placeholders.
-
getArchiveFileProvision
Details for how to handle the archive file.- Returns:
- Details for how to handle the archive file.
-
setArchiveFileProvision
Details for how to handle the compressed file.- Parameters:
archiveFileProvision- Details for how to handle the compressed file.
-
getArchiveFormat
- Returns:
- selected mail archive type.
-
setArchiveFormat
- Parameters:
archiveFormat- selected mail archive type.
-
getBcc
-
setBcc
-
getBody
- Returns:
- Body of the email, as HTML
-
setBody
- Parameters:
body- Body of the email, as HTML
-
getBodyFormatType
- Returns:
- selected mail format type
-
setBodyFormatType
- Parameters:
bodyFormatType- selected mail format type
-
getCc
-
setCc
-
getFrom
- Returns:
- Sender address of the email.
-
setFrom
- Parameters:
from- Sender address of the email.
-
getMultiFile
-
setMultiFile
-
getPlainBody
- Returns:
- Body of the email, as plain text
-
setPlainBody
- Parameters:
plainBody- Body of the email, as plain text
-
getReplyTo
-
setReplyTo
-
getSecurityTemplate
Gets the mail encryption Type. Determines whether mails will be encrypted or signed. SeeEMailSecurityTemplatefor a list of possible values. Defaults to none.- Returns:
- Whether and how to encrypt or sign the email.
-
setSecurityTemplate
Sets the mail encryption Type. Determines whether mails will be encrypted or signed. SeeEMailSecurityTemplatefor a list of possible values. Defaults to none.- Parameters:
securityTemplate- Whether and how to encrypt or sign the email.
-
getSenderName
- Returns:
- Name of the sender of the email. This is shown instead of the sender address by many email clients.
-
setSenderName
- Parameters:
senderName- Name of the sender of the email
-
getSubject
- Returns:
- Subject of the email.
-
setSubject
- Parameters:
subject- Subject of the email.
-
getTo
-
setTo
-
getToDirectClientAuthorizations
- Returns:
- Recipients of the email (a list of FC direct client authorizations UUIDs).
- Since:
- 8.0.0
-
setToDirectClientAuthorizations
- Parameters:
toDirectClientAuthorizations- Recipients of the email (a list of FC direct client authorizations UUIDs)- Since:
- 8.0.0
-
getToUserGroups
- Returns:
- Recipients of the email (a list of FC user group UUIDs).
-
setToUserGroups
- Parameters:
toUserGroups- Recipients of the email (a list of FC user group UUIDs)
-
getToUsers
Deprecated.- Returns:
- Recipients of the email (a list of FC user account UUIDs).
-
setToUsers
Deprecated.- Parameters:
toUsers- Recipients of the email (a list of FC user account UUIDs)
-
isSendSeparateMails
public boolean isSendSeparateMails()Gets whether to send a separate email for each recipient (to, cc, bcc.) If false, a single email with the corresponding to, cc, bcc fields will be sent.- Returns:
- Whether to send separate emails for each recipient.
-
setSendSeparateMails
public void setSendSeparateMails(boolean sendSeparateMails) Sets whether to send a separate email for each recipient (to, cc, bcc.) If false, a single email with the corresponding to, cc, bcc fields will be sent.- Parameters:
sendSeparateMails- Whether to send separate emails for each recipient.
-
isThrowOnEncryptError
public boolean isThrowOnEncryptError()Gets whether to raise a workflow error when encrypting the email fails, seegetSecurityTemplate(). If true, the workflow will be aborted, unless the user has configured a custom error handler. Otherwise, the error will be logged and otherwise ignored. Defaults to false.- Returns:
- Whether to raise a workflow error when encrypting the email fails.
-
setThrowOnEncryptError
public void setThrowOnEncryptError(boolean throwOnEncryptError) Sets whether to raise a workflow error when encrypting the email fails, seegetSecurityTemplate(). If true, the workflow will be aborted, unless the user has configured a custom error handler. Otherwise, the error will be logged and otherwise ignored. Defaults to false.- Parameters:
throwOnEncryptError- Whether to raise a workflow error when encrypting the email fails.
-
isThrowOnSignError
public boolean isThrowOnSignError()Gets whether to raise a workflow error when signing the email fails, seegetSecurityTemplate(). If true, the workflow will be aborted, unless the user has configured a custom error handler. Otherwise, the error will be logged and otherwise ignored. Defaults to false.- Returns:
- Whether to raise a workflow error when signing the email fails.
-
setThrowOnSignError
public void setThrowOnSignError(boolean throwOnSignError) Sets whether to raise a workflow error when signing the email fails, seegetSecurityTemplate(). If true, the workflow will be aborted, unless the user has configured a custom error handler. Otherwise, the error will be logged and otherwise ignored. Defaults to false.- Parameters:
throwOnSignError- Whether to raise a workflow error when signing the email fails.
-
toString
-
getToDirectClientAuthorizations().