Package de.xima.fc.entities
Class ProjectIdentityCheckData
- java.lang.Object
 - 
- de.xima.cmn.dao.model.AEntity<Long>
 - 
- de.xima.fc.entities.AbstractEntity
 - 
- de.xima.fc.entities.AbstractLockableEntity
 - 
- de.xima.fc.entities.ALockableEntity
 - 
- de.xima.fc.entities.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:
 - Serialized Form
 
 
- 
- 
Field Summary
Fields Modifier and Type Field Description static StringATTR_FAILURE_TEMPLATEJPA attribute name for thegetFailureTemplate()field.static StringATTR_IDENTITY_TOKEN_TEMPLATEJPA attribute name for thegetIdentityTokenTemplate()field.static StringCOL_FAILURE_TEMPLATEDatabase column name for thegetFailureTemplate()field.static StringCOL_IDENTITY_TOKEN_TEMPLATEDatabase column name for thegetIdentityTokenTemplate()field.static StringCOL_PROJECT_IDDatabase column name for thegetProjekt()field.static StringCOL_UUIDDatabase column name for thegetUUID()field.- 
Fields inherited from class de.xima.fc.entities.AbstractLockableEntity
COL_LOCKINGVERSION, lockingVersion 
- 
Fields inherited from class de.xima.fc.entities.AbstractEntity
COL_ID, id 
- 
Fields inherited from interface de.xima.fc.entities.interfaces.IProjektDependent
ATTR_PROJEKT 
- 
Fields inherited from interface de.xima.fc.entities.interfaces.ITransferableEntity
IMPORT_ID, INVALID_ID 
- 
Fields inherited from interface de.xima.fc.entities.interfaces.IUUIDEntity
ATTR_UUID, INVALID_UUID, INVALID_UUID_OBJECT, NULL_SAFE_UUID_TYPE, TYPE_NAME_UUID 
 - 
 
- 
Constructor Summary
Constructors Constructor Description ProjectIdentityCheckData() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProjectIdentityCheckDatacloneBasics()TextbausteingetFailureTemplate()LonggetId()@Length(max=1024) StringgetIdentityTokenTemplate()ProjektgetProjekt()StringgetUUID()UUIDgetUUIDObject()voidsetFailureTemplate(Textbaustein failureTemplate)voidsetId(Long id)!!!WARNING: Currently values biggerInteger.MAX_VALUEor lower thenInteger.MIN_VALUEwill be altered to null!!!voidsetIdentityTokenTemplate(String identityTokenTemplate)voidsetProject(Projekt project)voidsetProjekt(Projekt project)voidsetUUID(String uuid)voidsetUUIDObject(UUID uuid)- 
Methods inherited from class de.xima.fc.entities.AbstractLockableEntity
entityHasChanged, getLockingVersion, setLockingVersion, toString 
- 
Methods inherited from class de.xima.fc.entities.AbstractEntity
asIntValue, isPersisted, setId 
- 
Methods inherited from class de.xima.cmn.dao.model.AEntity
compareTo, equals, getDBTableName, hashCode 
- 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait 
- 
Methods inherited from interface java.lang.Comparable
compareTo 
 - 
 
 - 
 
- 
- 
Field Detail
- 
ATTR_FAILURE_TEMPLATE
public static final String ATTR_FAILURE_TEMPLATE
JPA attribute name for thegetFailureTemplate()field.- See Also:
 - Constant Field Values
 
 
- 
ATTR_IDENTITY_TOKEN_TEMPLATE
public static final String ATTR_IDENTITY_TOKEN_TEMPLATE
JPA attribute name for thegetIdentityTokenTemplate()field.- See Also:
 - Constant Field Values
 
 
- 
COL_FAILURE_TEMPLATE
public static final String COL_FAILURE_TEMPLATE
Database column name for thegetFailureTemplate()field.- See Also:
 - Constant Field Values
 
 
- 
COL_IDENTITY_TOKEN_TEMPLATE
public static final String COL_IDENTITY_TOKEN_TEMPLATE
Database column name for thegetIdentityTokenTemplate()field.- See Also:
 - Constant Field Values
 
 
- 
COL_UUID
public static final String COL_UUID
Database column name for thegetUUID()field.- See Also:
 - Constant Field Values
 
 
- 
COL_PROJECT_ID
public static final String COL_PROJECT_ID
Database column name for thegetProjekt()field.- See Also:
 - Constant Field Values
 
 
 - 
 
- 
Method Detail
- 
cloneBasics
public ProjectIdentityCheckData cloneBasics()
 
- 
getFailureTemplate
@Nullable public Textbaustein getFailureTemplate()
- Returns:
 - The template that is displayed when the identity token check fails.
 
 
- 
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:
 getProjektin interfaceIProjektDependent
 
- 
getUUID
public String getUUID()
- Specified by:
 getUUIDin interfaceIUUIDEntity- 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:
 getUUIDObjectin interfaceIUUIDEntity
 
- 
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 biggerInteger.MAX_VALUEor lower thenInteger.MIN_VALUEwill be altered to null!!!- Specified by:
 setIdin interfacede.xima.cmn.dao.interfaces.IEntity<Long>- Overrides:
 setIdin classAbstractEntity- Parameters:
 id-Longthe 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:
 setProjektin interfaceIProjektDependent
 
- 
setUUID
public void setUUID(String uuid)
- Specified by:
 setUUIDin interfaceIUUIDEntity
 
- 
setUUIDObject
public void setUUIDObject(UUID uuid)
 
 - 
 
 -