Package de.xima.fc.workflow.model.nodes
Class FcEmailProps
java.lang.Object
de.xima.fc.workflow.taglib.model.BaseActionProps
de.xima.fc.workflow.model.nodes.FcEmailProps
- All Implemented Interfaces:
IDescriptionProviding,INameProviding,IAttachToFormRecordProviding,Serializable
@NotEmptyGroup(fields={"to","toDirectClientAuthorizations","toUserGroups","cc","bcc"},
message="{FcEmailProps.to.required}",
payload=Omit.class,
target=FcEmailProps.class)
@NotEmptyIf(field="body",dependants="bodyFormatType",target=FcEmailProps.class) @NotEmptyIf(field="plainBody",dependants="bodyFormatType",target=FcEmailProps.class)
public final class FcEmailProps
extends BaseActionProps
implements Serializable, IAttachToFormRecordProviding
Model class for the email workflow action (
EWorkflowNodeType.FC_EMAIL).- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
- See Also:
-
Field Summary
Fields inherited from interface de.xima.fc.entities.interfaces.IDescriptionProviding
ATTR_BESCHREIBUNG, ATTR_DESCRIPTION, COL_DESCRIPTIONFields inherited from interface de.xima.fc.entities.interfaces.INameProviding
ATTR_NAME, COL_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetBcc()getBody()getCc()getFrom()getTo()Deprecated.booleanbooleanvoidsetArchiveFileName(String archiveFileName) voidsetArchiveFormat(EEmailArchiveFormat archiveFormat) voidsetAttachToFormRecord(boolean attachToFormRecord) voidvoidvoidsetBodyFormatType(EEmailBodyFormatType bodyFormatType) voidvoidsetEncryptionType(EMailEncrpytionType encryptionType) voidvoidsetMultiFile(MultiFile multiFile) voidsetPlainBody(String plainBody) voidsetReplyTo(List<String> replyTo) voidsetSenderName(String senderName) voidsetSendSeparateMails(boolean sendSeparateMails) voidsetSubject(String subject) voidvoidsetToDirectClientAuthorizations(List<UuidEntityRef> toDirectClientAuthorizations) voidsetToUserGroups(List<UuidEntityRef> toUserGroups) voidsetToUsers(List<UuidEntityRef> toUsers) Deprecated.toString()Methods inherited from class de.xima.fc.workflow.taglib.model.BaseActionProps
getBeschreibung, getColor, getDescription, getIcon, getName, setColor, setDescription, setIcon, setName
-
Constructor Details
-
FcEmailProps
public FcEmailProps()
-
-
Method Details
-
getBcc
- Returns:
- The blind copy-recipients of the email
-
getBody
- Returns:
- Body of the email, as HTML
-
getBodyFormatType
- Returns:
- selected mail format type
-
getArchiveFormat
- Returns:
- selected mail archive type.
-
getCc
- Returns:
- the copy-recipients of the email.
-
getEncryptionType
- Returns:
- the mail encryption type. (Can be NONE / SMIME / PGP)
-
getFrom
- Returns:
- Sender address of the email.
-
getMultiFile
- Returns:
- a resource of type
MultiFile
-
getPlainBody
- Returns:
- Body of the email, as plain text
-
getReplyTo
- Returns:
- Reply-To header of mail
-
getSenderName
- Returns:
- Name of the sender of the email. This is shown instead of the sender address by many email clients.
-
getSubject
- Returns:
- Subject of the email.
-
getTo
- Returns:
- Recipients of the email.
-
getToDirectClientAuthorizations
- Returns:
- 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).
-
getToUsers
Deprecated.- Returns:
- Recipients of the email (a list of FC user account UUIDs).
-
isSendSeparateMails
public boolean isSendSeparateMails()- Returns:
trueif a separate mail should be generated for each recipient.
-
isAttachToFormRecord
public boolean isAttachToFormRecord()- Specified by:
isAttachToFormRecordin interfaceIAttachToFormRecordProviding- Returns:
- Whether files created by the workflow node are attached to the form record.
-
getArchiveFileName
- Returns:
- The name of the file to be archived. May contain placeholders.
-
setBcc
- Parameters:
bcc- The blind copy-recipients of the email
-
setBody
- Parameters:
body- Body of the email, as HTML
-
setBodyFormatType
- Parameters:
bodyFormatType- selected mail format type
-
setArchiveFormat
- Parameters:
archiveFormat- selected mail archive type.
-
setCc
- Parameters:
cc- the copy-recipients of the email.
-
setEncryptionType
- Parameters:
encryptionType- the mail encryption type. (Can be NONE / SMIME / PGP)
-
setFrom
- Parameters:
from- Sender address of the email.
-
setMultiFile
- Parameters:
multiFile- a resource of typeMultiFile
-
setPlainBody
- Parameters:
plainBody- Body of the email, as plain text
-
setReplyTo
- Parameters:
replyTo- Reply-To header of mail
-
setSenderName
- Parameters:
senderName- Name of the sender of the email
-
setSendSeparateMails
public void setSendSeparateMails(boolean sendSeparateMails) - Parameters:
sendSeparateMails-trueif a separate mail should generate for every recipients
-
setAttachToFormRecord
public void setAttachToFormRecord(boolean attachToFormRecord) - Parameters:
attachToFormRecord- Whether files created by the workflow node are attached to the form record.
-
setArchiveFileName
- Parameters:
archiveFileName- the file name of the archived email. May contain placeholders.
-
setSubject
- Parameters:
subject- Subject of the email.
-
setTo
- Parameters:
to- Recipients of the email.
-
setToDirectClientAuthorizations
- Parameters:
toDirectClientAuthorizations- Recipients of the email (a list of FC direct client authorizations UUIDs)- Since:
- 8.0.0
-
setToUserGroups
- Parameters:
toUserGroups- Recipients of the email (a list of FC user group UUIDs)
-
setToUsers
Deprecated.- Parameters:
toUsers- Recipients of the email (a list of FC user account UUIDs)
-
toString
-
getToDirectClientAuthorizations().