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:
 
- 
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringJPA attribute name for thegetFailureTemplate()field.static final StringJPA attribute name for thegetIdentityTokenTemplate()field.static final StringDatabase column name for thegetFailureTemplate()field.static final StringDatabase column name for thegetIdentityTokenTemplate()field.static final StringDatabase column name for thegetProjekt()field.static final StringDatabase column name for thegetUUID()field.Fields inherited from class de.xima.fc.entities.AbstractLockableEntity
COL_LOCKINGVERSION, lockingVersionFields inherited from class de.xima.fc.entities.AbstractEntity
COL_ID, idFields inherited from interface de.xima.cmn.dao.interfaces.IEntity
ATTR_IDFields inherited from interface de.xima.cmn.dao.interfaces.ILockableEntity
ATTR_LOCKINGVERSIONFields inherited from interface de.xima.fc.entities.interfaces.IProjektDependent
ATTR_PROJEKTFields inherited from interface de.xima.fc.entities.interfaces.ITransferableEntity
IMPORT_ID, INVALID_IDFields 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 - 
Method Summary
Modifier and TypeMethodDescriptiongetId()@Length(max=1024) StringgetUUID()voidsetFailureTemplate(Textbaustein failureTemplate) void!!!voidsetIdentityTokenTemplate(String identityTokenTemplate) voidsetProject(Projekt project) voidsetProjekt(Projekt project) voidvoidsetUUIDObject(UUID uuid) Methods inherited from class de.xima.fc.entities.AbstractLockableEntity
entityHasChanged, getLockingVersion, setLockingVersion, toStringMethods inherited from class de.xima.fc.entities.AbstractEntity
asIntValue, isPersisted, setIdMethods inherited from class de.xima.cmn.dao.model.AEntity
compareTo, equals, getDBTableName, hashCodeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface de.xima.cmn.dao.interfaces.IEntity
isPersisted 
- 
Field Details
- 
ATTR_FAILURE_TEMPLATE
JPA attribute name for thegetFailureTemplate()field.- See Also:
 
 - 
ATTR_IDENTITY_TOKEN_TEMPLATE
JPA attribute name for thegetIdentityTokenTemplate()field.- See Also:
 
 - 
COL_FAILURE_TEMPLATE
Database column name for thegetFailureTemplate()field.- See Also:
 
 - 
COL_IDENTITY_TOKEN_TEMPLATE
Database column name for thegetIdentityTokenTemplate()field.- See Also:
 
 - 
COL_UUID
Database column name for thegetUUID()field.- See Also:
 
 - 
COL_PROJECT_ID
Database column name for thegetProjekt()field.- See Also:
 
 
 - 
 - 
Constructor Details
- 
ProjectIdentityCheckData
public ProjectIdentityCheckData() 
 - 
 - 
Method Details
- 
cloneBasics
 - 
getFailureTemplate
- Returns:
 - The template that is displayed when the identity token check fails.
 
 - 
getId
- Specified by:
 getIdin interfacede.xima.cmn.dao.interfaces.IEntity<Long>
 - 
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
- Specified by:
 getProjektin interfaceIProjektDependent
 - 
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
- Specified by:
 getUUIDObjectin interfaceIUUIDEntity
 - 
setFailureTemplate
- Parameters:
 failureTemplate- The template that is displayed when the identity token check fails.
 - 
setId
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
- 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
 - 
setProjekt
- Specified by:
 setProjektin interfaceIProjektDependent
 - 
setUUID
- Specified by:
 setUUIDin interfaceIUUIDEntity
 - 
setUUIDObject
 
 -