Class WorkflowVersionBackup
java.lang.Object
de.xima.cmn.dao.model.AEntity<Long>
de.xima.fc.entities.AbstractEntity
de.xima.fc.entities.AbstractLockableEntity
de.xima.fc.entities.AFileEntity<WorkflowVersion, WorkflowVersionBackupData>
de.xima.fc.entities.WorkflowVersionBackup
- All Implemented Interfaces:
de.xima.cmn.dao.interfaces.IEntity<Long>, de.xima.cmn.dao.interfaces.ILockableEntity<Long>, IAbstractDatei<WorkflowVersionBackupData>, IFileEntity<WorkflowVersion, WorkflowVersionBackupData>, ILockingVersionProviding, ITransferable, ITransferableEntity, ITransferableLockableEntity, IUUIDEntity, Serializable, Comparable<de.xima.cmn.dao.interfaces.IEntity<Long>>
@Entity
public class WorkflowVersionBackup
extends AFileEntity<WorkflowVersion, WorkflowVersionBackupData>
implements IUUIDEntity
File descriptor for the JSON data of a workflow version backup. An automatic backup is created when the workflow is
saved in the designer.
- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringJPA attribute name for thegetBaseEntity()field.static final StringDatabase column name for thegetBaseEntity()field.static final StringDatabase column name for thegetUUID()field.Fields inherited from class AFileEntity
aenderungsdatum, ATTR_NAME, benutzer_erstellt, benutzer_geaendert, COL_DATE_CREATED, COL_DATE_MODIFIED, COL_NAME, COL_USER_NAME_CREATED, COL_USER_NAME_MODIFIED, dataEntities, dateiname, erstellungsdatumFields inherited from class AbstractLockableEntity
COL_LOCKINGVERSION, lockingVersionFields inherited from class AbstractEntity
COL_ID, idFields inherited from interface de.xima.cmn.dao.interfaces.IEntity
ATTR_IDFields inherited from interface IFileEntity
ATTR_AENDERUNGSDATUM, ATTR_BASE_ENTITY, ATTR_BENUTZER, ATTR_BENUTZER_GEAENDERT, ATTR_DATA_ENTITY, ATTR_DATEINAME, ATTR_DATEN, ATTR_ERSTELLUNGSDATUMFields inherited from interface de.xima.cmn.dao.interfaces.ILockableEntity
ATTR_LOCKINGVERSIONFields inherited from interface ITransferableEntity
IMPORT_ID, INVALID_IDFields inherited from interface IUUIDEntity
ATTR_UUID, INVALID_UUID, INVALID_UUID_OBJECT, NULL_SAFE_UUID_TYPE, NULLABLE_UUID_TYPE, TYPE_NAME_UUID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetId()getUUID()Gets the UUID (universal unique identifier) that uniquely identifies this type of entity.Gets the UUID (universal unique identifier) that uniquely identifies this type of entity.voidsetBaseEntity(WorkflowVersion baseEntity) voidsetDataEntity(WorkflowVersionBackupData dataEntity) void!!!voidsetNewData(byte[] newData) voidSets the UUID (universal unique identifier) that uniquely identifies this type of entity.voidsetUUIDObject(UUID uuid) Methods inherited from class AFileEntity
getAenderungsdatum, getBenutzer_erstellt, getBenutzer_geaendert, getDataEntities, getDateiname, getDaten, getErstellungsdatum, setAenderungsdatum, setBenutzer_erstellt, setBenutzer_geaendert, setDataEntities, setDateiname, setErstellungsdatumMethods inherited from class AbstractLockableEntity
entityHasChanged, getLockingVersion, setLockingVersion, toStringMethods inherited from class AbstractEntity
asIntValue, isPersisted, setIdMethods inherited from class de.xima.cmn.dao.model.AEntity
compareTo, equals, getDBTableName, hashCodeMethods inherited from interface Comparable
compareToMethods inherited from interface de.xima.cmn.dao.interfaces.IEntity
isPersistedMethods inherited from interface IFileEntity
getDateiDaten, setDateiDatenMethods inherited from interface de.xima.cmn.dao.interfaces.ILockableEntity
entityHasChanged, getLockingVersion, setLockingVersion
-
Field Details
-
ATTR_WORKFLOW_VERSION
JPA attribute name for thegetBaseEntity()field.- See Also:
-
COL_BASE_ENTITY
Database column name for thegetBaseEntity()field.- See Also:
-
COL_UUID
-
-
Constructor Details
-
WorkflowVersionBackup
public WorkflowVersionBackup()
-
-
Method Details
-
getBaseEntity
- Specified by:
getBaseEntityin interfaceIFileEntity<WorkflowVersion, WorkflowVersionBackupData>
-
getDataEntity
- Specified by:
getDataEntityin interfaceIFileEntity<WorkflowVersion, WorkflowVersionBackupData>
-
getId
-
getPersistJson
- Returns:
- The file data decoded as a JSON strong.
-
getUUID
Description copied from interface:IUUIDEntityGets the UUID (universal unique identifier) that uniquely identifies this type of entity. Whether the UUID must be globally unique or only with within a context depends on the type of entity. Common contexts are for exampleclient scopesorproject scope.- Specified by:
getUUIDin interfaceIUUIDEntity- Returns:
- The UUID of the entity.
-
getUUIDObject
Description copied from interface:IUUIDEntityGets the UUID (universal unique identifier) that uniquely identifies this type of entity. Whether the UUID must be globally unique or only with within a context depends on the type of entity. Common contexts are for exampleclient scopesorproject scope.- Specified by:
getUUIDObjectin interfaceIUUIDEntity- Returns:
- The UUID of the entity.
-
setBaseEntity
- Specified by:
setBaseEntityin interfaceIFileEntity<WorkflowVersion, WorkflowVersionBackupData>
-
setDataEntity
- Specified by:
setDataEntityin interfaceIFileEntity<WorkflowVersion, WorkflowVersionBackupData>
-
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
-
setNewData
public void setNewData(byte[] newData) - Specified by:
setNewDatain interfaceIAbstractDatei<WorkflowVersionBackupData>- Specified by:
setNewDatain interfaceIFileEntity<WorkflowVersion, WorkflowVersionBackupData>
-
setUUID
Description copied from interface:IUUIDEntitySets the UUID (universal unique identifier) that uniquely identifies this type of entity. Whether the UUID must be globally unique or only with within a context depends on the type of entity. Common contexts are for exampleclient scopesorproject scope.- Specified by:
setUUIDin interfaceIUUIDEntity- Parameters:
uuid- The UUID of the entity.
-
setUUIDObject
- Parameters:
uuid- The unique UUID of this workflow version.
-