Class Vorgang

    • Constructor Detail

      • Vorgang

        public Vorgang()
    • Method Detail

      • getId

        public Long getId()
        Specified by:
        getId in interface de.xima.cmn.dao.interfaces.IEntity<Long>
      • 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.
      • getFrontendserver_id

        public Long getFrontendserver_id()
        Getter für quellserver_id
        Returns:
        Long des quellserver_id
      • setFrontendserver_id

        public void setFrontendserver_id​(Long quellserver_id)
        Setter des quellserver_id
        Parameters:
        quellserver_id - Long der zu setzende quellserver_id
      • getQuellserver

        public String getQuellserver()
        Der Verbindungsname des FrontendServer welche den Vorgang zuletzt bearbeitet hat
        Returns:
        String des bearbeitungsquelle
      • setQuellserver

        public void setQuellserver​(String quellserver)
        Parameters:
        quellserver - String der zu setzende Quellserver
      • getCurrentStatus

        @Deprecated
        public Status getCurrentStatus()
        Deprecated.
        Use the getCurrentWorkflowState() together with the new workflow engine.
        Returns:
        The current Status of this form record, as set by workflow processing or manually by the user.
      • getCurrentWorkflowState

        public WorkflowState getCurrentWorkflowState()
      • 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.
      • 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 - When true, the state is marked as having changed even when the given state equals the current state.
      • setCurrentWorkflowState

        @Deprecated
        public void setCurrentWorkflowState​(WorkflowState currentWorkflowState)
        Deprecated.
        For Hibernate only, in most cases you should use setNewWorkflowState(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 use setNewEingangsDatum(Date).
        Parameters:
        eingangsDatum - The new date when the form record was created.
      • 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.
      • getProzessId

        public String getProzessId()
      • setProzessId

        public void setProzessId​(String uuid)
      • getUUID

        public String getUUID()
        Specified by:
        getUUID in interface IUUIDEntity
        Returns:
        UUID (Universal Unique Identifier) that identifies this type of entity. Usually is unique within a context, e.g. Mandant, Projekt, ...
      • setUUIDObject

        public void setUUIDObject​(UUID uuid)
      • setAttachments

        public void setAttachments​(List<Attachment> attachments)
      • addAttachment

        public void addAttachment​(Attachment attachment)
      • removeAttachment

        public void removeAttachment​(Attachment attachment)
      • 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 progress flag. true when there is an active workflow execution for this form record, false otherwise.. 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, see FormRecordLock.
      • setInArbeit

        public void setInArbeit​(boolean inArbeit)
        Parameters:
        inArbeit - The in progress flag. true when there is an active workflow execution for this form record, false otherwise.. 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, see FormRecordLock.
      • 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 use setNewLastStatusChangeDate(Date).
        Parameters:
        lastStatusChangeDate - The new last status change date.
      • 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.
      • getCurrentFormeingang

        public FormEingang getCurrentFormeingang()
      • setCurrentFormeingang

        public void setCurrentFormeingang​(FormEingang currentFormeingang)
      • getParentId

        public Long getParentId()
      • setParentId

        public void setParentId​(Long parentId)
      • setCustomAttributes

        public void setCustomAttributes​(Map<String,​String> customAttributes)
      • getEditorRef

        public String getEditorRef()
      • setEditorRef

        public void setEditorRef​(String editorRef)
      • getCreatorRef

        public String getCreatorRef()
      • setCreatorRef

        public void setCreatorRef​(String creatorRef)
      • setEditor

        public void setEditor​(IUser editor)
      • setCreator

        public void setCreator​(IUser creator)
      • getCreatorDataString

        protected String getCreatorDataString()
      • setCreatorDataString

        protected void setCreatorDataString​(String creatorData)
      • getEditorDataString

        protected String getEditorDataString()
      • setEditorDataString

        protected void setEditorDataString​(String editorData)
      • getCreatorData

        public com.alibaba.fastjson.JSONObject getCreatorData()
      • setCreatorData

        public void setCreatorData​(com.alibaba.fastjson.JSONObject creatorData)
      • getEditorData

        public com.alibaba.fastjson.JSONObject getEditorData()
      • setEditorData

        public void setEditorData​(com.alibaba.fastjson.JSONObject editorData)
      • getCreatorProfileUuid

        public UUID getCreatorProfileUuid()
      • getEditorProfileUuid

        public UUID getEditorProfileUuid()
      • getIdentityToken

        public String getIdentityToken()
      • setIdentityToken

        public void setIdentityToken​(String identityToken)
      • getNewStatus

        public Status getNewStatus()
      • setNewStatus

        public void setNewStatus​(Status newStatus)
      • 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, ansonsten false.
      • 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.
      • 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.
      • clearOldWorkflowState

        public void clearOldWorkflowState()
      • setFormData

        public void setFormData​(String formData)
      • getBearbeiter

        @Deprecated
        public Benutzer getBearbeiter()
        Deprecated.
        Returns:
        the bearbeiter
      • setErstellerRef

        @Deprecated
        public void setErstellerRef​(String erstellerRef)
        Deprecated.
      • setBearbeiterRef

        @Deprecated
        public void setBearbeiterRef​(String bearbeiterRef)
        Deprecated.