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:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected Stringcategoryprotected List<IdentityLinkEntity>definitionIdentityLinkEntitiesprotected StringdeploymentIdprotected StringderivedFromprotected StringderivedFromRootprotected intderivedVersionprotected Stringdescriptionprotected StringdiagramResourceNameprotected StringengineVersionprotected booleanhasStartFormKeyprotected IntegerhistoryLevelprotected IOSpecificationioSpecificationprotected booleanisGraphicalNotationDefinedprotected booleanisIdentityLinksInitializedprotected Stringkeyprotected StringlocalizedDescriptionprotected StringlocalizedNameprotected Stringnameprotected StringresourceNameprotected intsuspensionStateprotected StringtenantIdprotected Map<String,Object>variablesprotected intversion-
Fields inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntity
id, isDeleted, isInserted, isUpdated, originalPersistentState, revision
-
-
Constructor Summary
Constructors Constructor Description ProcessDefinitionEntityImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCategory()category name which is derived from the targetNamespace attribute in the definitions elementStringgetDeploymentId()The deployment in which this process definition is contained.StringgetDerivedFrom()The derived from process definition value when this is a dynamic process definitionStringgetDerivedFromRoot()The root derived from process definition value when this is a dynamic process definitionintgetDerivedVersion()The derived version of the process definitionStringgetDescription()description of this processStringgetDiagramResourceName()The resource name in the deployment of the diagram image (if any).StringgetEngineVersion()The engine version for this process definition (5 or 6)booleangetHasStartFormKey()IntegergetHistoryLevel()List<IdentityLinkEntity>getIdentityLinks()IOSpecificationgetIoSpecification()booleangetIsGraphicalNotationDefined()StringgetKey()unique name for all versions this process definitionsStringgetLocalizedDescription()StringgetLocalizedName()StringgetName()label used for display purposesObjectgetPersistentState()StringgetResourceName()name ofthe resourceof this process definition.intgetSuspensionState()StringgetTenantId()The tenant identifier of this process definitionMap<String,Object>getVariables()intgetVersion()version of this process definitionbooleanhasGraphicalNotation()Does this process definition has a graphical notation defined (such that a diagram can be generated)?booleanhasStartFormKey()Does this process definition has astart form key.booleanisGraphicalNotationDefined()booleanisSuspended()Returns true if the process definition is in suspended state.voidsetCategory(String category)voidsetDeploymentId(String deploymentId)voidsetDerivedFrom(String derivedFrom)voidsetDerivedFromRoot(String derivedFromRoot)voidsetDerivedVersion(int derivedVersion)voidsetDescription(String description)voidsetDiagramResourceName(String diagramResourceName)voidsetEngineVersion(String engineVersion)voidsetGraphicalNotationDefined(boolean isGraphicalNotationDefined)voidsetHasStartFormKey(boolean hasStartFormKey)voidsetHistoryLevel(Integer historyLevel)voidsetIoSpecification(IOSpecification ioSpecification)voidsetIsGraphicalNotationDefined(boolean isGraphicalNotationDefined)voidsetKey(String key)voidsetLocalizedDescription(String localizedDescription)voidsetLocalizedName(String localizedName)voidsetName(String name)voidsetResourceName(String resourceName)voidsetStartFormKey(boolean hasStartFormKey)voidsetSuspensionState(int suspensionState)voidsetTenantId(String tenantId)voidsetVariables(Map<String,Object> variables)voidsetVersion(int version)StringtoString()-
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 Detail
-
name
protected String name
-
localizedName
protected String localizedName
-
description
protected String description
-
localizedDescription
protected String localizedDescription
-
key
protected String key
-
version
protected int version
-
category
protected String category
-
deploymentId
protected String deploymentId
-
resourceName
protected String resourceName
-
tenantId
protected String tenantId
-
historyLevel
protected Integer historyLevel
-
diagramResourceName
protected String diagramResourceName
-
isGraphicalNotationDefined
protected boolean isGraphicalNotationDefined
-
hasStartFormKey
protected boolean hasStartFormKey
-
suspensionState
protected int suspensionState
-
isIdentityLinksInitialized
protected boolean isIdentityLinksInitialized
-
definitionIdentityLinkEntities
protected List<IdentityLinkEntity> definitionIdentityLinkEntities
-
ioSpecification
protected IOSpecification ioSpecification
-
derivedFrom
protected String derivedFrom
-
derivedFromRoot
protected String derivedFromRoot
-
derivedVersion
protected int derivedVersion
-
engineVersion
protected String engineVersion
-
-
Method Detail
-
getPersistentState
public Object getPersistentState()
- Specified by:
getPersistentStatein interfaceEntity
-
getIdentityLinks
public List<IdentityLinkEntity> getIdentityLinks()
- Specified by:
getIdentityLinksin interfaceProcessDefinitionEntity
-
getKey
public String getKey()
Description copied from interface:ProcessDefinitionunique name for all versions this process definitions- Specified by:
getKeyin interfaceProcessDefinition
-
setKey
public void setKey(String key)
- Specified by:
setKeyin interfaceProcessDefinitionEntity
-
getName
public String getName()
Description copied from interface:ProcessDefinitionlabel used for display purposes- Specified by:
getNamein interfaceProcessDefinition
-
setName
public void setName(String name)
- Specified by:
setNamein interfaceProcessDefinitionEntity
-
getLocalizedName
public String getLocalizedName()
-
setLocalizedName
public void setLocalizedName(String localizedName)
- Specified by:
setLocalizedNamein interfaceProcessDefinitionEntity
-
setDescription
public void setDescription(String description)
- Specified by:
setDescriptionin interfaceProcessDefinitionEntity
-
getDescription
public String getDescription()
Description copied from interface:ProcessDefinitiondescription of this process- Specified by:
getDescriptionin interfaceProcessDefinition
-
getLocalizedDescription
public String getLocalizedDescription()
-
setLocalizedDescription
public void setLocalizedDescription(String localizedDescription)
- Specified by:
setLocalizedDescriptionin interfaceProcessDefinitionEntity
-
getDeploymentId
public String getDeploymentId()
Description copied from interface:ProcessDefinitionThe deployment in which this process definition is contained.- Specified by:
getDeploymentIdin interfaceProcessDefinition
-
setDeploymentId
public void setDeploymentId(String deploymentId)
- Specified by:
setDeploymentIdin interfaceProcessDefinitionEntity
-
getVersion
public int getVersion()
Description copied from interface:ProcessDefinitionversion of this process definition- Specified by:
getVersionin interfaceProcessDefinition
-
setVersion
public void setVersion(int version)
- Specified by:
setVersionin interfaceProcessDefinitionEntity
-
getResourceName
public String getResourceName()
Description copied from interface:ProcessDefinitionname ofthe resourceof this process definition.- Specified by:
getResourceNamein interfaceProcessDefinition
-
setResourceName
public void setResourceName(String resourceName)
- Specified by:
setResourceNamein interfaceProcessDefinitionEntity
-
getTenantId
public String getTenantId()
Description copied from interface:ProcessDefinitionThe tenant identifier of this process definition- Specified by:
getTenantIdin interfaceProcessDefinition
-
setTenantId
public void setTenantId(String tenantId)
- Specified by:
setTenantIdin interfaceProcessDefinitionEntity
-
getHistoryLevel
public Integer getHistoryLevel()
- Specified by:
getHistoryLevelin interfaceProcessDefinitionEntity
-
setHistoryLevel
public void setHistoryLevel(Integer historyLevel)
- Specified by:
setHistoryLevelin interfaceProcessDefinitionEntity
-
getCategory
public String getCategory()
Description copied from interface:ProcessDefinitioncategory name which is derived from the targetNamespace attribute in the definitions element- Specified by:
getCategoryin interfaceProcessDefinition
-
setCategory
public void setCategory(String category)
- Specified by:
setCategoryin interfaceProcessDefinitionEntity
-
getDiagramResourceName
public String getDiagramResourceName()
Description copied from interface:ProcessDefinitionThe resource name in the deployment of the diagram image (if any).- Specified by:
getDiagramResourceNamein interfaceProcessDefinition
-
setDiagramResourceName
public void setDiagramResourceName(String diagramResourceName)
- Specified by:
setDiagramResourceNamein interfaceProcessDefinitionEntity
-
hasStartFormKey
public boolean hasStartFormKey()
Description copied from interface:ProcessDefinitionDoes this process definition has astart form key.- Specified by:
hasStartFormKeyin interfaceProcessDefinition
-
getHasStartFormKey
public boolean getHasStartFormKey()
- Specified by:
getHasStartFormKeyin interfaceProcessDefinitionEntity
-
setStartFormKey
public void setStartFormKey(boolean hasStartFormKey)
- Specified by:
setStartFormKeyin interfaceProcessDefinitionEntity
-
setHasStartFormKey
public void setHasStartFormKey(boolean hasStartFormKey)
- Specified by:
setHasStartFormKeyin interfaceProcessDefinitionEntity
-
isGraphicalNotationDefined
public boolean isGraphicalNotationDefined()
- Specified by:
isGraphicalNotationDefinedin interfaceProcessDefinitionEntity
-
hasGraphicalNotation
public boolean hasGraphicalNotation()
Description copied from interface:ProcessDefinitionDoes this process definition has a graphical notation defined (such that a diagram can be generated)?- Specified by:
hasGraphicalNotationin interfaceProcessDefinition
-
getIsGraphicalNotationDefined
public boolean getIsGraphicalNotationDefined()
-
setIsGraphicalNotationDefined
public void setIsGraphicalNotationDefined(boolean isGraphicalNotationDefined)
-
setGraphicalNotationDefined
public void setGraphicalNotationDefined(boolean isGraphicalNotationDefined)
- Specified by:
setGraphicalNotationDefinedin interfaceProcessDefinitionEntity
-
getSuspensionState
public int getSuspensionState()
- Specified by:
getSuspensionStatein interfaceProcessDefinitionEntity
-
setSuspensionState
public void setSuspensionState(int suspensionState)
- Specified by:
setSuspensionStatein interfaceProcessDefinitionEntity
-
isSuspended
public boolean isSuspended()
Description copied from interface:ProcessDefinitionReturns true if the process definition is in suspended state.- Specified by:
isSuspendedin interfaceProcessDefinition
-
getDerivedFrom
public String getDerivedFrom()
Description copied from interface:ProcessDefinitionThe derived from process definition value when this is a dynamic process definition- Specified by:
getDerivedFromin interfaceProcessDefinition
-
setDerivedFrom
public void setDerivedFrom(String derivedFrom)
- Specified by:
setDerivedFromin interfaceProcessDefinitionEntity
-
getDerivedFromRoot
public String getDerivedFromRoot()
Description copied from interface:ProcessDefinitionThe root derived from process definition value when this is a dynamic process definition- Specified by:
getDerivedFromRootin interfaceProcessDefinition
-
setDerivedFromRoot
public void setDerivedFromRoot(String derivedFromRoot)
- Specified by:
setDerivedFromRootin interfaceProcessDefinitionEntity
-
getDerivedVersion
public int getDerivedVersion()
Description copied from interface:ProcessDefinitionThe derived version of the process definition- Specified by:
getDerivedVersionin interfaceProcessDefinition
-
setDerivedVersion
public void setDerivedVersion(int derivedVersion)
- Specified by:
setDerivedVersionin interfaceProcessDefinitionEntity
-
getEngineVersion
public String getEngineVersion()
Description copied from interface:ProcessDefinitionThe engine version for this process definition (5 or 6)- Specified by:
getEngineVersionin interfaceProcessDefinition- Specified by:
getEngineVersionin interfaceProcessDefinitionEntity
-
setEngineVersion
public void setEngineVersion(String engineVersion)
- Specified by:
setEngineVersionin interfaceProcessDefinitionEntity
-
getIoSpecification
public IOSpecification getIoSpecification()
-
setIoSpecification
public void setIoSpecification(IOSpecification ioSpecification)
-
-