Package de.xima.fc.entities
Class FormVersion
- 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.FormVersion
-
- All Implemented Interfaces:
de.xima.cmn.dao.interfaces.IEntity<Long>,de.xima.cmn.dao.interfaces.ILockableEntity<Long>,IFileProviding<FormVersionDatei,FormVersionDateiData>,ILockingVersionProviding,IProjektDependent,ITransferable,ITransferableEntity,ITransferableLockableEntity,IUUIDEntity,IVersionNumberProviding,Serializable,Comparable<de.xima.cmn.dao.interfaces.IEntity<Long>>
@Entity public class FormVersion extends ALockableEntity implements IProjektDependent, IFileProviding<FormVersionDatei,FormVersionDateiData>, IUUIDEntity, IVersionNumberProviding
Die Entität FormVersion ermöglicht es verschiedene Versionen eines Formulars zu verwalten.- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringATTR_AKTIVstatic StringATTR_CHARSET_NAMEDeprecated.will be removedstatic StringATTR_DATUM_PUBLIZIERUNGstatic StringATTR_FORM_ELEMENTEstatic StringATTR_FORM_TYPstatic StringATTR_FREIGABE_STATUSstatic StringATTR_IS_ACTIVE_VERSIONstatic StringATTR_MANDANTDeprecated.will be removed, usegetProjekt()andAbstractMandantDependentEntity.getMandant()static StringATTR_NOTIZstatic StringATTR_THEMEDeprecated.will be removed, usegetThemeUUID()orgetThemeUUIDObject()insteadstatic StringATTR_THEME_UUIDstatic StringATTR_VALIDATE_SUBMIT_ACTIONstatic StringATTR_VERSIONS_NUMMERstatic StringCOL_THEME_UUIDstatic StringCOL_UUIDstatic StringCOL_VALIDATE_SUBMIT_ACTIONstatic intINVALID_VERS_NUM-
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.IFileProviding
ATTR_DATEI, ATTR_FILE
-
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 FormVersion()
-
Method Summary
-
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
-
Methods inherited from interface de.xima.fc.entities.interfaces.IFileProviding
getDatei, setDatei
-
-
-
-
Field Detail
-
ATTR_VERSIONS_NUMMER
public static final String ATTR_VERSIONS_NUMMER
- See Also:
- Constant Field Values
-
ATTR_DATUM_PUBLIZIERUNG
public static final String ATTR_DATUM_PUBLIZIERUNG
- See Also:
- Constant Field Values
-
ATTR_NOTIZ
public static final String ATTR_NOTIZ
- See Also:
- Constant Field Values
-
ATTR_THEME_UUID
public static final String ATTR_THEME_UUID
- See Also:
- Constant Field Values
-
ATTR_AKTIV
public static final String ATTR_AKTIV
- See Also:
- Constant Field Values
-
ATTR_FORM_TYP
public static final String ATTR_FORM_TYP
- See Also:
- Constant Field Values
-
ATTR_FORM_ELEMENTE
public static final String ATTR_FORM_ELEMENTE
- See Also:
- Constant Field Values
-
ATTR_FREIGABE_STATUS
public static final String ATTR_FREIGABE_STATUS
- See Also:
- Constant Field Values
-
ATTR_IS_ACTIVE_VERSION
public static final String ATTR_IS_ACTIVE_VERSION
- See Also:
- Constant Field Values
-
ATTR_VALIDATE_SUBMIT_ACTION
public static final String ATTR_VALIDATE_SUBMIT_ACTION
- See Also:
- Constant Field Values
-
COL_UUID
public static final String COL_UUID
- See Also:
- Constant Field Values
-
COL_THEME_UUID
public static final String COL_THEME_UUID
- See Also:
- Constant Field Values
-
COL_VALIDATE_SUBMIT_ACTION
public static final String COL_VALIDATE_SUBMIT_ACTION
- See Also:
- Constant Field Values
-
INVALID_VERS_NUM
public static final int INVALID_VERS_NUM
- See Also:
- Constant Field Values
-
ATTR_THEME
@Deprecated public static final String ATTR_THEME
Deprecated.will be removed, usegetThemeUUID()orgetThemeUUIDObject()instead- See Also:
- Constant Field Values
-
ATTR_CHARSET_NAME
@Deprecated public static final String ATTR_CHARSET_NAME
Deprecated.will be removed- See Also:
- Constant Field Values
-
ATTR_MANDANT
@Deprecated public static final String ATTR_MANDANT
Deprecated.will be removed, usegetProjekt()andAbstractMandantDependentEntity.getMandant()- See Also:
- Constant Field Values
-
-
Method Detail
-
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
-
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, ...
-
setUUID
public void setUUID(String uuid)
- Specified by:
setUUIDin interfaceIUUIDEntity
-
getUUIDObject
public UUID getUUIDObject()
- Specified by:
getUUIDObjectin interfaceIUUIDEntity
-
setUUIDObject
public void setUUIDObject(UUID uuid)
-
getAction
public EFormVersionActions getAction()
-
setAction
public void setAction(EFormVersionActions action)
-
getFormElemente
public List<FormElement> getFormElemente()
-
setFormElemente
public void setFormElemente(List<FormElement> formElemente)
-
addFormElement
public void addFormElement(FormElement formElement)
-
removeFormElement
public void removeFormElement(FormElement formElement)
-
getFormTyp
public EFormTyp getFormTyp()
-
setFormTyp
public void setFormTyp(EFormTyp formTyp)
-
getVersionsNummer
public int getVersionsNummer()
-
getVersionNumber
public long getVersionNumber()
- Specified by:
getVersionNumberin interfaceIVersionNumberProviding- Returns:
- The version number of this object.
-
setVersionsNummer
public void setVersionsNummer(int versionsNummer)
-
getThemeUUID
public String getThemeUUID()
-
setThemeUUID
public void setThemeUUID(String themeUUID)
-
getThemeUUIDObject
public UUID getThemeUUIDObject()
-
setThemeUUIDObject
public void setThemeUUIDObject(UUID themeUUID)
-
getNotiz
public String getNotiz()
-
setNotiz
public void setNotiz(String notiz)
-
getProjekt
public Projekt getProjekt()
- Specified by:
getProjektin interfaceIProjektDependent
-
setProjekt
public void setProjekt(Projekt projekt)
- Specified by:
setProjektin interfaceIProjektDependent
-
getAngelegtAm
public Date getAngelegtAm()
-
getLetzteAenderungAm
public Date getLetzteAenderungAm()
-
getErsteller
public String getErsteller()
-
getBearbeiter
public String getBearbeiter()
-
getFormActionUrl
public String getFormActionUrl()
Returns the submit url of the form- Returns:
- the submit url
-
getFreigabeStatus
public EFreigabeStatus getFreigabeStatus()
-
setFreigabeStatus
public void setFreigabeStatus(EFreigabeStatus freigabeStatus)
-
isActiveVersion
public boolean isActiveVersion()
-
isValidateSubmitAction
public boolean isValidateSubmitAction()
- Returns:
trueif the transmitted submit button name used to submit the form needs to be validated (whether such a button really existed), orfalseotherwise.
-
setValidateSubmitAction
public void setValidateSubmitAction(boolean validateSubmitAction)
- Parameters:
validateSubmitAction-trueif the transmitted submit button name used to submit the form needs to be validated (whether such a button really existed), orfalseotherwise.
-
getFileEntity
public FormVersionDatei getFileEntity()
- Specified by:
getFileEntityin interfaceIFileProviding<FormVersionDatei,FormVersionDateiData>
-
setFileEntity
public void setFileEntity(FormVersionDatei fileEntity)
- Specified by:
setFileEntityin interfaceIFileProviding<FormVersionDatei,FormVersionDateiData>
-
setCharsetName
@Deprecated public void setCharsetName(String charsetName)
Deprecated.
-
getCharsetName
@Deprecated public String getCharsetName()
Deprecated.
-
getHttpFormUrl
@Deprecated public String getHttpFormUrl()
Deprecated.Konkrete Aufruf-URL für externe Formulare vom TypEFormTyp.HTTP_REQUEST
-
getMandant
@Deprecated public Mandant getMandant()
Deprecated.will be removed, usegetProjekt()andAbstractMandantDependentEntity.getMandant()- Returns:
- returns the client or null if not set
-
setMandant
@Deprecated public void setMandant(Mandant mandant)
Deprecated.will be removed, usegetProjekt()andAbstractMandantDependentEntity.getMandant()
-
getTheme
@Deprecated public String getTheme()
Deprecated.UsegetThemeUUID()instead
-
setTheme
@Deprecated public void setTheme(String theme)
Deprecated.UsesetThemeUUID(String)instead
-
cloneBasics
public FormVersion cloneBasics()
-
-