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 Details

  • Constructor Details

    • FcDoiInitProps

      public FcDoiInitProps()
  • Method Details

    • getBody

      public String getBody()
      Returns:
      When the body type is set to both or EEmailBodyFormatType.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()
      Returns:
      Optional template of type html to show to the user when the double opt-in process failed. When not set, the default template is used.
    • 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 type is set to both or EEmailBodyFormatType.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.
    • getTo

      public List<String> 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. When false, 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. When false , the double opt-in is verified immediately. When false, a page with a verification button is shown.
    • setBody

      public void setBody(String body)
      Parameters:
      body - When the body type is set to both or EEmailBodyFormatType.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)
      Parameters:
      doiFailTemplate - Optional template of type html to show to the user when the double opt-in process failed. When not set, the default template is used.
    • 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 the body type is set to both or EEmailBodyFormatType.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.
    • toString

      public String toString()
      Overrides:
      toString in class Object