Class WorkObjectEntityImpl
- All Implemented Interfaces:
WorkObject
,WorkObjectEntity
,java.io.Serializable
,org.flowable.common.engine.api.variable.VariableContainer
,org.flowable.common.engine.impl.db.HasRevision
,org.flowable.common.engine.impl.persistence.entity.Entity
,org.flowable.variable.api.delegate.VariableScope
public class WorkObjectEntityImpl extends AbstractWorkObjectEngineVariableScopeEntity implements WorkObjectEntity, java.io.Serializable
- Author:
- martin.grofcik
- See Also:
- Serialized Form
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
assignedGroupId
protected java.util.Date
assignedGroupIdUpdateTime
protected java.lang.String
assigneeId
protected java.util.Date
assigneeIdUpdateTime
protected java.util.Set<java.lang.String>
candidateGroupIds
protected java.util.Set<java.lang.String>
candidateUserIds
protected java.util.Date
creationTime
protected java.lang.String
definitionId
protected java.lang.String
description
protected java.util.Date
dueTime
protected java.lang.String
externalId
protected boolean
forcedUpdate
protected java.lang.String
globalId
protected boolean
hasLegacyVariables
protected java.lang.String
initialAssignedGroupId
protected java.lang.String
initialAssigneeId
protected java.util.List<LegacyVariable>
legacyVariables
protected java.lang.String
modificationCreatorId
protected java.lang.String
modificationUpdaterId
protected long
modificationVersion
protected java.lang.String
name
protected java.lang.String
ownerId
protected java.lang.String
parentId
protected java.lang.String
parentIdRef
protected java.lang.String
parentType
protected PathRef
path
protected java.lang.String
previousAssignedGroupId
protected java.lang.String
previousAssigneeId
protected java.lang.Integer
priority
protected java.lang.String
providerId
protected java.util.List<org.flowable.variable.service.impl.persistence.entity.VariableInstanceEntity>
queryVariables
protected java.util.Date
resubmissionTime
protected java.lang.String
state
protected java.util.Date
stateUpdateTime
protected java.lang.String
subState
protected java.util.Date
subStateUpdateTime
protected java.lang.String
tenantId
protected java.lang.String
type
protected java.util.Date
updateTime
static java.lang.String
WRK_OBJ_VARIABLE_TYPE
-
Constructor Summary
Constructors Constructor Description WorkObjectEntityImpl()
-
Method Summary
Modifier and Type Method Description protected void
addLoggingSessionInfo(com.fasterxml.jackson.databind.node.ObjectNode loggingNode)
void
forceUpdate()
java.lang.String
getAssignedGroupId()
Returns the work object assigned group ID.java.util.Date
getAssignedGroupIdUpdateTime()
Returns the time the entity's assigned group ID was last updated.java.lang.String
getAssigneeId()
Returns the work object assignee's user ID.java.util.Date
getAssigneeIdUpdateTime()
Returns the time the entity's assignee ID was last updated.java.util.Set<java.lang.String>
getCandidateGroupIds()
Returns the work object candidate group IDs.java.util.Set<java.lang.String>
getCandidateUserIds()
Returns the work object candidate user IDs.java.util.Date
getCreationTime()
Returns the time the entity was created.java.lang.String
getDefinitionId()
Returns the definition ID of this work object.java.util.Date
getDueTime()
Returns the work object due time.java.lang.String
getExternalId()
Returns the external ID of this work object.java.lang.String
getGlobalId()
Returns the global ID of this work object.java.lang.String
getInitialAssignedGroupId()
Returns the initial assigned group ID.java.lang.String
getInitialAssigneeId()
Returns the initial assignee's user ID.java.util.List<LegacyVariable>
getLegacyVariables()
java.lang.String
getModificationCreatorId()
Returns the ID of the user who created the work object.java.lang.String
getModificationUpdaterId()
Returns the ID of the user who last modified the work object.long
getModificationVersion()
Returns the work object modification version.java.lang.String
getName()
Returns the work object name.java.lang.String
getOwnerId()
Returns the work object owner's user ID.java.lang.String
getParentId()
Returns parent idjava.lang.String
getParentIdRef()
Returns parent id referencejava.lang.String
getParentType()
Returns parent typeprotected org.flowable.variable.service.impl.persistence.entity.VariableScopeImpl
getParentVariableScope()
java.util.List<java.lang.String>
getPath()
Returns the work object hierarchy path (i.e.java.lang.Object
getPersistentState()
java.lang.String
getPreviousAssignedGroupId()
Returns the previous assigned group ID.java.lang.String
getPreviousAssigneeId()
Returns the previous assignee's user ID.java.lang.Integer
getPriority()
Returns the work object priority.java.lang.String
getProviderId()
Returns the provider ID of this work object.java.util.List<org.flowable.variable.service.impl.persistence.entity.VariableInstanceEntity>
getQueryVariables()
java.util.Date
getResubmissionTime()
Returns the work object resubmission time.java.lang.String
getRootId()
Returns the ID of the root work object (may be work object ID of this work object).protected org.flowable.variable.service.impl.persistence.entity.VariableInstanceEntity
getSpecificVariable(java.lang.String variableName)
protected java.util.List<org.flowable.variable.service.impl.persistence.entity.VariableInstanceEntity>
getSpecificVariables(java.util.Collection<java.lang.String> variableNames)
java.lang.String
getState()
Returns the work object state.java.util.Date
getStateUpdateTime()
Returns the time the work object state was last updated.java.lang.String
getSubState()
Returns the work object sub-state.java.util.Date
getSubStateUpdateTime()
Returns the time the work object sub state was last updated.java.lang.String
getTenantId()
Returns the tenant ID for this work object.java.lang.String
getType()
Returns the work object type.java.util.Date
getUpdateTime()
Returns the time the entity was last updated.protected org.flowable.variable.service.VariableServiceConfiguration
getVariableServiceConfiguration()
java.util.Map<java.lang.String,java.lang.Object>
getWorkObjectVariables()
Returns theWorkObject
variables if requested in theWorkObjectQuery
protected void
initializeVariableInstanceBackPointer(org.flowable.variable.service.impl.persistence.entity.VariableInstanceEntity variableInstance)
boolean
isHasLegacyVariables()
Flag to specify whether workObject contains legacy variablesboolean
isPropagateToHistoricVariable()
protected java.util.Collection<org.flowable.variable.service.impl.persistence.entity.VariableInstanceEntity>
loadVariableInstances()
void
setAssignedGroupId(java.lang.String assignedGroupId)
void
setAssignedGroupIdUpdateTime(java.util.Date assignedGroupIdUpdateTime)
void
setAssigneeId(java.lang.String assigneeId)
void
setAssigneeIdUpdateTime(java.util.Date assigneeIdUpdateTime)
void
setCandidateGroupIds(java.util.Set<java.lang.String> candidateGroupIds)
void
setCandidateUserIds(java.util.Set<java.lang.String> candidateUserIds)
void
setCreationTime(java.util.Date creationTime)
void
setDefinitionId(java.lang.String definitionId)
void
setDueTime(java.util.Date dueTime)
void
setExternalId(java.lang.String externalId)
void
setGlobalId(java.lang.String globalId)
void
setHasLegacyVariables(boolean hasLegacyVariablesFlag)
void
setInitialAssignedGroupId(java.lang.String initialAssignedGroupId)
void
setInitialAssigneeId(java.lang.String initialAssigneeId)
void
setLegacyVariables(java.util.List<LegacyVariable> variables)
void
setModificationCreatorId(java.lang.String modificationCreatorId)
void
setModificationUpdaterId(java.lang.String modificationUpdaterId)
void
setModificationVersion(long modificationVersion)
void
setName(java.lang.String name)
void
setOwnerId(java.lang.String ownerId)
void
setParentId(java.lang.String parentId)
void
setParentIdRef(java.lang.String parentIdRef)
void
setParentType(java.lang.String parentType)
void
setPath(PathRef path)
void
setPreviousAssignedGroupId(java.lang.String previousAssignedGroupId)
void
setPreviousAssigneeId(java.lang.String previousAssigneeId)
void
setPriority(java.lang.Integer priority)
void
setProviderId(java.lang.String providerId)
void
setQueryVariables(java.util.List<org.flowable.variable.service.impl.persistence.entity.VariableInstanceEntity> queryVariables)
void
setResubmissionTime(java.util.Date resubmissionTime)
void
setState(java.lang.String state)
void
setStateUpdateTime(java.util.Date stateUpdateTime)
void
setSubState(java.lang.String subState)
void
setSubStateUpdateTime(java.util.Date subStateUpdateTime)
void
setTenantId(java.lang.String tenantId)
void
setType(java.lang.String type)
void
setUpdateTime(java.util.Date updateTime)
Methods inherited from class com.flowable.workobject.engine.impl.persistence.entity.AbstractWorkObjectEngineVariableScopeEntity
getIdPrefix
Methods inherited from class org.flowable.variable.service.impl.persistence.entity.VariableScopeImpl
collectTransientVariables, collectVariableInstances, collectVariableNames, collectVariables, createVariableInstance, createVariableLocal, createVariablesLocal, deleteVariableInstanceForExplicitUserCall, ensureVariableInstancesInitialized, getCachedElContext, getTransientVariable, getTransientVariableLocal, getTransientVariables, getTransientVariablesLocal, getUsedVariablesCache, getVariable, getVariable, getVariable, getVariableInstance, getVariableInstance, getVariableInstanceEntities, getVariableInstanceLocal, getVariableInstanceLocal, getVariableInstances, getVariableInstances, getVariableInstances, getVariableInstancesLocal, getVariableInstancesLocal, getVariableInstancesLocal, getVariableLocal, getVariableLocal, getVariableLocal, getVariableNames, getVariableNamesLocal, getVariables, getVariables, getVariables, getVariablesLocal, getVariablesLocal, getVariablesLocal, hasVariable, hasVariableLocal, hasVariables, hasVariablesLocal, internalSetVariableInstances, isExpression, removeTransientVariable, removeTransientVariableLocal, removeTransientVariables, removeTransientVariablesLocal, removeVariable, removeVariableLocal, removeVariables, removeVariables, removeVariablesLocal, removeVariablesLocal, setCachedElContext, setTransientVariable, setTransientVariableLocal, setTransientVariables, setTransientVariablesLocal, setVariable, setVariable, setVariableLocal, setVariableLocal, setVariables, setVariablesLocal, updateVariableInstance
Methods inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntity
getId, getOriginalPersistentState, getRevision, getRevisionNext, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setOriginalPersistentState, setRevision, setUpdated
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.flowable.common.engine.impl.persistence.entity.Entity
getId, getIdPrefix, getOriginalPersistentState, isDeleted, isInserted, isUpdated, setDeleted, setInserted, setOriginalPersistentState, setUpdated
Methods inherited from interface com.flowable.workobject.engine.impl.persistence.entity.WorkObjectEntity
setId
-
Field Details
-
WRK_OBJ_VARIABLE_TYPE
public static final java.lang.String WRK_OBJ_VARIABLE_TYPE- See Also:
- Constant Field Values
-
type
protected java.lang.String type -
providerId
protected java.lang.String providerId -
externalId
protected java.lang.String externalId -
definitionId
protected java.lang.String definitionId -
globalId
protected java.lang.String globalId -
tenantId
protected java.lang.String tenantId -
name
protected java.lang.String name -
description
protected java.lang.String description -
state
protected java.lang.String state -
subState
protected java.lang.String subState -
ownerId
protected java.lang.String ownerId -
assigneeId
protected java.lang.String assigneeId -
assignedGroupId
protected java.lang.String assignedGroupId -
candidateUserIds
protected java.util.Set<java.lang.String> candidateUserIds -
candidateGroupIds
protected java.util.Set<java.lang.String> candidateGroupIds -
priority
protected java.lang.Integer priority -
resubmissionTime
protected java.util.Date resubmissionTime -
dueTime
protected java.util.Date dueTime -
modificationCreatorId
protected java.lang.String modificationCreatorId -
creationTime
protected java.util.Date creationTime -
path
-
parentId
protected java.lang.String parentId -
parentIdRef
protected java.lang.String parentIdRef -
parentType
protected java.lang.String parentType -
stateUpdateTime
protected java.util.Date stateUpdateTime -
subStateUpdateTime
protected java.util.Date subStateUpdateTime -
initialAssigneeId
protected java.lang.String initialAssigneeId -
previousAssigneeId
protected java.lang.String previousAssigneeId -
assigneeIdUpdateTime
protected java.util.Date assigneeIdUpdateTime -
initialAssignedGroupId
protected java.lang.String initialAssignedGroupId -
previousAssignedGroupId
protected java.lang.String previousAssignedGroupId -
assignedGroupIdUpdateTime
protected java.util.Date assignedGroupIdUpdateTime -
modificationVersion
protected long modificationVersion -
modificationUpdaterId
protected java.lang.String modificationUpdaterId -
updateTime
protected java.util.Date updateTime -
legacyVariables
-
hasLegacyVariables
protected boolean hasLegacyVariables -
queryVariables
protected java.util.List<org.flowable.variable.service.impl.persistence.entity.VariableInstanceEntity> queryVariables -
forcedUpdate
protected boolean forcedUpdate
-
-
Constructor Details
-
WorkObjectEntityImpl
public WorkObjectEntityImpl()
-
-
Method Details
-
getPersistentState
public java.lang.Object getPersistentState()- Specified by:
getPersistentState
in interfaceorg.flowable.common.engine.impl.persistence.entity.Entity
-
getType
public java.lang.String getType()Description copied from interface:WorkObject
Returns the work object type.- Specified by:
getType
in interfaceWorkObject
- Returns:
- the work object type
-
setType
public void setType(java.lang.String type)- Specified by:
setType
in interfaceWorkObjectEntity
-
getProviderId
public java.lang.String getProviderId()Description copied from interface:WorkObject
Returns the provider ID of this work object.The ID is used to identify the provider responsible for managing the work object.
- Specified by:
getProviderId
in interfaceWorkObject
- Returns:
- the work object provider ID
-
setProviderId
public void setProviderId(java.lang.String providerId)- Specified by:
setProviderId
in interfaceWorkObjectEntity
-
getExternalId
public java.lang.String getExternalId()Description copied from interface:WorkObject
Returns the external ID of this work object.The external ID is used by the provider for managing the work object.
- Specified by:
getExternalId
in interfaceWorkObject
- Returns:
- the work object external ID
-
setExternalId
public void setExternalId(java.lang.String externalId)- Specified by:
setExternalId
in interfaceWorkObjectEntity
-
getDefinitionId
public java.lang.String getDefinitionId()Description copied from interface:WorkObject
Returns the definition ID of this work object.The definition ID references a definition that provides template information for the work object.
- Specified by:
getDefinitionId
in interfaceWorkObject
- Returns:
- the definition ID
-
setDefinitionId
public void setDefinitionId(java.lang.String definitionId)- Specified by:
setDefinitionId
in interfaceWorkObjectEntity
-
getGlobalId
public java.lang.String getGlobalId()Description copied from interface:WorkObject
Returns the global ID of this work object.The global ID is used to identify this entity represented by this work object. Work objects in different tenants or even in different systems that represent the same entity will have the same global ID. Management of global IDs will vary depending on the application and the work object type.
- Specified by:
getGlobalId
in interfaceWorkObject
- Returns:
- the global ID
-
setGlobalId
public void setGlobalId(java.lang.String globalId)- Specified by:
setGlobalId
in interfaceWorkObjectEntity
-
getTenantId
public java.lang.String getTenantId()Description copied from interface:WorkObject
Returns the tenant ID for this work object.A single edoras one system can support multiple tenants, where each tenant is an isolated environment. Each tenant has a tenant ID, and a work object belongs to a specific tenant.
- Specified by:
getTenantId
in interfaceorg.flowable.common.engine.api.variable.VariableContainer
- Specified by:
getTenantId
in interfaceWorkObject
- Returns:
- the tenant ID
-
setTenantId
public void setTenantId(java.lang.String tenantId)- Specified by:
setTenantId
in interfaceWorkObjectEntity
-
getName
public java.lang.String getName()Description copied from interface:WorkObject
Returns the work object name.- Specified by:
getName
in interfaceWorkObject
- Returns:
- the work object name
-
setName
public void setName(java.lang.String name)- Specified by:
setName
in interfaceWorkObject
-
getState
public java.lang.String getState()Description copied from interface:WorkObject
Returns the work object state.- Specified by:
getState
in interfaceWorkObject
- Returns:
- the work object state
-
setState
public void setState(java.lang.String state)- Specified by:
setState
in interfaceWorkObjectEntity
-
getSubState
public java.lang.String getSubState()Description copied from interface:WorkObject
Returns the work object sub-state.- Specified by:
getSubState
in interfaceWorkObject
- Returns:
- the work object sub-state {}
-
setSubState
public void setSubState(java.lang.String subState)- Specified by:
setSubState
in interfaceWorkObjectEntity
-
getOwnerId
public java.lang.String getOwnerId()Description copied from interface:WorkObject
Returns the work object owner's user ID.- Specified by:
getOwnerId
in interfaceWorkObject
- Returns:
- the work object owner's user ID
-
setOwnerId
public void setOwnerId(java.lang.String ownerId)- Specified by:
setOwnerId
in interfaceWorkObject
-
getAssigneeId
public java.lang.String getAssigneeId()Description copied from interface:WorkObject
Returns the work object assignee's user ID.- Specified by:
getAssigneeId
in interfaceWorkObject
- Returns:
- the work object assignee's user ID
-
setAssigneeId
public void setAssigneeId(java.lang.String assigneeId)- Specified by:
setAssigneeId
in interfaceWorkObject
-
getAssignedGroupId
public java.lang.String getAssignedGroupId()Description copied from interface:WorkObject
Returns the work object assigned group ID.- Specified by:
getAssignedGroupId
in interfaceWorkObject
- Returns:
- the work object assigned group ID
-
setAssignedGroupId
public void setAssignedGroupId(java.lang.String assignedGroupId)- Specified by:
setAssignedGroupId
in interfaceWorkObject
-
getCandidateUserIds
public java.util.Set<java.lang.String> getCandidateUserIds()Description copied from interface:WorkObject
Returns the work object candidate user IDs.- Specified by:
getCandidateUserIds
in interfaceWorkObject
- Returns:
- the work object candidate user IDs
-
setCandidateUserIds
public void setCandidateUserIds(java.util.Set<java.lang.String> candidateUserIds)- Specified by:
setCandidateUserIds
in interfaceWorkObject
-
getCandidateGroupIds
public java.util.Set<java.lang.String> getCandidateGroupIds()Description copied from interface:WorkObject
Returns the work object candidate group IDs.- Specified by:
getCandidateGroupIds
in interfaceWorkObject
- Returns:
- the work object candidate group IDs
-
setCandidateGroupIds
public void setCandidateGroupIds(java.util.Set<java.lang.String> candidateGroupIds)- Specified by:
setCandidateGroupIds
in interfaceWorkObject
-
getPriority
public java.lang.Integer getPriority()Description copied from interface:WorkObject
Returns the work object priority.- Specified by:
getPriority
in interfaceWorkObject
- Returns:
- the work object priority
-
setPriority
public void setPriority(java.lang.Integer priority)- Specified by:
setPriority
in interfaceWorkObject
-
getResubmissionTime
public java.util.Date getResubmissionTime()Description copied from interface:WorkObject
Returns the work object resubmission time.- Specified by:
getResubmissionTime
in interfaceWorkObject
- Returns:
- the work object resubmission time
-
setResubmissionTime
public void setResubmissionTime(java.util.Date resubmissionTime)- Specified by:
setResubmissionTime
in interfaceWorkObjectEntity
-
getDueTime
public java.util.Date getDueTime()Description copied from interface:WorkObject
Returns the work object due time.- Specified by:
getDueTime
in interfaceWorkObject
- Returns:
- the work object due time
-
setDueTime
public void setDueTime(java.util.Date dueTime)- Specified by:
setDueTime
in interfaceWorkObject
-
getModificationCreatorId
public java.lang.String getModificationCreatorId()Description copied from interface:WorkObject
Returns the ID of the user who created the work object.- Specified by:
getModificationCreatorId
in interfaceWorkObject
- Returns:
- the ID of the user who created the work object
-
setModificationCreatorId
public void setModificationCreatorId(java.lang.String modificationCreatorId)- Specified by:
setModificationCreatorId
in interfaceWorkObjectEntity
-
getCreationTime
public java.util.Date getCreationTime()Description copied from interface:WorkObject
Returns the time the entity was created.- Specified by:
getCreationTime
in interfaceWorkObject
- Returns:
- the time the entity was created
-
setCreationTime
public void setCreationTime(java.util.Date creationTime)- Specified by:
setCreationTime
in interfaceWorkObjectEntity
-
getPath
public java.util.List<java.lang.String> getPath()Description copied from interface:WorkObject
Returns the work object hierarchy path (i.e. the sequence of parent IDs to the root work object).The entries in the path are ordered from the highest level (root) to the lowest level (current work object).
- Specified by:
getPath
in interfaceWorkObject
- Returns:
- the work object hierarchy path
-
getRootId
public java.lang.String getRootId()Description copied from interface:WorkObject
Returns the ID of the root work object (may be work object ID of this work object).- Specified by:
getRootId
in interfaceWorkObject
- Returns:
- the ID of the root work object (may be work object ID of this work object)
-
setPath
- Specified by:
setPath
in interfaceWorkObjectEntity
-
getStateUpdateTime
public java.util.Date getStateUpdateTime()Description copied from interface:WorkObject
Returns the time the work object state was last updated.- Specified by:
getStateUpdateTime
in interfaceWorkObject
- Returns:
- the time the work object state was last updated
-
setStateUpdateTime
public void setStateUpdateTime(java.util.Date stateUpdateTime)- Specified by:
setStateUpdateTime
in interfaceWorkObjectEntity
-
getSubStateUpdateTime
public java.util.Date getSubStateUpdateTime()Description copied from interface:WorkObject
Returns the time the work object sub state was last updated.- Specified by:
getSubStateUpdateTime
in interfaceWorkObject
- Returns:
- the time the work object sub state was last updated
-
setSubStateUpdateTime
public void setSubStateUpdateTime(java.util.Date subStateUpdateTime)- Specified by:
setSubStateUpdateTime
in interfaceWorkObjectEntity
-
getInitialAssigneeId
public java.lang.String getInitialAssigneeId()Description copied from interface:WorkObject
Returns the initial assignee's user ID.- Specified by:
getInitialAssigneeId
in interfaceWorkObject
- Returns:
- the initial assignee's user ID
-
setInitialAssigneeId
public void setInitialAssigneeId(java.lang.String initialAssigneeId)- Specified by:
setInitialAssigneeId
in interfaceWorkObjectEntity
-
getPreviousAssigneeId
public java.lang.String getPreviousAssigneeId()Description copied from interface:WorkObject
Returns the previous assignee's user ID.- Specified by:
getPreviousAssigneeId
in interfaceWorkObject
- Returns:
- the previous assignee's user ID
-
setPreviousAssigneeId
public void setPreviousAssigneeId(java.lang.String previousAssigneeId)- Specified by:
setPreviousAssigneeId
in interfaceWorkObjectEntity
-
getAssigneeIdUpdateTime
public java.util.Date getAssigneeIdUpdateTime()Description copied from interface:WorkObject
Returns the time the entity's assignee ID was last updated.- Specified by:
getAssigneeIdUpdateTime
in interfaceWorkObject
- Returns:
- the time the entity's assignee ID was last updated
-
setAssigneeIdUpdateTime
public void setAssigneeIdUpdateTime(java.util.Date assigneeIdUpdateTime)- Specified by:
setAssigneeIdUpdateTime
in interfaceWorkObjectEntity
-
getInitialAssignedGroupId
public java.lang.String getInitialAssignedGroupId()Description copied from interface:WorkObject
Returns the initial assigned group ID.- Specified by:
getInitialAssignedGroupId
in interfaceWorkObject
- Returns:
- the initial assigned group ID
-
setInitialAssignedGroupId
public void setInitialAssignedGroupId(java.lang.String initialAssignedGroupId)- Specified by:
setInitialAssignedGroupId
in interfaceWorkObjectEntity
-
getPreviousAssignedGroupId
public java.lang.String getPreviousAssignedGroupId()Description copied from interface:WorkObject
Returns the previous assigned group ID.- Specified by:
getPreviousAssignedGroupId
in interfaceWorkObject
- Returns:
- the previous assigned group ID
-
setPreviousAssignedGroupId
public void setPreviousAssignedGroupId(java.lang.String previousAssignedGroupId)- Specified by:
setPreviousAssignedGroupId
in interfaceWorkObjectEntity
-
getAssignedGroupIdUpdateTime
public java.util.Date getAssignedGroupIdUpdateTime()Description copied from interface:WorkObject
Returns the time the entity's assigned group ID was last updated.- Specified by:
getAssignedGroupIdUpdateTime
in interfaceWorkObject
- Returns:
- the time the entity's assigned group ID was last updated
-
setAssignedGroupIdUpdateTime
public void setAssignedGroupIdUpdateTime(java.util.Date assignedGroupIdUpdateTime)- Specified by:
setAssignedGroupIdUpdateTime
in interfaceWorkObjectEntity
-
getModificationVersion
public long getModificationVersion()Description copied from interface:WorkObject
Returns the work object modification version.The modification version is changed each time the work object is modified.
- Specified by:
getModificationVersion
in interfaceWorkObject
- Returns:
- the work object modification version
-
setModificationVersion
public void setModificationVersion(long modificationVersion)- Specified by:
setModificationVersion
in interfaceWorkObjectEntity
-
getModificationUpdaterId
public java.lang.String getModificationUpdaterId()Description copied from interface:WorkObject
Returns the ID of the user who last modified the work object.- Specified by:
getModificationUpdaterId
in interfaceWorkObject
- Returns:
- the ID of the user who last modified the work object
-
setModificationUpdaterId
public void setModificationUpdaterId(java.lang.String modificationUpdaterId)- Specified by:
setModificationUpdaterId
in interfaceWorkObjectEntity
-
getUpdateTime
public java.util.Date getUpdateTime()Description copied from interface:WorkObject
Returns the time the entity was last updated.- Specified by:
getUpdateTime
in interfaceWorkObject
- Returns:
- the time the entity was last updated
-
setUpdateTime
public void setUpdateTime(java.util.Date updateTime)- Specified by:
setUpdateTime
in interfaceWorkObjectEntity
-
getParentId
public java.lang.String getParentId()Description copied from interface:WorkObject
Returns parent id- Specified by:
getParentId
in interfaceWorkObject
- Returns:
- parent id
-
setParentId
public void setParentId(java.lang.String parentId)- Specified by:
setParentId
in interfaceWorkObjectEntity
-
getParentIdRef
public java.lang.String getParentIdRef()Description copied from interface:WorkObject
Returns parent id reference- Specified by:
getParentIdRef
in interfaceWorkObject
- Returns:
- parent id reference
-
setParentIdRef
public void setParentIdRef(java.lang.String parentIdRef)- Specified by:
setParentIdRef
in interfaceWorkObjectEntity
-
getParentType
public java.lang.String getParentType()Description copied from interface:WorkObject
Returns parent type- Specified by:
getParentType
in interfaceWorkObject
- Returns:
- parent type
-
setParentType
public void setParentType(java.lang.String parentType)- Specified by:
setParentType
in interfaceWorkObjectEntity
-
setHasLegacyVariables
public void setHasLegacyVariables(boolean hasLegacyVariablesFlag)- Specified by:
setHasLegacyVariables
in interfaceWorkObjectEntity
-
isHasLegacyVariables
public boolean isHasLegacyVariables()Description copied from interface:WorkObject
Flag to specify whether workObject contains legacy variables- Specified by:
isHasLegacyVariables
in interfaceWorkObject
- Returns:
- true if there are legacy variables in the work object, false otherwise
-
initializeVariableInstanceBackPointer
protected void initializeVariableInstanceBackPointer(org.flowable.variable.service.impl.persistence.entity.VariableInstanceEntity variableInstance)- Specified by:
initializeVariableInstanceBackPointer
in classorg.flowable.variable.service.impl.persistence.entity.VariableScopeImpl
-
loadVariableInstances
protected java.util.Collection<org.flowable.variable.service.impl.persistence.entity.VariableInstanceEntity> loadVariableInstances()- Specified by:
loadVariableInstances
in classorg.flowable.variable.service.impl.persistence.entity.VariableScopeImpl
-
getParentVariableScope
protected org.flowable.variable.service.impl.persistence.entity.VariableScopeImpl getParentVariableScope()- Specified by:
getParentVariableScope
in classorg.flowable.variable.service.impl.persistence.entity.VariableScopeImpl
-
getSpecificVariable
protected org.flowable.variable.service.impl.persistence.entity.VariableInstanceEntity getSpecificVariable(java.lang.String variableName)- Specified by:
getSpecificVariable
in classorg.flowable.variable.service.impl.persistence.entity.VariableScopeImpl
-
getSpecificVariables
protected java.util.List<org.flowable.variable.service.impl.persistence.entity.VariableInstanceEntity> getSpecificVariables(java.util.Collection<java.lang.String> variableNames)- Specified by:
getSpecificVariables
in classorg.flowable.variable.service.impl.persistence.entity.VariableScopeImpl
-
getVariableServiceConfiguration
protected org.flowable.variable.service.VariableServiceConfiguration getVariableServiceConfiguration()- Specified by:
getVariableServiceConfiguration
in classorg.flowable.variable.service.impl.persistence.entity.VariableScopeImpl
-
isPropagateToHistoricVariable
public boolean isPropagateToHistoricVariable()- Specified by:
isPropagateToHistoricVariable
in classorg.flowable.variable.service.impl.persistence.entity.VariableScopeImpl
-
setLegacyVariables
- Specified by:
setLegacyVariables
in interfaceWorkObjectEntity
-
getLegacyVariables
- Specified by:
getLegacyVariables
in interfaceWorkObject
- Returns:
- variables associated with the work object
-
getQueryVariables
public java.util.List<org.flowable.variable.service.impl.persistence.entity.VariableInstanceEntity> getQueryVariables() -
setQueryVariables
public void setQueryVariables(java.util.List<org.flowable.variable.service.impl.persistence.entity.VariableInstanceEntity> queryVariables) -
getWorkObjectVariables
public java.util.Map<java.lang.String,java.lang.Object> getWorkObjectVariables()Description copied from interface:WorkObject
Returns theWorkObject
variables if requested in theWorkObjectQuery
- Specified by:
getWorkObjectVariables
in interfaceWorkObject
-
addLoggingSessionInfo
protected void addLoggingSessionInfo(com.fasterxml.jackson.databind.node.ObjectNode loggingNode)- Specified by:
addLoggingSessionInfo
in classorg.flowable.variable.service.impl.persistence.entity.VariableScopeImpl
-
forceUpdate
public void forceUpdate()
-