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 Stringprotected List<IdentityLinkEntity>protected Stringprotected Stringprotected Stringprotected intprotected Stringprotected Stringprotected Stringprotected booleanprotected Integerprotected IOSpecificationprotected booleanprotected booleanprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected intprotected Stringprotected intFields 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 definitionintThe 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)booleanbooleangetKey()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 resourceof this process definition.intThe tenant identifier of this process definitionintversion of this process definitionbooleanDoes this process definition has a graphical notation defined (such that a diagram can be generated)?booleanDoes this process definition has astart form key.booleanbooleanReturns 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) voidvoidsetLocalizedDescription(String localizedDescription) voidsetLocalizedName(String localizedName) voidvoidsetResourceName(String resourceName) voidsetStartFormKey(boolean hasStartFormKey) voidsetSuspensionState(int suspensionState) voidsetTenantId(String tenantId) voidsetVariables(Map<String, Object> variables) voidsetVersion(int version) toString()Methods inherited from class org.flowable.engine.impl.persistence.entity.AbstractBpmnEngineEntity
getIdPrefixMethods inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntity
getId, getOriginalPersistentState, getRevision, getRevisionNext, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setOriginalPersistentState, setRevision, setUpdatedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.flowable.common.engine.impl.persistence.entity.Entity
getId, getIdPrefix, getOriginalPersistentState, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setOriginalPersistentState, setUpdatedMethods inherited from interface org.flowable.common.engine.impl.db.HasRevision
getRevision, getRevisionNext, setRevisionMethods 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:EntityReturns 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:
getPersistentStatein interfaceEntity
-
getIdentityLinks
- Specified by:
getIdentityLinksin interfaceProcessDefinitionEntity
-
getKey
Description copied from interface:ProcessDefinitionunique name for all versions this process definitions- Specified by:
getKeyin interfaceProcessDefinition
-
setKey
- Specified by:
setKeyin interfaceProcessDefinitionEntity
-
getName
Description copied from interface:ProcessDefinitionlabel used for display purposes- Specified by:
getNamein interfaceProcessDefinition
-
setName
- Specified by:
setNamein interfaceProcessDefinitionEntity
-
getLocalizedName
-
setLocalizedName
- Specified by:
setLocalizedNamein interfaceProcessDefinitionEntity
-
setDescription
- Specified by:
setDescriptionin interfaceProcessDefinitionEntity
-
getDescription
Description copied from interface:ProcessDefinitiondescription of this process- Specified by:
getDescriptionin interfaceProcessDefinition
-
getLocalizedDescription
-
setLocalizedDescription
- Specified by:
setLocalizedDescriptionin interfaceProcessDefinitionEntity
-
getDeploymentId
Description copied from interface:ProcessDefinitionThe deployment in which this process definition is contained.- Specified by:
getDeploymentIdin interfaceProcessDefinition
-
setDeploymentId
- 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
Description copied from interface:ProcessDefinitionname ofthe resourceof this process definition.- Specified by:
getResourceNamein interfaceProcessDefinition
-
setResourceName
- Specified by:
setResourceNamein interfaceProcessDefinitionEntity
-
getTenantId
Description copied from interface:ProcessDefinitionThe tenant identifier of this process definition- Specified by:
getTenantIdin interfaceProcessDefinition
-
setTenantId
- Specified by:
setTenantIdin interfaceProcessDefinitionEntity
-
getHistoryLevel
- Specified by:
getHistoryLevelin interfaceProcessDefinitionEntity
-
setHistoryLevel
- Specified by:
setHistoryLevelin interfaceProcessDefinitionEntity
-
getVariables
-
setVariables
-
getCategory
Description copied from interface:ProcessDefinitioncategory name which is derived from the targetNamespace attribute in the definitions element- Specified by:
getCategoryin interfaceProcessDefinition
-
setCategory
- Specified by:
setCategoryin interfaceProcessDefinitionEntity
-
getDiagramResourceName
Description copied from interface:ProcessDefinitionThe resource name in the deployment of the diagram image (if any).- Specified by:
getDiagramResourceNamein interfaceProcessDefinition
-
setDiagramResourceName
- 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
Description copied from interface:ProcessDefinitionThe derived from process definition value when this is a dynamic process definition- Specified by:
getDerivedFromin interfaceProcessDefinition
-
setDerivedFrom
- Specified by:
setDerivedFromin interfaceProcessDefinitionEntity
-
getDerivedFromRoot
Description copied from interface:ProcessDefinitionThe root derived from process definition value when this is a dynamic process definition- Specified by:
getDerivedFromRootin interfaceProcessDefinition
-
setDerivedFromRoot
- 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
Description copied from interface:ProcessDefinitionThe engine version for this process definition (5 or 6)- Specified by:
getEngineVersionin interfaceProcessDefinition- Specified by:
getEngineVersionin interfaceProcessDefinitionEntity
-
setEngineVersion
- Specified by:
setEngineVersionin interfaceProcessDefinitionEntity
-
getIoSpecification
-
setIoSpecification
-
toString
-