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>,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
- See Also:
 
- 
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final StringDeprecated.static final StringDeprecated.static final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringDeprecated.userATTR_CREATOR_REFstatic final Stringstatic final StringDeprecated.static final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringDeprecated.static final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final intFields inherited from class de.xima.fc.entities.AClientDependentEntity
COL_CLIENTID, mandantFields inherited from class de.xima.fc.entities.AbstractLockableEntity
COL_LOCKINGVERSION, lockingVersionFields inherited from class de.xima.fc.entities.AbstractEntity
COL_ID, idFields inherited from interface de.xima.cmn.dao.interfaces.IEntity
ATTR_IDFields inherited from interface de.xima.cmn.dao.interfaces.ILockableEntity
ATTR_LOCKINGVERSIONFields inherited from interface de.xima.fc.entities.interfaces.IMandantDependent
ATTR_MANDANT, COL_CLIENT_IDFields inherited from interface de.xima.fc.entities.interfaces.ITransferableEntity
IMPORT_ID, INVALID_IDFields inherited from interface de.xima.fc.entities.interfaces.IUUIDEntity
INVALID_UUID, INVALID_UUID_OBJECT, NULL_SAFE_UUID_TYPE, TYPE_NAME_UUID - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidaddAttachment(Attachment attachment) voidDeprecated.voidaddFormeingang(FormEingang formeingang) Deprecated.voidDeprecated.Deprecated.Deprecated.Can be extremely slow !!!com.alibaba.fastjson.JSONObjectprotected StringDeprecated.Use thegetCurrentWorkflowState()together with the new workflow engine.com.alibaba.fastjson.JSONObjectprotected StringDeprecated.Deprecated.intDeprecated.Getter für quellserver_idgetId()Deprecated.usegetParentId()Der Verbindungsname desFrontendServerwelche den Vorgang zuletzt bearbeitet hatgetUUID()booleanbooleanbooleanbooleanbooleanVorgänge sind löschbar, wenn der Status, in dem sie sich befinden, das Löschen von Vorgängen erlaubt.booleanisSaved()booleanbooleanvoidremoveAttachment(Attachment attachment) voidremoveChild(Vorgang vorgang) Deprecated.voidremoveFormeingang(FormEingang formeingang) Deprecated.voidsetAttachments(List<Attachment> attachments) voidsetBearbeiter(Benutzer bearbeiter) Deprecated.voidsetBearbeiterRef(String bearbeiterRef) Deprecated.voidsetChildren(List<Vorgang> children) Deprecated.Can be extremely slow !!!voidsetCreator(Benutzer creator) Deprecated.UsesetCreator(IUser)instead.voidsetCreator(IUser creator) voidsetCreatorData(com.alibaba.fastjson.JSONObject creatorData) protected voidsetCreatorDataString(String creatorData) voidsetCreatorProfileUuid(UUID creatorProfileUuid) Deprecated.UsesetCreator(IUser)instead.voidsetCreatorRef(String creatorRef) voidsetCurrentFormeingang(FormEingang currentFormeingang) 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) voidDeprecated.UsesetEditor(IUser)instead.voidvoidsetEditorData(com.alibaba.fastjson.JSONObject editorData) protected voidsetEditorDataString(String editorData) voidsetEditorProfileUuid(UUID editorProfileUuid) Deprecated.UsesetEditor(IUser)instead.voidsetEditorRef(String editorRef) 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) Setter des quellserver_idvoidsetGelesen(boolean gelesen) void!!!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) 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) voidsetSaved(boolean saved) voidsetSubject(String subject) voidvoidsetUUIDObject(UUID uuid) voidsetVerifyExpireDate(Date verifyExpireDate) voidsetVerifyLock(boolean lock) voidsetVerifyUUID(String verifyUUID) voidsetWorkflowVersion(WorkflowVersion workflowVersion) toString()Methods inherited from class de.xima.fc.entities.AClientDependentEntity
getMandant, setMandantMethods inherited from class de.xima.fc.entities.AbstractLockableEntity
entityHasChanged, getLockingVersion, setLockingVersionMethods inherited from class de.xima.fc.entities.AbstractEntity
asIntValue, isPersisted, setIdMethods inherited from class de.xima.cmn.dao.model.AEntity
compareTo, equals, getDBTableName, hashCodeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface de.xima.cmn.dao.interfaces.IEntity
isPersisted 
- 
Field Details
- 
ATTR_EINGANGSDATUM
- See Also:
 
 - 
ATTR_STATUS
- See Also:
 
 - 
ATTR_SUBJECT
- See Also:
 
 - 
ATTR_POSTFACH
- See Also:
 
 - 
ATTR_PARENT_ID
- See Also:
 
 - 
ATTR_PROZESSID
- See Also:
 
 - 
ATTR_PROJEKT
- See Also:
 
 - 
ATTR_LAST_STATUS_CHANGE_DATE
- See Also:
 
 - 
ATTR_FORMVERSION
- See Also:
 
 - 
ATTR_IN_ARBEIT
- See Also:
 
 - 
ATTR_VERIFY_UUID
- See Also:
 
 - 
ATTR_VERIFY_EXPIREDATE
- See Also:
 
 - 
ATTR_VERIFY_LOCK
- See Also:
 
 - 
ATTR_QUELLSERVER
- See Also:
 
 - 
ATTR_GELESEN
- See Also:
 
 - 
ATTR_IS_SAVED
- See Also:
 
 - 
ATTR_FEHLERANZAHL
- See Also:
 
 - 
ATTR_QUELLSERVER_ID
- See Also:
 
 - 
ATTR_ATTACHMENTS
- See Also:
 
 - 
ATTR_CURRENT_FORMEINGANG
- See Also:
 
 - 
ATTR_IDENTITY_TOKEN
- See Also:
 
 - 
ATTR_WORKFLOW_VERISON
- See Also:
 
 - 
ATTR_CURRENT_WORKFLOW_STATE
- See Also:
 
 - 
ATTR_WORKFLOW_VERSION
- See Also:
 
 - 
ATTR_CREATOR_REF
- See Also:
 
 - 
ATTR_EDITOR_REF
- See Also:
 
 - 
ATTR_CREATOR_DATA
- See Also:
 
 - 
ATTR_EDITOR_DATA
- See Also:
 
 - 
ATTR_CREATOR_PROFILE_UUID
- See Also:
 
 - 
ATTR_EDITOR_PROFILE_UUID
- See Also:
 
 - 
ATTR_UUID
- See Also:
 
 - 
COL_FORM_VERSION_ID
- See Also:
 
 - 
COL_WORKFLOW_VERSION
- See Also:
 
 - 
COL_SOURCE_SERVER_ID
- See Also:
 
 - 
COL_SOURCE_SERVER_NAME
- See Also:
 
 - 
COL_PROJECT_ID
- See Also:
 
 - 
COL_STATUS_ID
- See Also:
 
 - 
COL_SUBJECT
- See Also:
 
 - 
COL_DATE_CREATED
- See Also:
 
 - 
COL_UUID
- See Also:
 
 - 
COL_FORM_RECORD_BOX_ID
- See Also:
 
 - 
COL_FLAG_READ
- See Also:
 
 - 
COL_FLAG_IN_PROGRESS
- See Also:
 
 - 
COL_VERIFY_UUID
- See Also:
 
 - 
COL_VERIFY_EXPIREDATE
- See Also:
 
 - 
COL_VERIFY_LOCK
- See Also:
 
 - 
COL_SAVED
- See Also:
 
 - 
COL_COUNT_ERRORS
- See Also:
 
 - 
COL_IDENTITYTOKEN
- See Also:
 
 - 
COL_CURRENT_WORKFLOW_STATE
- See Also:
 
 - 
COL_USER_DATA_CREATOR
- See Also:
 
 - 
COL_USER_DATA_EDITOR
- See Also:
 
 - 
COL_USER_REF_CREATOR
- See Also:
 
 - 
COL_USER_REF_EDITOR
- See Also:
 
 - 
COL_USER_PROFILE_UUID_CREATOR
- See Also:
 
 - 
COL_USER_PROFILE_UUID_EDITOR
- See Also:
 
 - 
COL_PARENT_ID
- See Also:
 
 - 
COL_FORM_RECORD_DATA_ID
- See Also:
 
 - 
COL_DATE_STATUS_CHANGED
- See Also:
 
 - 
MAX_LENGTH_IDENTITY_TOKEN
public static final int MAX_LENGTH_IDENTITY_TOKEN- See Also:
 
 - 
CUSTOM_ATTR_DOI_INIT_WORKFLOW_NODE_ID
- See Also:
 
 - 
ATTR_CHILDREN
Deprecated.- See Also:
 
 - 
ATTR_PARENT_VORGANG
Deprecated.- See Also:
 
 - 
ATTR_FORMEINGAENGE
Deprecated.- See Also:
 
 - 
ATTR_ERSTELLER_REF
Deprecated.userATTR_CREATOR_REF- See Also:
 
 - 
ATTR_BEARBEITER_REF
Deprecated.userATTR_EDITOR_REF- See Also:
 
 
 - 
 - 
Constructor Details
- 
Vorgang
public Vorgang() 
 - 
 - 
Method Details
- 
getId
- Specified by:
 getIdin interfacede.xima.cmn.dao.interfaces.IEntity<Long>
 - 
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
 - 
getFormVersion
 - 
setFormVersion
 - 
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
- 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
Getter für quellserver_id- Returns:
 Longdes quellserver_id
 - 
setFrontendserver_id
Setter des quellserver_id- Parameters:
 quellserver_id-Longder zu setzende quellserver_id
 - 
getQuellserver
Der Verbindungsname desFrontendServerwelche den Vorgang zuletzt bearbeitet hat- Returns:
 Stringdes bearbeitungsquelle
 - 
setQuellserver
- Parameters:
 quellserver-Stringder zu setzende Quellserver
 - 
getProjekt
- Specified by:
 getProjektin interfaceIProjektDependent
 - 
setProjekt
- Specified by:
 setProjektin interfaceIProjektDependent
 - 
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.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
 - 
setNewWorkflowState
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
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.
 - 
setCurrentWorkflowState
Deprecated.For Hibernate only, in most cases you should usesetNewWorkflowState(WorkflowState).- Parameters:
 currentWorkflowState- The current workflow state of this form record.
 - 
getSubject
 - 
setSubject
 - 
getEingangsDatum
 - 
setEingangsDatum
Deprecated.For Hibernate only, in most cases you should usesetNewEingangsDatum(Date).- Parameters:
 eingangsDatum- The new date when the form record was created.
 - 
setNewEingangsDatum
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
 - 
setProzessId
 - 
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
- Specified by:
 setUUIDin interfaceIUUIDEntity
 - 
getUUIDObject
- Specified by:
 getUUIDObjectin interfaceIUUIDEntity
 - 
setUUIDObject
 - 
getAttachments
 - 
setAttachments
 - 
addAttachment
 - 
removeAttachment
 - 
getCurrentPostfach
 - 
setCurrentPostfach
 - 
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
 - 
setVerifyUUID
 - 
getVerifyExpireDate
 - 
setVerifyExpireDate
 - 
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
 - 
setLastStatusChangeDate
Deprecated.For Hibernate only, in most cases you should usesetNewLastStatusChangeDate(Date).- Parameters:
 lastStatusChangeDate- The new last status change date.
 - 
setNewLastStatusChangeDate
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
 - 
setCurrentFormeingang
 - 
getParentId
 - 
setParentId
 - 
getCustomAttributes
 - 
setCustomAttributes
 - 
getEditorRef
 - 
setEditorRef
 - 
getCreatorRef
 - 
setCreatorRef
 - 
setEditor
 - 
setCreator
 - 
setEditor
Deprecated.UsesetEditor(IUser)instead. - 
setCreator
Deprecated.UsesetCreator(IUser)instead. - 
getCreatorDataString
 - 
setCreatorDataString
 - 
getEditorDataString
 - 
setEditorDataString
 - 
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
 - 
setCreatorProfileUuid
Deprecated.UsesetCreator(IUser)instead. - 
getEditorProfileUuid
 - 
setEditorProfileUuid
Deprecated.UsesetEditor(IUser)instead. - 
getIdentityToken
 - 
setIdentityToken
 - 
getNewStatus
 - 
setNewStatus
 - 
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.
 - 
toString
- Overrides:
 toStringin classAbstractLockableEntity
 - 
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
 - 
getParentVorgang
Deprecated.usegetParentId() - 
setParentVorgang
Deprecated. - 
getChildren
Deprecated.Can be extremely slow !!! Use query withATTR_PARENT_IDas filter - 
setChildren
Deprecated.Can be extremely slow !!! Use query withATTR_PARENT_IDas filter - 
addChild
Deprecated. - 
removeChild
Deprecated. - 
getFormeingaenge
Deprecated. - 
setFormeingaenge
Deprecated. - 
addFormeingang
Deprecated. - 
removeFormeingang
Deprecated. - 
getBearbeiter
Deprecated.- Returns:
 - the bearbeiter
 
 - 
setBearbeiter
Deprecated. - 
getErsteller
Deprecated. - 
setErsteller
Deprecated. - 
getErstellerRef
Deprecated. - 
setErstellerRef
Deprecated. - 
getBearbeiterRef
Deprecated. - 
setBearbeiterRef
Deprecated. 
 - 
 
ATTR_EDITOR_REF