Package de.xima.fc.entities
Class Vorgang
- java.lang.Object
-
- de.xima.cmn.dao.model.AEntity<Long>
-
- All Implemented Interfaces:
de.xima.cmn.dao.interfaces.IEntity<Long>,de.xima.cmn.dao.interfaces.ILockableEntity<Long>,ICustomAttributeProviding,ICustomAttributesEntity,ILockingVersionProviding,IMandantDependent,IProjektDependent,ITransferable,ITransferableEntity,ITransferableLockableEntity,IUUIDEntity,Serializable,Comparable<de.xima.cmn.dao.interfaces.IEntity<Long>>
@Entity public class Vorgang extends AClientDependentEntity implements IProjektDependent, IUUIDEntity, ICustomAttributesEntity
A form record (Vorgang) is a record of aformsubmission. When a form is submitted initially, a new form record is created. Users may open an existing form record, edit its data, and submit it again.A form record is identified by its
UUID, also called process ID. It is globally unique among all projects and clients, and identifies the form record in the system.Each form record is associated with a
workflow state, which represents business logic and defines the possible actions that can be taken on the form record.The
submissionsstore a list of all form record submissions. Each time a user submits a form, a new form record submission is created. Each form submission contains some metadata such as the user who submitted the form, and also references theform datafor all form fields.- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class de.xima.fc.entities.AClientDependentEntity
COL_CLIENTID, mandant
-
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.ICustomAttributesEntity
ATTR_CUSTOM_ATTRIBUTES, COL_CUSTOM_ATTRIBUTE_NAME, COL_CUSTOM_ATTRIBUTE_VALUE
-
Fields inherited from interface de.xima.fc.entities.interfaces.IMandantDependent
ATTR_CLIENT, ATTR_MANDANT, COL_CLIENT_ID
-
Fields inherited from interface de.xima.fc.entities.interfaces.ITransferableEntity
IMPORT_ID, INVALID_ID
-
Fields inherited from interface de.xima.fc.entities.interfaces.IUUIDEntity
INVALID_UUID, INVALID_UUID_OBJECT, NULL_SAFE_UUID_TYPE, NULLABLE_UUID_TYPE, TYPE_NAME_UUID
-
-
Constructor Summary
Constructors Constructor Description Vorgang()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidaddAttachment(Attachment attachment)voidaddChild(Vorgang vorgang)Deprecated.voidaddFormeingang(FormEingang formeingang)Deprecated.voidaddSubmission(IUser user, EFormRecordSubmitContext submitContext, FrontendServer submitFrontendServer, String submitServerBaseUrl, String formData, boolean newDataEntry)Adds a new submission to the form record.voidclearOldWorkflowState()List<Attachment>getAttachments()BenutzergetBearbeiter()Deprecated.StringgetBearbeiterRef()Deprecated.List<FormRecordChat>getChats()List<Vorgang>getChildren()Deprecated.Can be extremely slow !!! Use query withATTR_PARENT_IDas filtercom.alibaba.fastjson.JSONObjectgetCreatorData()protected StringgetCreatorDataString()Deprecated.UsegetInitialSubmission()instead.UUIDgetCreatorProfileUuid()Deprecated.StringgetCreatorRef()FormEinganggetCurrentFormeingang()PostfachgetCurrentPostfach()StatusgetCurrentStatus()Deprecated.Use thegetCurrentWorkflowState()together with the new workflow engine.WorkflowStategetCurrentWorkflowState()Map<String,String>getCustomAttributes()Gets the map of custom attributes that may be used to store additional information.Map<String,String>getCustomData()A list of custom key-value pairs, similar togetCustomAttributes().com.alibaba.fastjson.JSONObjectgetEditorData()protected StringgetEditorDataString()Deprecated.UsegetLastSubmission()instead.UUIDgetEditorProfileUuid()Deprecated.StringgetEditorRef()DategetEingangsDatum()BenutzergetErsteller()Deprecated.StringgetErstellerRef()Deprecated.intgetFehlerAnzahl()List<FormEingang>getFormeingaenge()Deprecated.FormVersiongetFormVersion()LonggetFrontendserver_id()Deprecated.UseFormRecordSubmission.getSubmitFrontendServerId()instead.LonggetId()StringgetIdentityToken()FormRecordSubmissiongetInitialSubmission()DategetLastStatusChangeDate()FormRecordSubmissiongetLastSubmission()StatusgetNewStatus()Deprecated.WorkflowStategetOldWorkflowState()LonggetParentId()VorganggetParentVorgang()Deprecated.usegetParentId()ProjektgetProjekt()StringgetProzessId()StringgetQuellserver()Deprecated.UseFormRecordSubmission.getSubmitServerBaseUrl()instead.StringgetSubject()List<FormRecordSubmission>getSubmissions()StringgetUUID()Gets the UUID of this form record.UUIDgetUUIDObject()Gets the UUID of this form record.DategetVerifyExpireDate()StringgetVerifyUUID()WorkflowVersiongetWorkflowVersion()booleanisGelesen()booleanisHasDateChanged()booleanisHasWorkflowStateChanged()booleanisInArbeit()booleanisLoeschbar()Vorgänge sind löschbar, wenn der Status, in dem sie sich befinden, das Löschen von Vorgängen erlaubt.booleanisSaved()booleanisStatusChangeRead()Deprecated.booleanisUsesNewWorkflow()booleanisVerifyLock()voidremoveAttachment(Attachment attachment)voidremoveChild(Vorgang vorgang)Deprecated.voidremoveFormeingang(FormEingang formeingang)Deprecated.voidsetAttachments(List<Attachment> attachments)voidsetBearbeiter(Benutzer bearbeiter)Deprecated.voidsetBearbeiterRef(String bearbeiterRef)Deprecated.voidsetChats(List<FormRecordChat> chats)voidsetChildren(List<Vorgang> children)Deprecated.Can be extremely slow !!! Use query withATTR_PARENT_IDas filtervoidsetCreator(Benutzer creator)Deprecated.UsesetCreator(IUser)instead.voidsetCreator(IUser creator)Deprecated.voidsetCreatorData(com.alibaba.fastjson.JSONObject creatorData)Deprecated.UsegetInitialSubmission()instead.protected voidsetCreatorDataString(String creatorData)Deprecated.UsegetInitialSubmission()instead.voidsetCreatorProfileUuid(UUID creatorProfileUuid)Deprecated.voidsetCreatorRef(String creatorRef)Deprecated.UsegetInitialSubmission()instead.voidsetCurrentFormeingang(FormEingang currentFormeingang)Deprecated.voidsetCurrentPostfach(Postfach currentPostfach)voidsetCurrentStatus(Status status)Deprecated.Use thesetCurrentWorkflowState(WorkflowState)together with the new workflow engine.voidsetCurrentWorkflowState(WorkflowState currentWorkflowState)Deprecated.For Hibernate only, in most cases you should usesetNewWorkflowState(WorkflowState).voidsetCustomAttributes(Map<String,String> customAttributes)Sets the map of custom attributes that may be used to store additional information.voidsetCustomData(Map<String,String> customData)A list of custom key-value pairs, similar togetCustomAttributes().voidsetEditor(Benutzer editor)Deprecated.UsesetEditor(IUser)instead.voidsetEditor(IUser editor)Deprecated.voidsetEditorData(com.alibaba.fastjson.JSONObject editorData)Deprecated.UsegetLastSubmission()instead.protected voidsetEditorDataString(String editorData)Deprecated.UsegetInitialSubmission()instead.voidsetEditorProfileUuid(UUID editorProfileUuid)Deprecated.voidsetEditorRef(String editorRef)Deprecated.UsegetLastSubmission()instead.voidsetEingangsDatum(Date eingangsDatum)Deprecated.For Hibernate only, in most cases you should usesetNewEingangsDatum(Date).voidsetErsteller(Benutzer ersteller)Deprecated.voidsetErstellerRef(String erstellerRef)Deprecated.voidsetFehlerAnzahl(int fehlerAnzahl)voidsetFormData(String formData)voidsetFormeingaenge(List<FormEingang> formeingaenge)Deprecated.voidsetFormVersion(FormVersion formVersion)voidsetFrontendserver_id(Long quellserver_id)Deprecated.voidsetGelesen(boolean gelesen)voidsetId(Long id)!!!WARNING: Currently values biggerInteger.MAX_VALUEor lower thenInteger.MIN_VALUEwill be altered to null!!!voidsetIdentityToken(String identityToken)voidsetInArbeit(boolean inArbeit)voidsetLastStatusChangeDate(Date lastStatusChangeDate)Deprecated.For Hibernate only, in most cases you should usesetNewLastStatusChangeDate(Date).voidsetNewEingangsDatum(Date newEingangsDatum)Sets the new date when the form record was created and stores the info whether it was changed.voidsetNewLastStatusChangeDate(Date newLastStatusChangeDate)Sets the new date when the last status changed occurred and stores the info whether it was changed.voidsetNewStatus(Status newStatus)Deprecated.voidsetNewWorkflowState(WorkflowState newWorkflowState)Sets the new workflow state of this form record and stores the old workflow state.voidsetNewWorkflowState(WorkflowState newWorkflowState, boolean forceUpdate)Sets the new workflow state of this form record and stores the old workflow state.voidsetParentId(Long parentId)voidsetParentVorgang(Vorgang parentVorgang)Deprecated.voidsetProjekt(Projekt projekt)voidsetProzessId(String uuid)voidsetQuellserver(String quellserver)Deprecated.UseFormRecordSubmission.setSubmitServerBaseUrl(String)instead.voidsetSaved(boolean saved)voidsetStatusChangeRead(boolean statusChangeRead)Deprecated.voidsetSubject(String subject)voidsetSubmissions(List<FormRecordSubmission> submissions)voidsetUUID(String uuid)Sets the UUID of this form record.voidsetUUIDObject(UUID uuid)Sets the UUID of this form record.voidsetVerifyExpireDate(Date verifyExpireDate)voidsetVerifyLock(boolean lock)voidsetVerifyUUID(String verifyUUID)voidsetWorkflowVersion(WorkflowVersion workflowVersion)StringtoString()-
Methods inherited from class de.xima.fc.entities.AClientDependentEntity
getMandant, setMandant
-
Methods inherited from class de.xima.fc.entities.AbstractLockableEntity
entityHasChanged, getLockingVersion, setLockingVersion
-
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.ICustomAttributeProviding
getCustomAttribute, getCustomAttributeAs, getCustomAttributeAs, getCustomAttributeBoolean, getCustomAttributeDouble, getCustomAttributeDouble, getCustomAttributeEnum, getCustomAttributeEnum, getCustomAttributeInt, getCustomAttributeInt, getCustomAttributeJsonArray, getCustomAttributeJsonObject, getCustomAttributeLong, getCustomAttributeLong, getCustomAttributeString, getCustomAttributeString, getCustomAttributeUuid
-
Methods inherited from interface de.xima.fc.entities.interfaces.ICustomAttributesEntity
removeCustomAttribute, setCustomAttribute, setCustomAttributeBoolean, setCustomAttributeDouble, setCustomAttributeEnum, setCustomAttributeInt, setCustomAttributeJSONArray, setCustomAttributeJSONObject, setCustomAttributeLong, setCustomAttributeString, setCustomAttributeUuid
-
-
-
-
Field Detail
-
ATTR_EINGANGSDATUM
public static final String ATTR_EINGANGSDATUM
- See Also:
- Constant Field Values
-
ATTR_STATUS
public static final String ATTR_STATUS
- See Also:
- Constant Field Values
-
ATTR_SUBJECT
public static final String ATTR_SUBJECT
- See Also:
- Constant Field Values
-
ATTR_POSTFACH
public static final String ATTR_POSTFACH
- See Also:
- Constant Field Values
-
ATTR_PARENT_ID
public static final String ATTR_PARENT_ID
- See Also:
- Constant Field Values
-
ATTR_PROZESSID
public static final String ATTR_PROZESSID
- See Also:
- Constant Field Values
-
ATTR_PROJEKT
public static final String ATTR_PROJEKT
- See Also:
- Constant Field Values
-
ATTR_LAST_STATUS_CHANGE_DATE
@Deprecated public static final String ATTR_LAST_STATUS_CHANGE_DATE
Deprecated.The lastStatusChangeDate will be persisted in the lastFormRecordSubmission.- See Also:
getLastSubmission(), Constant Field Values
-
ATTR_FORMVERSION
public static final String ATTR_FORMVERSION
- See Also:
- Constant Field Values
-
ATTR_IN_ARBEIT
public static final String ATTR_IN_ARBEIT
- See Also:
- Constant Field Values
-
ATTR_VERIFY_UUID
public static final String ATTR_VERIFY_UUID
- See Also:
- Constant Field Values
-
ATTR_VERIFY_EXPIREDATE
public static final String ATTR_VERIFY_EXPIREDATE
- See Also:
- Constant Field Values
-
ATTR_VERIFY_LOCK
public static final String ATTR_VERIFY_LOCK
- See Also:
- Constant Field Values
-
ATTR_GELESEN
public static final String ATTR_GELESEN
- See Also:
- Constant Field Values
-
ATTR_IS_SAVED
public static final String ATTR_IS_SAVED
- See Also:
- Constant Field Values
-
ATTR_FEHLERANZAHL
public static final String ATTR_FEHLERANZAHL
- See Also:
- Constant Field Values
-
ATTR_ATTACHMENTS
public static final String ATTR_ATTACHMENTS
- See Also:
- Constant Field Values
-
ATTR_SUBMISSIONS
public static final String ATTR_SUBMISSIONS
- See Also:
- Constant Field Values
-
ATTR_CHATS
public static final String ATTR_CHATS
- See Also:
- Constant Field Values
-
ATTR_IDENTITY_TOKEN
public static final String ATTR_IDENTITY_TOKEN
- See Also:
- Constant Field Values
-
ATTR_WORKFLOW_VERISON
public static final String ATTR_WORKFLOW_VERISON
- See Also:
- Constant Field Values
-
ATTR_CURRENT_WORKFLOW_STATE
public static final String ATTR_CURRENT_WORKFLOW_STATE
- See Also:
- Constant Field Values
-
ATTR_WORKFLOW_VERSION
public static final String ATTR_WORKFLOW_VERSION
- See Also:
- Constant Field Values
-
ATTR_UUID
public static final String ATTR_UUID
- See Also:
- Constant Field Values
-
ATTR_CURRENT_FORMEINGANG
@Deprecated public static final String ATTR_CURRENT_FORMEINGANG
Deprecated.the form record data belongs to asubmission. A form record has nsubmissions.- See Also:
- Constant Field Values
-
ATTR_QUELLSERVER
@Deprecated public static final String ATTR_QUELLSERVER
Deprecated.UseFormRecordSubmission.ATTR_SUBMIT_SERVER_BASE_URLinstead.- See Also:
- Constant Field Values
-
ATTR_QUELLSERVER_ID
@Deprecated public static final String ATTR_QUELLSERVER_ID
Deprecated.UseFormRecordSubmission.ATTR_SUBMIT_FRONTEND_SERVER_IDinstead.- See Also:
getLastSubmission(), Constant Field Values
-
ATTR_CREATOR_REF
@Deprecated public static final String ATTR_CREATOR_REF
Deprecated.user information of the creator is now stored in theinitial form record submission
-
ATTR_ERSTELLER_REF
@Deprecated public static final String ATTR_ERSTELLER_REF
Deprecated.user information of the creator is now stored in theinitial form record submission
-
ATTR_EDITOR_REF
@Deprecated public static final String ATTR_EDITOR_REF
Deprecated.user information of the last editor is now stored in thelast form record submission
-
ATTR_BEARBEITER_REF
@Deprecated public static final String ATTR_BEARBEITER_REF
Deprecated.- See Also:
- Constant Field Values
-
ATTR_CREATOR_DATA
@Deprecated public static final String ATTR_CREATOR_DATA
Deprecated.user information of the creator is now stored in theinitial form record submission
-
ATTR_EDITOR_DATA
@Deprecated public static final String ATTR_EDITOR_DATA
Deprecated.user information of the last editor is now stored in thelast form record submission
-
ATTR_CREATOR_PROFILE_UUID
@Deprecated public static final String ATTR_CREATOR_PROFILE_UUID
Deprecated.user information of the creator is now stored in theinitial form record submission
-
ATTR_EDITOR_PROFILE_UUID
@Deprecated public static final String ATTR_EDITOR_PROFILE_UUID
Deprecated.user information of the last editor is now stored in thelast form record submission
-
ATTR_STATUS_CHANGED_READ
@Deprecated public static final String ATTR_STATUS_CHANGED_READ
Deprecated.- See Also:
- Constant Field Values
-
COL_FORM_VERSION_ID
public static final String COL_FORM_VERSION_ID
- See Also:
- Constant Field Values
-
COL_WORKFLOW_VERSION
public static final String COL_WORKFLOW_VERSION
- See Also:
- Constant Field Values
-
COL_PROJECT_ID
public static final String COL_PROJECT_ID
- See Also:
- Constant Field Values
-
COL_STATUS_ID
public static final String COL_STATUS_ID
- See Also:
- Constant Field Values
-
COL_SUBJECT
public static final String COL_SUBJECT
- See Also:
- Constant Field Values
-
COL_DATE_CREATED
public static final String COL_DATE_CREATED
- See Also:
- Constant Field Values
-
COL_UUID
public static final String COL_UUID
- See Also:
- Constant Field Values
-
COL_FORM_RECORD_BOX_ID
public static final String COL_FORM_RECORD_BOX_ID
- See Also:
- Constant Field Values
-
COL_FLAG_READ
public static final String COL_FLAG_READ
- See Also:
- Constant Field Values
-
COL_FLAG_IN_PROGRESS
public static final String COL_FLAG_IN_PROGRESS
- See Also:
- Constant Field Values
-
COL_VERIFY_UUID
public static final String COL_VERIFY_UUID
- See Also:
- Constant Field Values
-
COL_VERIFY_EXPIREDATE
public static final String COL_VERIFY_EXPIREDATE
- See Also:
- Constant Field Values
-
COL_VERIFY_LOCK
public static final String COL_VERIFY_LOCK
- See Also:
- Constant Field Values
-
COL_SAVED
public static final String COL_SAVED
- See Also:
- Constant Field Values
-
COL_COUNT_ERRORS
public static final String COL_COUNT_ERRORS
- See Also:
- Constant Field Values
-
COL_IDENTITYTOKEN
public static final String COL_IDENTITYTOKEN
- See Also:
- Constant Field Values
-
COL_CURRENT_WORKFLOW_STATE
public static final String COL_CURRENT_WORKFLOW_STATE
- See Also:
- Constant Field Values
-
COL_PARENT_ID
public static final String COL_PARENT_ID
- See Also:
- Constant Field Values
-
COL_DATE_STATUS_CHANGED
@Deprecated public static final String COL_DATE_STATUS_CHANGED
Deprecated.The lastStatusChangeDate will be perssited in the lastFormRecordSubmission.- See Also:
getLastSubmission(), Constant Field Values
-
COL_FORM_RECORD_DATA_ID
@Deprecated public static final String COL_FORM_RECORD_DATA_ID
Deprecated.the form record data belongs to asubmission. A form record has nsubmissions.- See Also:
- Constant Field Values
-
COL_SOURCE_SERVER_ID
@Deprecated public static final String COL_SOURCE_SERVER_ID
Deprecated.UseFormRecordSubmission.getSubmitFrontendServerId()instead.- See Also:
- Constant Field Values
-
COL_SOURCE_SERVER_NAME
@Deprecated public static final String COL_SOURCE_SERVER_NAME
Deprecated.UseFormRecordSubmission.getSubmitServerBaseUrl()instead.- See Also:
- Constant Field Values
-
COL_USER_DATA_CREATOR
@Deprecated public static final String COL_USER_DATA_CREATOR
Deprecated.user information of the creator is now stored in theinitial form record submission
-
COL_USER_DATA_EDITOR
@Deprecated public static final String COL_USER_DATA_EDITOR
Deprecated.user information of the last editor is now stored in thelast form record submission
-
COL_USER_REF_CREATOR
@Deprecated public static final String COL_USER_REF_CREATOR
Deprecated.user information of the creator is now stored in theinitial form record submission
-
COL_USER_REF_EDITOR
@Deprecated public static final String COL_USER_REF_EDITOR
Deprecated.user information of the last editor is now stored in thelast form record submission
-
COL_USER_PROFILE_UUID_CREATOR
@Deprecated public static final String COL_USER_PROFILE_UUID_CREATOR
Deprecated.user information of the creator is now stored in theinitial form record submission
-
COL_USER_PROFILE_UUID_EDITOR
@Deprecated public static final String COL_USER_PROFILE_UUID_EDITOR
Deprecated.user information of the last editor is now stored in thelast form record submission
-
MAX_LENGTH_IDENTITY_TOKEN
public static final int MAX_LENGTH_IDENTITY_TOKEN
- See Also:
- Constant Field Values
-
CUSTOM_ATTR_DOI_INIT_WORKFLOW_NODE_ID
public static final String CUSTOM_ATTR_DOI_INIT_WORKFLOW_NODE_ID
- See Also:
- Constant Field Values
-
ATTR_CHILDREN
@Deprecated public static final String ATTR_CHILDREN
Deprecated.- See Also:
- Constant Field Values
-
ATTR_PARENT_VORGANG
@Deprecated public static final String ATTR_PARENT_VORGANG
Deprecated.- See Also:
- Constant Field Values
-
ATTR_FORMEINGAENGE
@Deprecated public static final String ATTR_FORMEINGAENGE
Deprecated.- 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
-
getFormVersion
public FormVersion getFormVersion()
-
setFormVersion
public void setFormVersion(FormVersion formVersion)
-
getWorkflowVersion
public WorkflowVersion getWorkflowVersion()
- Returns:
- The version of the workflow that is to be used for this form record. The active workflow version of a project may change, but a form record keeps the workflow version that was active when the form record was created.
-
setWorkflowVersion
public void setWorkflowVersion(WorkflowVersion workflowVersion)
- Parameters:
workflowVersion- The version of the workflow that is to be used for this form record. The active workflow version of a project may change, but a form record keeps the workflow version that was active when the form record was created.
-
getProjekt
public Projekt getProjekt()
- Specified by:
getProjektin interfaceIProjektDependent
-
setProjekt
public void setProjekt(Projekt projekt)
- Specified by:
setProjektin interfaceIProjektDependent
-
getCurrentStatus
@Deprecated public Status getCurrentStatus()
Deprecated.Use thegetCurrentWorkflowState()together with the new workflow engine.- Returns:
- The current
Statusof this form record, as set by workflow processing or manually by the user.
-
setCurrentStatus
@Deprecated public void setCurrentStatus(Status status)
Deprecated.Use thesetCurrentWorkflowState(WorkflowState)together with the new workflow engine.- Parameters:
status- The currentStatusof this form record, as set by workflow processing or manually by the user.
-
getCurrentWorkflowState
public WorkflowState getCurrentWorkflowState()
-
setCurrentWorkflowState
@Deprecated public void setCurrentWorkflowState(WorkflowState currentWorkflowState)
Deprecated.For Hibernate only, in most cases you should usesetNewWorkflowState(WorkflowState).- Parameters:
currentWorkflowState- The current workflow state of this form record.
-
getSubject
public String getSubject()
-
setSubject
public void setSubject(String subject)
-
getEingangsDatum
public Date getEingangsDatum()
-
setEingangsDatum
@Deprecated public void setEingangsDatum(Date eingangsDatum)
Deprecated.For Hibernate only, in most cases you should usesetNewEingangsDatum(Date).- Parameters:
eingangsDatum- The new date when the form record was created.
-
getProzessId
public String getProzessId()
-
setProzessId
public void setProzessId(String uuid)
-
getUUID
public String getUUID()
Gets the UUID of this form record. The UUID must be globally unique, among all projects and clients. The UUID is used to identify the form record in the system.- Specified by:
getUUIDin interfaceIUUIDEntity- Returns:
- The UUID of this form record.
-
setUUID
public void setUUID(String uuid)
Sets the UUID of this form record. The UUID must be globally unique, among all projects and clients. The UUID is used to identify the form record in the system.- Specified by:
setUUIDin interfaceIUUIDEntity- Parameters:
uuid- The UUID of this form record.
-
getUUIDObject
public UUID getUUIDObject()
Gets the UUID of this form record. The UUID must be globally unique, among all projects and clients. The UUID is used to identify the form record in the system.- Specified by:
getUUIDObjectin interfaceIUUIDEntity- Returns:
- The UUID of this form record.
-
setUUIDObject
public void setUUIDObject(UUID uuid)
Sets the UUID of this form record. The UUID must be globally unique, among all projects and clients. The UUID is used to identify the form record in the system.- Parameters:
uuid- The UUID of this form record.
-
getAttachments
public List<Attachment> getAttachments()
-
setAttachments
public void setAttachments(List<Attachment> attachments)
-
getCurrentPostfach
public Postfach getCurrentPostfach()
-
setCurrentPostfach
public void setCurrentPostfach(Postfach currentPostfach)
-
isGelesen
public boolean isGelesen()
-
setGelesen
public void setGelesen(boolean gelesen)
-
isInArbeit
public boolean isInArbeit()
- Returns:
- The
in progressflag.truewhen there is an active workflow execution for this form record,falseotherwise. This is a purely cosmetic flag without any business logic, meant for the UI only. In particular, setting this flag will not prevent multiple workflow executions for the same form record. New workflow engine: The new workflow engine locks the form record for exclusive access via a database lock, seeFormRecordLock.
-
setInArbeit
public void setInArbeit(boolean inArbeit)
- Parameters:
inArbeit- Thein progressflag.truewhen there is an active workflow execution for this form record,falseotherwise. This is a purely cosmetic flag without any business logic, meant for the UI only. In particular, setting this flag will not prevent multiple workflow executions for the same form record. New workflow engine: The new workflow engine locks the form record for exclusive access via a database lock, seeFormRecordLock.
-
getVerifyUUID
public String getVerifyUUID()
-
setVerifyUUID
public void setVerifyUUID(String verifyUUID)
-
getVerifyExpireDate
public Date getVerifyExpireDate()
-
setVerifyExpireDate
public void setVerifyExpireDate(Date verifyExpireDate)
-
isSaved
public boolean isSaved()
-
setSaved
public void setSaved(boolean saved)
-
isUsesNewWorkflow
public boolean isUsesNewWorkflow()
-
getFehlerAnzahl
public int getFehlerAnzahl()
-
setFehlerAnzahl
public void setFehlerAnzahl(int fehlerAnzahl)
-
getLastStatusChangeDate
public Date getLastStatusChangeDate()
-
setLastStatusChangeDate
@Deprecated public void setLastStatusChangeDate(Date lastStatusChangeDate)
Deprecated.For Hibernate only, in most cases you should usesetNewLastStatusChangeDate(Date).- Parameters:
lastStatusChangeDate- The new last status change date.
-
getCurrentFormeingang
public FormEingang getCurrentFormeingang()
-
setCurrentFormeingang
@Deprecated public void setCurrentFormeingang(FormEingang currentFormeingang)
Deprecated.
-
getParentId
public Long getParentId()
-
setParentId
public void setParentId(Long parentId)
-
getCustomAttributes
public Map<String,String> getCustomAttributes()
Description copied from interface:ICustomAttributeProvidingGets the map of custom attributes that may be used to store additional information. The stored data depends on the type of the object.- Specified by:
getCustomAttributesin interfaceICustomAttributeProviding- Returns:
- The custom attributes.
-
setCustomAttributes
public void setCustomAttributes(Map<String,String> customAttributes)
Description copied from interface:ICustomAttributesEntitySets the map of custom attributes that may be used to store additional information. The stored data depends on the type of the object.- Specified by:
setCustomAttributesin interfaceICustomAttributesEntity- Parameters:
customAttributes- The new custom attributes to set.
-
getCustomData
public Map<String,String> getCustomData()
A list of custom key-value pairs, similar togetCustomAttributes(). The difference is in how the data is stored in the database:- custom attributes have a max length for the key and value, and are meant for short pieces of data. Database
queries can be made against the key and value.
custom data do not have any restriction on the length of the value, but cannot be queried via SQL statements. Custom data are also stored encrypted in the database.
- Returns:
- A map of custom key-value pairs.
- custom attributes have a max length for the key and value, and are meant for short pieces of data. Database
queries can be made against the key and value.
-
setCustomData
public void setCustomData(Map<String,String> customData)
A list of custom key-value pairs, similar togetCustomAttributes(). The difference is in how the data is stored in the database:- custom attributes have a max length for the key and value, and are meant for short pieces of data. Database
queries can be made against the key and value.
custom data do not have any restriction on the length of the value, but cannot be queried via SQL statements. Custom data are also stored encrypted in the database.
- Parameters:
customData- A map of custom key-value pairs.
- custom attributes have a max length for the key and value, and are meant for short pieces of data. Database
queries can be made against the key and value.
-
getIdentityToken
public String getIdentityToken()
-
setIdentityToken
public void setIdentityToken(String identityToken)
-
getNewStatus
@Deprecated public Status getNewStatus()
Deprecated.
-
setNewStatus
@Deprecated public void setNewStatus(Status newStatus)
Deprecated.
-
isLoeschbar
public boolean isLoeschbar()
Vorgänge sind löschbar, wenn der Status, in dem sie sich befinden, das Löschen von Vorgängen erlaubt.- Returns:
true, wenn dieser Vorgang löschbar ist, ansonstenfalse.
-
isVerifyLock
public boolean isVerifyLock()
- Returns:
- Whether this form record should be locked when a double opt-in is pending. When locked, the data of the form record cannot be accessed in the inbox.
-
setVerifyLock
public void setVerifyLock(boolean lock)
- Parameters:
lock- Whether this form record should be locked when a double opt-in is pending. When locked, the data of the form record cannot be accessed in the inbox.
-
getInitialSubmission
public FormRecordSubmission getInitialSubmission()
-
getLastSubmission
public FormRecordSubmission getLastSubmission()
-
getSubmissions
public List<FormRecordSubmission> getSubmissions()
-
setSubmissions
public void setSubmissions(List<FormRecordSubmission> submissions)
-
getCreatorRef
public String getCreatorRef()
-
setCreatorRef
@Deprecated public void setCreatorRef(String creatorRef)
Deprecated.UsegetInitialSubmission()instead.
-
getEditorRef
public String getEditorRef()
-
setEditorRef
@Deprecated public void setEditorRef(String editorRef)
Deprecated.UsegetLastSubmission()instead.
-
getCreatorData
public com.alibaba.fastjson.JSONObject getCreatorData()
-
setCreatorData
@Deprecated public void setCreatorData(com.alibaba.fastjson.JSONObject creatorData)
Deprecated.UsegetInitialSubmission()instead.
-
getEditorData
public com.alibaba.fastjson.JSONObject getEditorData()
-
setEditorData
@Deprecated public void setEditorData(com.alibaba.fastjson.JSONObject editorData)
Deprecated.UsegetLastSubmission()instead.
-
getChats
public List<FormRecordChat> getChats()
-
setChats
public void setChats(List<FormRecordChat> chats)
-
getOldWorkflowState
public WorkflowState getOldWorkflowState()
- Returns:
- The old workflow state from before a state change took place. This is a transient field and only available temporarily while the entity is updated.
-
isHasWorkflowStateChanged
public boolean isHasWorkflowStateChanged()
- Returns:
- Whether the workflow state was changed. This is a transient field and only available temporarily while the entity is updated.
-
isHasDateChanged
public boolean isHasDateChanged()
- Returns:
- Whether any of the date fields were changed. This is a transient field and only available temporarily while the entity is updated.
-
getParentVorgang
@Deprecated public Vorgang getParentVorgang()
Deprecated.usegetParentId()
-
setParentVorgang
@Deprecated public void setParentVorgang(Vorgang parentVorgang)
Deprecated.
-
getChildren
@Deprecated public List<Vorgang> getChildren()
Deprecated.Can be extremely slow !!! Use query withATTR_PARENT_IDas filter
-
setChildren
@Deprecated public void setChildren(List<Vorgang> children)
Deprecated.Can be extremely slow !!! Use query withATTR_PARENT_IDas filter
-
getFormeingaenge
@Deprecated public List<FormEingang> getFormeingaenge()
Deprecated.
-
setFormeingaenge
@Deprecated public void setFormeingaenge(List<FormEingang> formeingaenge)
Deprecated.
-
getFrontendserver_id
@Deprecated public Long getFrontendserver_id()
Deprecated.UseFormRecordSubmission.getSubmitFrontendServerId()instead.Getter für quellserver_id- Returns:
Longdes quellserver_id- See Also:
getLastSubmission()
-
setFrontendserver_id
@Deprecated public void setFrontendserver_id(Long quellserver_id)
Deprecated.Setter des quellserver_id- Parameters:
quellserver_id-Longder zu setzende quellserver_id- See Also:
getLastSubmission()
-
getQuellserver
@Deprecated public String getQuellserver()
Deprecated.UseFormRecordSubmission.getSubmitServerBaseUrl()instead.Der Verbindungsname desFrontendServerwelche den Vorgang zuletzt bearbeitet hat- Returns:
Stringdes bearbeitungsquelle- See Also:
getLastSubmission()
-
setQuellserver
@Deprecated public void setQuellserver(String quellserver)
Deprecated.UseFormRecordSubmission.setSubmitServerBaseUrl(String)instead.- Parameters:
quellserver-Stringder zu setzende Quellserver- See Also:
getLastSubmission()
-
getCreatorProfileUuid
@Deprecated public UUID getCreatorProfileUuid()
Deprecated.UsegetInitialSubmission()instead.
-
setCreatorProfileUuid
@Deprecated public void setCreatorProfileUuid(UUID creatorProfileUuid)
Deprecated.UsegetInitialSubmission()instead.- See Also:
FormRecordSubmission.setUser(IUser)
-
getEditorProfileUuid
@Deprecated public UUID getEditorProfileUuid()
Deprecated.UsegetLastSubmission()instead.
-
setEditorProfileUuid
@Deprecated public void setEditorProfileUuid(UUID editorProfileUuid)
Deprecated.UsegetLastSubmission()instead.- See Also:
FormRecordSubmission.setUser(IUser)
-
getBearbeiter
@Deprecated public Benutzer getBearbeiter()
Deprecated.- Returns:
- the bearbeiter
-
setBearbeiter
@Deprecated public void setBearbeiter(Benutzer bearbeiter)
Deprecated.
-
getErsteller
@Deprecated public Benutzer getErsteller()
Deprecated.
-
setErsteller
@Deprecated public void setErsteller(Benutzer ersteller)
Deprecated.
-
getErstellerRef
@Deprecated public String getErstellerRef()
Deprecated.
-
setErstellerRef
@Deprecated public void setErstellerRef(String erstellerRef)
Deprecated.
-
getBearbeiterRef
@Deprecated public String getBearbeiterRef()
Deprecated.
-
setBearbeiterRef
@Deprecated public void setBearbeiterRef(String bearbeiterRef)
Deprecated.
-
isStatusChangeRead
@Deprecated public boolean isStatusChangeRead()
Deprecated.
-
setStatusChangeRead
@Deprecated public void setStatusChangeRead(boolean statusChangeRead)
Deprecated.
-
setNewWorkflowState
public void setNewWorkflowState(WorkflowState newWorkflowState)
Sets the new workflow state of this form record and stores the old workflow state.- Parameters:
newWorkflowState- The new workflow state for this form record.
-
setNewEingangsDatum
public void setNewEingangsDatum(Date newEingangsDatum)
Sets the new date when the form record was created and stores the info whether it was changed.- Parameters:
newEingangsDatum- The new date when the form record was created.
-
setNewLastStatusChangeDate
public void setNewLastStatusChangeDate(Date newLastStatusChangeDate)
Sets the new date when the last status changed occurred and stores the info whether it was changed.- Parameters:
newLastStatusChangeDate- The new last status change date.
-
setFormData
public void setFormData(String formData)
-
setCreator
@Deprecated public void setCreator(IUser creator)
Deprecated.- See Also:
getInitialSubmission()
-
setEditor
@Deprecated public void setEditor(IUser editor)
Deprecated.- See Also:
getLastSubmission()
-
setCreator
@Deprecated public void setCreator(Benutzer creator)
Deprecated.UsesetCreator(IUser)instead.
-
setEditor
@Deprecated public void setEditor(Benutzer editor)
Deprecated.UsesetEditor(IUser)instead.
-
setNewWorkflowState
public void setNewWorkflowState(WorkflowState newWorkflowState, boolean forceUpdate)
Sets the new workflow state of this form record and stores the old workflow state.- Parameters:
newWorkflowState- The new workflow state for this form record.forceUpdate- Whentrue, the state is marked as having changed even when the given state equals the current state.
-
addAttachment
public void addAttachment(Attachment attachment)
-
removeAttachment
public void removeAttachment(Attachment attachment)
-
addSubmission
public void addSubmission(IUser user, EFormRecordSubmitContext submitContext, @Nullable FrontendServer submitFrontendServer, String submitServerBaseUrl, String formData, boolean newDataEntry)
Adds a new submission to the form record.- Parameters:
user- The user that submitted the form record.submitContext- The context in which the form record was submitted.submitFrontendServer- The frontend server that received the submission.submitServerBaseUrl- The base URL of the server that received the submission.formData- The data of the submission.newDataEntry- Whether this submission should be stored as a new data entry.
-
toString
public String toString()
- Overrides:
toStringin classAbstractLockableEntity
-
clearOldWorkflowState
public void clearOldWorkflowState()
-
addChild
@Deprecated public void addChild(Vorgang vorgang)
Deprecated.
-
removeChild
@Deprecated public void removeChild(Vorgang vorgang)
Deprecated.
-
addFormeingang
@Deprecated public void addFormeingang(FormEingang formeingang)
Deprecated.
-
removeFormeingang
@Deprecated public void removeFormeingang(FormEingang formeingang)
Deprecated.
-
getCreatorDataString
@Deprecated protected String getCreatorDataString()
Deprecated.UsegetInitialSubmission()instead.- See Also:
FormRecordSubmission.getUserData()
-
setCreatorDataString
@Deprecated protected void setCreatorDataString(String creatorData)
Deprecated.UsegetInitialSubmission()instead.- See Also:
FormRecordSubmission.setUserData(String)
-
getEditorDataString
@Deprecated protected String getEditorDataString()
Deprecated.UsegetLastSubmission()instead.- See Also:
FormRecordSubmission.getUserData()
-
setEditorDataString
@Deprecated protected void setEditorDataString(String editorData)
Deprecated.UsegetInitialSubmission()instead.- See Also:
FormRecordSubmission.setUserData(String)
-
-