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:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringSEARCH_TERM_TARGET_UUIDKey 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 Constructor Description FcDoiInitProps()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetBody()EEmailBodyFormatTypegetBodyFormatType()UuidEntityRefgetDoiFailTemplate()StringgetFrom()StringgetPlainBody()StringgetSenderName()StringgetSubject()List<String>getTo()booleanisActivateVerifyPage()booleanisLockFormRecord()voidsetActivateVerifyPage(boolean activateVerifyPage)voidsetBody(String body)voidsetBodyFormatType(EEmailBodyFormatType bodyFormatType)voidsetDoiFailTemplate(UuidEntityRef doiFailTemplate)voidsetFrom(String from)voidsetLockFormRecord(boolean lockFormRecord)voidsetPlainBody(String plainBody)voidsetSenderName(String senderName)voidsetSubject(String subject)voidsetTo(List<String> to)StringtoString()-
Methods inherited from class de.xima.fc.workflow.taglib.model.BaseActionProps
getBeschreibung, getColor, getDescription, getIcon, getName, setColor, setDescription, setIcon, setName
-
-
-
-
Field Detail
-
SEARCH_TERM_TARGET_UUID
public static final String SEARCH_TERM_TARGET_UUID
Key for storing the UUID of the selected HTML-Template for DoI verification failures as aWorkflowNodeSearchTerm- See Also:
- Constant Field Values
-
-
Method Detail
-
getBody
public String getBody()
- Returns:
- When the
body typeis set tobothorEEmailBodyFormatType.HTML, the HTML content of the email.
-
getBodyFormatType
public EEmailBodyFormatType getBodyFormatType()
- Returns:
- Content type of the email body, i.e. whether to send the email as HTML, as plain text, or both.
-
getDoiFailTemplate
public UuidEntityRef getDoiFailTemplate()
-
getFrom
public String getFrom()
- Returns:
- The email address from which the mail was sent, used for the FROM header.
-
getPlainBody
public String getPlainBody()
- Returns:
- When the
body typeis set tobothorEEmailBodyFormatType.PLAIN_TEXT, the plain text content of the email.
-
getSenderName
public String getSenderName()
- Returns:
- Optional name of the sender. When given, this name is included in the FROM header.
-
getSubject
public String getSubject()
- Returns:
- The subject line of the email, i.e. the heading or title.
-
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
public void setBody(String body)
- Parameters:
body- When thebody typeis set tobothorEEmailBodyFormatType.HTML, the HTML content of the email.
-
setBodyFormatType
public void setBodyFormatType(EEmailBodyFormatType bodyFormatType)
- Parameters:
bodyFormatType- Content type of the email body, i.e. whether to send the email as HTML, as plain text, or both.
-
setDoiFailTemplate
public void setDoiFailTemplate(UuidEntityRef doiFailTemplate)
-
setFrom
public void setFrom(String from)
- 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
public void setPlainBody(String plainBody)
- Parameters:
plainBody- When thebody typeis set tobothorEEmailBodyFormatType.PLAIN_TEXT, the plain text content of the email.
-
setSenderName
public void setSenderName(String senderName)
- Parameters:
senderName- Optional name of the sender. When given, this name is included in the FROM header.
-
setSubject
public void setSubject(String subject)
- Parameters:
subject- The subject line of the email, i.e. the heading or title.
-
setTo
public void setTo(List<String> to)
- Parameters:
to- List of email addresses to which to send the email.
-
-