Class CmmnDeploymentEntityImpl
java.lang.Object
org.flowable.common.engine.impl.persistence.entity.AbstractEntityNoRevision
org.flowable.cmmn.engine.impl.persistence.entity.AbstractCmmnEngineNoRevisionEntity
org.flowable.cmmn.engine.impl.persistence.entity.CmmnDeploymentEntityImpl
- All Implemented Interfaces:
Serializable
,CmmnDeployment
,CmmnDeploymentEntity
,EngineDeployment
,Entity
public class CmmnDeploymentEntityImpl
extends AbstractCmmnEngineNoRevisionEntity
implements CmmnDeploymentEntity, Serializable
- Author:
- Tijs Rademakers, Joram Barrez
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Map<String,
CaseDefinitionCacheEntry> protected String
Will only be used during actual deployment to pass deployed artifacts (eg process definitions).protected Date
protected boolean
protected String
protected String
protected String
protected Map<String,
EngineResource> protected String
Fields inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntityNoRevision
id, isDeleted, isInserted, isUpdated, originalPersistentState
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addCaseDefinitionCacheEntry
(String caseDefinitionId, CaseDefinitionCacheEntry caseDefinitionCacheEntry) void
addDeployedArtifact
(Object deployedArtifact) void
addResource
(CmmnResourceEntity resource) getCaseDefinitionCacheEntry
(String caseDefinitionId) <T> List<T>
getDeployedArtifacts
(Class<T> clazz) getKey()
getName()
Returns a representation of the object, as would be stored in the database.boolean
isNew()
void
setCategory
(String category) void
setDeploymentTime
(Date deploymentTime) void
void
void
setNew
(boolean isNew) void
setParentDeploymentId
(String parentDeploymentId) void
setResources
(Map<String, EngineResource> resources) void
setTenantId
(String tenantId) toString()
Methods inherited from class org.flowable.cmmn.engine.impl.persistence.entity.AbstractCmmnEngineNoRevisionEntity
getIdPrefix
Methods inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntityNoRevision
getId, getOriginalPersistentState, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setOriginalPersistentState, 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.api.repository.EngineDeployment
getId
Methods inherited from interface org.flowable.common.engine.impl.persistence.entity.Entity
getId, getIdPrefix, getOriginalPersistentState, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setOriginalPersistentState, setUpdated
-
Field Details
-
name
-
category
-
key
-
tenantId
-
parentDeploymentId
-
resources
-
deploymentTime
-
isNew
protected boolean isNew -
deployedArtifacts
Will only be used during actual deployment to pass deployed artifacts (eg process definitions). Will be null otherwise. -
caseDefinitionCache
-
-
Constructor Details
-
CmmnDeploymentEntityImpl
public CmmnDeploymentEntityImpl()
-
-
Method Details
-
addResource
- Specified by:
addResource
in interfaceCmmnDeploymentEntity
-
getResources
- Specified by:
getResources
in interfaceEngineDeployment
-
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
-
addDeployedArtifact
- Specified by:
addDeployedArtifact
in interfaceCmmnDeploymentEntity
-
getDeployedArtifacts
- Specified by:
getDeployedArtifacts
in interfaceCmmnDeploymentEntity
-
addCaseDefinitionCacheEntry
public void addCaseDefinitionCacheEntry(String caseDefinitionId, CaseDefinitionCacheEntry caseDefinitionCacheEntry) - Specified by:
addCaseDefinitionCacheEntry
in interfaceCmmnDeploymentEntity
-
getCaseDefinitionCacheEntry
- Specified by:
getCaseDefinitionCacheEntry
in interfaceCmmnDeploymentEntity
-
getName
- Specified by:
getName
in interfaceEngineDeployment
-
setName
- Specified by:
setName
in interfaceCmmnDeploymentEntity
-
getCategory
- Specified by:
getCategory
in interfaceEngineDeployment
-
setCategory
- Specified by:
setCategory
in interfaceCmmnDeploymentEntity
-
getKey
- Specified by:
getKey
in interfaceEngineDeployment
-
setKey
- Specified by:
setKey
in interfaceCmmnDeploymentEntity
-
getTenantId
- Specified by:
getTenantId
in interfaceEngineDeployment
-
setTenantId
- Specified by:
setTenantId
in interfaceCmmnDeploymentEntity
-
getParentDeploymentId
- Specified by:
getParentDeploymentId
in interfaceCmmnDeployment
-
setParentDeploymentId
- Specified by:
setParentDeploymentId
in interfaceCmmnDeploymentEntity
-
setResources
- Specified by:
setResources
in interfaceCmmnDeploymentEntity
-
getDeploymentTime
- Specified by:
getDeploymentTime
in interfaceEngineDeployment
-
setDeploymentTime
- Specified by:
setDeploymentTime
in interfaceCmmnDeploymentEntity
-
isNew
public boolean isNew()- Specified by:
isNew
in interfaceCmmnDeploymentEntity
- Specified by:
isNew
in interfaceEngineDeployment
-
setNew
public void setNew(boolean isNew) - Specified by:
setNew
in interfaceCmmnDeploymentEntity
-
getDerivedFrom
- Specified by:
getDerivedFrom
in interfaceEngineDeployment
-
getDerivedFromRoot
- Specified by:
getDerivedFromRoot
in interfaceEngineDeployment
-
getEngineVersion
- Specified by:
getEngineVersion
in interfaceEngineDeployment
-
toString
-