Class ProcessDefinitionEntityImpl
java.lang.Object
org.flowable.common.engine.impl.persistence.entity.AbstractEntity
org.flowable.engine.impl.persistence.entity.AbstractBpmnEngineEntity
org.flowable.engine.impl.persistence.entity.ProcessDefinitionEntityImpl
- All Implemented Interfaces:
Serializable
,HasRevision
,Entity
,ProcessDefinitionEntity
,ProcessDefinition
public class ProcessDefinitionEntityImpl
extends AbstractBpmnEngineEntity
implements ProcessDefinitionEntity, Serializable
- Author:
- Joram Barrez, Tijs Rademakers
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected String
protected List<IdentityLinkEntity>
protected String
protected String
protected String
protected int
protected String
protected String
protected String
protected boolean
protected Integer
protected IOSpecification
protected boolean
protected boolean
protected String
protected String
protected String
protected String
protected String
protected int
protected String
protected int
Fields inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntity
id, isDeleted, isInserted, isUpdated, originalPersistentState, revision
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncategory name which is derived from the targetNamespace attribute in the definitions elementThe deployment in which this process definition is contained.The derived from process definition value when this is a dynamic process definitionThe root derived from process definition value when this is a dynamic process definitionint
The derived version of the process definitiondescription of this processThe resource name in the deployment of the diagram image (if any).The engine version for this process definition (5 or 6)boolean
boolean
getKey()
unique name for all versions this process definitionsgetName()
label used for display purposesReturns a representation of the object, as would be stored in the database.name ofthe resource
of this process definition.int
The tenant identifier of this process definitionint
version of this process definitionboolean
Does this process definition has a graphical notation defined (such that a diagram can be generated)?boolean
Does this process definition has astart form key
.boolean
boolean
Returns true if the process definition is in suspended state.void
setCategory
(String category) void
setDeploymentId
(String deploymentId) void
setDerivedFrom
(String derivedFrom) void
setDerivedFromRoot
(String derivedFromRoot) void
setDerivedVersion
(int derivedVersion) void
setDescription
(String description) void
setDiagramResourceName
(String diagramResourceName) void
setEngineVersion
(String engineVersion) void
setGraphicalNotationDefined
(boolean isGraphicalNotationDefined) void
setHasStartFormKey
(boolean hasStartFormKey) void
setHistoryLevel
(Integer historyLevel) void
setIoSpecification
(IOSpecification ioSpecification) void
setIsGraphicalNotationDefined
(boolean isGraphicalNotationDefined) void
void
setLocalizedDescription
(String localizedDescription) void
setLocalizedName
(String localizedName) void
void
setResourceName
(String resourceName) void
setStartFormKey
(boolean hasStartFormKey) void
setSuspensionState
(int suspensionState) void
setTenantId
(String tenantId) void
setVariables
(Map<String, Object> variables) void
setVersion
(int version) toString()
Methods inherited from class org.flowable.engine.impl.persistence.entity.AbstractBpmnEngineEntity
getIdPrefix
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, wait, wait, wait
Methods inherited from interface org.flowable.common.engine.impl.persistence.entity.Entity
getId, getIdPrefix, getOriginalPersistentState, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setOriginalPersistentState, setUpdated
Methods inherited from interface org.flowable.common.engine.impl.db.HasRevision
getRevision, getRevisionNext, setRevision
Methods inherited from interface org.flowable.engine.repository.ProcessDefinition
getId
-
Field Details
-
name
-
localizedName
-
description
-
localizedDescription
-
key
-
version
protected int version -
category
-
deploymentId
-
resourceName
-
tenantId
-
historyLevel
-
diagramResourceName
-
isGraphicalNotationDefined
protected boolean isGraphicalNotationDefined -
variables
-
hasStartFormKey
protected boolean hasStartFormKey -
suspensionState
protected int suspensionState -
isIdentityLinksInitialized
protected boolean isIdentityLinksInitialized -
definitionIdentityLinkEntities
-
ioSpecification
-
derivedFrom
-
derivedFromRoot
-
derivedVersion
protected int derivedVersion -
engineVersion
-
-
Constructor Details
-
ProcessDefinitionEntityImpl
public ProcessDefinitionEntityImpl()
-
-
Method Details
-
getPersistentState
Description copied from interface:Entity
Returns a representation of the object, as would be stored in the database. Used when deciding if updates have occurred to the object or not since it was last loaded.- Specified by:
getPersistentState
in interfaceEntity
-
getIdentityLinks
- Specified by:
getIdentityLinks
in interfaceProcessDefinitionEntity
-
getKey
Description copied from interface:ProcessDefinition
unique name for all versions this process definitions- Specified by:
getKey
in interfaceProcessDefinition
-
setKey
- Specified by:
setKey
in interfaceProcessDefinitionEntity
-
getName
Description copied from interface:ProcessDefinition
label used for display purposes- Specified by:
getName
in interfaceProcessDefinition
-
setName
- Specified by:
setName
in interfaceProcessDefinitionEntity
-
getLocalizedName
-
setLocalizedName
- Specified by:
setLocalizedName
in interfaceProcessDefinitionEntity
-
setDescription
- Specified by:
setDescription
in interfaceProcessDefinitionEntity
-
getDescription
Description copied from interface:ProcessDefinition
description of this process- Specified by:
getDescription
in interfaceProcessDefinition
-
getLocalizedDescription
-
setLocalizedDescription
- Specified by:
setLocalizedDescription
in interfaceProcessDefinitionEntity
-
getDeploymentId
Description copied from interface:ProcessDefinition
The deployment in which this process definition is contained.- Specified by:
getDeploymentId
in interfaceProcessDefinition
-
setDeploymentId
- Specified by:
setDeploymentId
in interfaceProcessDefinitionEntity
-
getVersion
public int getVersion()Description copied from interface:ProcessDefinition
version of this process definition- Specified by:
getVersion
in interfaceProcessDefinition
-
setVersion
public void setVersion(int version) - Specified by:
setVersion
in interfaceProcessDefinitionEntity
-
getResourceName
Description copied from interface:ProcessDefinition
name ofthe resource
of this process definition.- Specified by:
getResourceName
in interfaceProcessDefinition
-
setResourceName
- Specified by:
setResourceName
in interfaceProcessDefinitionEntity
-
getTenantId
Description copied from interface:ProcessDefinition
The tenant identifier of this process definition- Specified by:
getTenantId
in interfaceProcessDefinition
-
setTenantId
- Specified by:
setTenantId
in interfaceProcessDefinitionEntity
-
getHistoryLevel
- Specified by:
getHistoryLevel
in interfaceProcessDefinitionEntity
-
setHistoryLevel
- Specified by:
setHistoryLevel
in interfaceProcessDefinitionEntity
-
getVariables
-
setVariables
-
getCategory
Description copied from interface:ProcessDefinition
category name which is derived from the targetNamespace attribute in the definitions element- Specified by:
getCategory
in interfaceProcessDefinition
-
setCategory
- Specified by:
setCategory
in interfaceProcessDefinitionEntity
-
getDiagramResourceName
Description copied from interface:ProcessDefinition
The resource name in the deployment of the diagram image (if any).- Specified by:
getDiagramResourceName
in interfaceProcessDefinition
-
setDiagramResourceName
- Specified by:
setDiagramResourceName
in interfaceProcessDefinitionEntity
-
hasStartFormKey
public boolean hasStartFormKey()Description copied from interface:ProcessDefinition
Does this process definition has astart form key
.- Specified by:
hasStartFormKey
in interfaceProcessDefinition
-
getHasStartFormKey
public boolean getHasStartFormKey()- Specified by:
getHasStartFormKey
in interfaceProcessDefinitionEntity
-
setStartFormKey
public void setStartFormKey(boolean hasStartFormKey) - Specified by:
setStartFormKey
in interfaceProcessDefinitionEntity
-
setHasStartFormKey
public void setHasStartFormKey(boolean hasStartFormKey) - Specified by:
setHasStartFormKey
in interfaceProcessDefinitionEntity
-
isGraphicalNotationDefined
public boolean isGraphicalNotationDefined()- Specified by:
isGraphicalNotationDefined
in interfaceProcessDefinitionEntity
-
hasGraphicalNotation
public boolean hasGraphicalNotation()Description copied from interface:ProcessDefinition
Does this process definition has a graphical notation defined (such that a diagram can be generated)?- Specified by:
hasGraphicalNotation
in interfaceProcessDefinition
-
getIsGraphicalNotationDefined
public boolean getIsGraphicalNotationDefined() -
setIsGraphicalNotationDefined
public void setIsGraphicalNotationDefined(boolean isGraphicalNotationDefined) -
setGraphicalNotationDefined
public void setGraphicalNotationDefined(boolean isGraphicalNotationDefined) - Specified by:
setGraphicalNotationDefined
in interfaceProcessDefinitionEntity
-
getSuspensionState
public int getSuspensionState()- Specified by:
getSuspensionState
in interfaceProcessDefinitionEntity
-
setSuspensionState
public void setSuspensionState(int suspensionState) - Specified by:
setSuspensionState
in interfaceProcessDefinitionEntity
-
isSuspended
public boolean isSuspended()Description copied from interface:ProcessDefinition
Returns true if the process definition is in suspended state.- Specified by:
isSuspended
in interfaceProcessDefinition
-
getDerivedFrom
Description copied from interface:ProcessDefinition
The derived from process definition value when this is a dynamic process definition- Specified by:
getDerivedFrom
in interfaceProcessDefinition
-
setDerivedFrom
- Specified by:
setDerivedFrom
in interfaceProcessDefinitionEntity
-
getDerivedFromRoot
Description copied from interface:ProcessDefinition
The root derived from process definition value when this is a dynamic process definition- Specified by:
getDerivedFromRoot
in interfaceProcessDefinition
-
setDerivedFromRoot
- Specified by:
setDerivedFromRoot
in interfaceProcessDefinitionEntity
-
getDerivedVersion
public int getDerivedVersion()Description copied from interface:ProcessDefinition
The derived version of the process definition- Specified by:
getDerivedVersion
in interfaceProcessDefinition
-
setDerivedVersion
public void setDerivedVersion(int derivedVersion) - Specified by:
setDerivedVersion
in interfaceProcessDefinitionEntity
-
getEngineVersion
Description copied from interface:ProcessDefinition
The engine version for this process definition (5 or 6)- Specified by:
getEngineVersion
in interfaceProcessDefinition
- Specified by:
getEngineVersion
in interfaceProcessDefinitionEntity
-
setEngineVersion
- Specified by:
setEngineVersion
in interfaceProcessDefinitionEntity
-
getIoSpecification
-
setIoSpecification
-
toString
-