Class ProjectIdentityCheckData

All Implemented Interfaces:
de.xima.cmn.dao.interfaces.IEntity<Long>, de.xima.cmn.dao.interfaces.ILockableEntity<Long>, ILockingVersionProviding, IProjektDependent, ITransferable, ITransferableEntity, ITransferableLockableEntity, IUUIDEntity, Serializable, Comparable<de.xima.cmn.dao.interfaces.IEntity<Long>>

@Entity public class ProjectIdentityCheckData extends ALockableEntity implements IProjektDependent, IUUIDEntity
Configuration for a project for detecting duplicate submissions.
Since:
7.0.0
Author:
XIMA MEDIA GmbH
See Also:
  • Field Details

  • Constructor Details

    • ProjectIdentityCheckData

      public ProjectIdentityCheckData()
  • Method Details

    • cloneBasics

      public ProjectIdentityCheckData cloneBasics()
    • getFailureTemplate

      @Nullable public Textbaustein getFailureTemplate()
      Returns:
      The template that is displayed when the identity token check fails.
    • getId

      public Long getId()
      Specified by:
      getId in interface de.xima.cmn.dao.interfaces.IEntity<Long>
    • getIdentityTokenTemplate

      @Length(max=1024) public @Length(max=1024) String getIdentityTokenTemplate()
      Returns:
      When enabled, an ID is generated based on the data of a submitted form. The form submission is rejected when a form record with the same identity token exists already. This is the template for generating the ID and may contain placeholders.
    • getProjekt

      public Projekt getProjekt()
      Specified by:
      getProjekt in interface IProjektDependent
    • getUUID

      public String getUUID()
      Specified by:
      getUUID in interface IUUIDEntity
      Returns:
      UUID (Universal Unique Identifier) that identifies this type of entity. Usually is unique within a context, e.g. Mandant, Projekt, ...
    • getUUIDObject

      public UUID getUUIDObject()
      Specified by:
      getUUIDObject in interface IUUIDEntity
    • setFailureTemplate

      public void setFailureTemplate(Textbaustein failureTemplate)
      Parameters:
      failureTemplate - The template that is displayed when the identity token check fails.
    • setId

      public void setId(Long id)
      Description copied from class: AbstractEntity
      !!!WARNING: Currently values bigger Integer.MAX_VALUE or lower then Integer.MIN_VALUE will be altered to null!!!
      Specified by:
      setId in interface de.xima.cmn.dao.interfaces.IEntity<Long>
      Overrides:
      setId in class AbstractEntity
      Parameters:
      id - Long the database-id to set
    • setIdentityTokenTemplate

      public void setIdentityTokenTemplate(String identityTokenTemplate)
      Parameters:
      identityTokenTemplate - When enabled, an ID is generated based on the data of a submitted form. The form submission is rejected when a form record with the same identity token exists already. This is the template for generating the ID and may contain placeholders.
    • setProject

      public void setProject(Projekt project)
    • setProjekt

      public void setProjekt(Projekt project)
      Specified by:
      setProjekt in interface IProjektDependent
    • setUUID

      public void setUUID(String uuid)
      Specified by:
      setUUID in interface IUUIDEntity
    • setUUIDObject

      public void setUUIDObject(UUID uuid)