Class DmnDeploymentEntityImpl
java.lang.Object
org.flowable.common.engine.impl.persistence.entity.AbstractEntityNoRevision
org.flowable.dmn.engine.impl.persistence.entity.AbstractDmnEngineNoRevisionEntity
org.flowable.dmn.engine.impl.persistence.entity.DmnDeploymentEntityImpl
- All Implemented Interfaces:
Serializable
,EngineDeployment
,Entity
,DmnDeployment
,DmnDeploymentEntity
public class DmnDeploymentEntityImpl
extends AbstractDmnEngineNoRevisionEntity
implements DmnDeploymentEntity, Serializable
- Author:
- Tijs Rademakers, Joram Barrez
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected String
protected Map<String,
DecisionCacheEntry> Will only be used during actual deployment to pass deployed artifacts (eg decision tables).protected Date
protected boolean
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
addDecisionCacheEntry
(String decisionDefinitionId, DecisionCacheEntry decisionCacheEntry) void
addDeployedArtifact
(Object deployedArtifact) void
addResource
(DmnResourceEntity resource) getDecisionCacheEntry
(String decisionDefinitionId) <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
setNew
(boolean isNew) void
setParentDeploymentId
(String parentDeploymentId) void
setResources
(Map<String, EngineResource> resources) void
setTenantId
(String tenantId) toString()
Methods inherited from class org.flowable.dmn.engine.impl.persistence.entity.AbstractDmnEngineNoRevisionEntity
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.dmn.api.DmnDeployment
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
-
tenantId
-
parentDeploymentId
-
resources
-
deploymentTime
-
isNew
protected boolean isNew -
deployedArtifacts
Will only be used during actual deployment to pass deployed artifacts (eg decision tables). Will be null otherwise. -
decisionDefinitionCache
-
-
Constructor Details
-
DmnDeploymentEntityImpl
public DmnDeploymentEntityImpl()
-
-
Method Details
-
addResource
- Specified by:
addResource
in interfaceDmnDeploymentEntity
-
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 interfaceDmnDeploymentEntity
-
getDeployedArtifacts
- Specified by:
getDeployedArtifacts
in interfaceDmnDeploymentEntity
-
addDecisionCacheEntry
public void addDecisionCacheEntry(String decisionDefinitionId, DecisionCacheEntry decisionCacheEntry) - Specified by:
addDecisionCacheEntry
in interfaceDmnDeploymentEntity
-
getDecisionCacheEntry
- Specified by:
getDecisionCacheEntry
in interfaceDmnDeploymentEntity
-
getName
- Specified by:
getName
in interfaceDmnDeployment
- Specified by:
getName
in interfaceEngineDeployment
-
setName
- Specified by:
setName
in interfaceDmnDeploymentEntity
-
getCategory
- Specified by:
getCategory
in interfaceDmnDeployment
- Specified by:
getCategory
in interfaceEngineDeployment
-
setCategory
- Specified by:
setCategory
in interfaceDmnDeploymentEntity
-
getTenantId
- Specified by:
getTenantId
in interfaceDmnDeployment
- Specified by:
getTenantId
in interfaceEngineDeployment
-
setTenantId
- Specified by:
setTenantId
in interfaceDmnDeploymentEntity
-
getParentDeploymentId
- Specified by:
getParentDeploymentId
in interfaceDmnDeployment
-
setParentDeploymentId
- Specified by:
setParentDeploymentId
in interfaceDmnDeploymentEntity
-
setResources
- Specified by:
setResources
in interfaceDmnDeploymentEntity
-
getDeploymentTime
- Specified by:
getDeploymentTime
in interfaceDmnDeployment
- Specified by:
getDeploymentTime
in interfaceEngineDeployment
-
setDeploymentTime
- Specified by:
setDeploymentTime
in interfaceDmnDeploymentEntity
-
isNew
public boolean isNew()- Specified by:
isNew
in interfaceDmnDeploymentEntity
- Specified by:
isNew
in interfaceEngineDeployment
-
setNew
public void setNew(boolean isNew) - Specified by:
setNew
in interfaceDmnDeploymentEntity
-
getKey
- Specified by:
getKey
in interfaceEngineDeployment
-
getDerivedFrom
- Specified by:
getDerivedFrom
in interfaceEngineDeployment
-
getDerivedFromRoot
- Specified by:
getDerivedFromRoot
in interfaceEngineDeployment
-
getEngineVersion
- Specified by:
getEngineVersion
in interfaceEngineDeployment
-
toString
-