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.
      • 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

        public void setEingangsDatum​(Date eingangsDatum)
      • 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

        public void setLastStatusChangeDate​(Date lastStatusChangeDate)
      • 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​(Benutzer editor)
      • setCreator

        public void setCreator​(Benutzer 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)
      • 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.
      • 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.
      • clearOldWorkflowState

        public void clearOldWorkflowState()
      • 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.