Package de.xima.fc.workflow.model.nodes
Class FcDoiInitProps
java.lang.Object
de.xima.fc.workflow.taglib.model.BaseActionProps
de.xima.fc.workflow.model.nodes.FcDoiInitProps
- All Implemented Interfaces:
IDescriptionProviding
,INameProviding
,Serializable
@NotEmptyIf(field="body",dependants="bodyFormatType",target=FcDoiInitProps.class) @NotEmptyIf(field="plainBody",dependants="bodyFormatType",target=FcDoiInitProps.class)
public final class FcDoiInitProps
extends BaseActionProps
implements Serializable
Model class for the workflow action that initializes the Double-Opt-In process.
- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Key for storing the UUID of the selected HTML-Template for DoI verification failures as aWorkflowNodeSearchTerm
Fields inherited from interface de.xima.fc.entities.interfaces.IDescriptionProviding
ATTR_BESCHREIBUNG, ATTR_DESCRIPTION, COL_DESCRIPTION
Fields inherited from interface de.xima.fc.entities.interfaces.INameProviding
ATTR_NAME, COL_NAME
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetBody()
getFrom()
getTo()
boolean
boolean
void
setActivateVerifyPage
(boolean activateVerifyPage) void
void
setBodyFormatType
(EEmailBodyFormatType bodyFormatType) void
setDoiFailTemplate
(UuidEntityRef doiFailTemplate) void
void
setLockFormRecord
(boolean lockFormRecord) void
setPlainBody
(String plainBody) void
setSenderName
(String senderName) void
setSubject
(String subject) void
toString()
Methods inherited from class de.xima.fc.workflow.taglib.model.BaseActionProps
getBeschreibung, getColor, getDescription, getIcon, getName, setColor, setDescription, setIcon, setName
-
Field Details
-
SEARCH_TERM_TARGET_UUID
Key for storing the UUID of the selected HTML-Template for DoI verification failures as aWorkflowNodeSearchTerm
- See Also:
-
-
Constructor Details
-
FcDoiInitProps
public FcDoiInitProps()
-
-
Method Details
-
getBody
- Returns:
- When the
body type
is set toboth
orEEmailBodyFormatType.HTML
, the HTML content of the email.
-
getBodyFormatType
- Returns:
- Content type of the email body, i.e. whether to send the email as HTML, as plain text, or both.
-
getDoiFailTemplate
-
getFrom
- Returns:
- The email address from which the mail was sent, used for the FROM header.
-
getPlainBody
- Returns:
- When the
body type
is set toboth
orEEmailBodyFormatType.PLAIN_TEXT
, the plain text content of the email.
-
getSenderName
- Returns:
- Optional name of the sender. When given, this name is included in the FROM header.
-
getSubject
- Returns:
- The subject line of the email, i.e. the heading or title.
-
getTo
- Returns:
- List of email addresses to which to send the email.
-
isActivateVerifyPage
public boolean isActivateVerifyPage()- Returns:
- Controls the behavior when the user clicks on the verification link. When
false
, the double opt-in is verified immediately. Whenfalse
, a page with a verification button is shown.
-
isLockFormRecord
public boolean isLockFormRecord()- Returns:
- Whether the form record should be locked when while waiting for the double opt-in process to be completed.
- Since:
- 8.0.0
-
setActivateVerifyPage
public void setActivateVerifyPage(boolean activateVerifyPage) - Parameters:
activateVerifyPage
- Controls the behavior when the user clicks on the verification link. Whenfalse
, the double opt-in is verified immediately. Whenfalse
, a page with a verification button is shown.
-
setBody
- Parameters:
body
- When thebody type
is set toboth
orEEmailBodyFormatType.HTML
, the HTML content of the email.
-
setBodyFormatType
- Parameters:
bodyFormatType
- Content type of the email body, i.e. whether to send the email as HTML, as plain text, or both.
-
setDoiFailTemplate
-
setFrom
- Parameters:
from
- The email address from which the mail was sent, used for the FROM header.
-
setLockFormRecord
public void setLockFormRecord(boolean lockFormRecord) - Parameters:
lockFormRecord
- Whether the form record should be locked when while waiting for the double opt-in process to be completed.- Since:
- 8.0.0
-
setPlainBody
- Parameters:
plainBody
- When thebody type
is set toboth
orEEmailBodyFormatType.PLAIN_TEXT
, the plain text content of the email.
-
setSenderName
- Parameters:
senderName
- Optional name of the sender. When given, this name is included in the FROM header.
-
setSubject
- Parameters:
subject
- The subject line of the email, i.e. the heading or title.
-
setTo
- Parameters:
to
- List of email addresses to which to send the email.
-
toString
-