Class TemplateDeploymentEntityImpl
java.lang.Object
org.flowable.common.engine.impl.persistence.entity.AbstractEntityNoRevision
com.flowable.template.engine.impl.persistence.entity.AbstractTemplateEngineNoRevisionEntity
com.flowable.template.engine.impl.persistence.entity.TemplateDeploymentEntityImpl
- All Implemented Interfaces:
TemplateDeployment,TemplateDeploymentEntity,Serializable,EngineDeployment,Entity
public class TemplateDeploymentEntityImpl
extends AbstractTemplateEngineNoRevisionEntity
implements TemplateDeploymentEntity, Serializable
- Author:
- Tijs Rademakers
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected StringWill only be used during actual deployment to pass deployed artifacts (eg form definitions).protected Dateprotected booleanprotected Stringprotected Stringprotected Stringprotected Map<String,EngineResource> protected Map<String,TemplateDefinitionCacheEntry> protected Map<String,TemplateVariationDefinitionCacheEntry> protected StringFields inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntityNoRevision
id, isDeleted, isInserted, isUpdated, originalPersistentState -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddDeployedArtifact(Object deployedArtifact) voidaddResource(TemplateResourceEntity resource) voidaddTemplateDefinitionCacheEntry(String templateDefinitionId, TemplateDefinitionCacheEntry templateDefinitionCacheEntry) voidaddTemplateVariationDefinitionCacheEntry(String templateVariationDefinitionId, TemplateVariationDefinitionCacheEntry templateVariationDefinitionCacheEntry) <T> List<T>getDeployedArtifacts(Class<T> clazz) getKey()getName()getTemplateDefinitionCacheEntry(String templateDefinitionId) getTemplateVariationDefinitionCacheEntry(String templateVariationDefinitionId) booleanisNew()voidsetCategory(String category) voidsetDeploymentTime(Date deploymentTime) voidvoidvoidsetNew(boolean isNew) voidsetParentDeploymentId(String parentDeploymentId) voidsetResources(Map<String, EngineResource> resources) voidsetTenantId(String tenantId) toString()Methods inherited from class com.flowable.template.engine.impl.persistence.entity.AbstractTemplateEngineNoRevisionEntity
getIdPrefixMethods inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntityNoRevision
getId, getOriginalPersistentState, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setOriginalPersistentState, 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 com.flowable.template.api.repository.TemplateDeployment
getId
-
Field Details
-
name
-
key
-
category
-
tenantId
-
parentDeploymentId
-
resources
-
deploymentTime
-
isNew
protected boolean isNew -
deployedArtifacts
Will only be used during actual deployment to pass deployed artifacts (eg form definitions). Will be null otherwise. -
templateDefinitionCache
-
templateVariationDefinitionCache
-
-
Constructor Details
-
TemplateDeploymentEntityImpl
public TemplateDeploymentEntityImpl()
-
-
Method Details
-
addResource
- Specified by:
addResourcein interfaceTemplateDeploymentEntity
-
getPersistentState
- Specified by:
getPersistentStatein interfaceEntity
-
addDeployedArtifact
- Specified by:
addDeployedArtifactin interfaceTemplateDeploymentEntity
-
getDeployedArtifacts
- Specified by:
getDeployedArtifactsin interfaceTemplateDeploymentEntity
-
addTemplateDefinitionCacheEntry
public void addTemplateDefinitionCacheEntry(String templateDefinitionId, TemplateDefinitionCacheEntry templateDefinitionCacheEntry) - Specified by:
addTemplateDefinitionCacheEntryin interfaceTemplateDeploymentEntity
-
getTemplateDefinitionCacheEntry
- Specified by:
getTemplateDefinitionCacheEntryin interfaceTemplateDeploymentEntity
-
addTemplateVariationDefinitionCacheEntry
public void addTemplateVariationDefinitionCacheEntry(String templateVariationDefinitionId, TemplateVariationDefinitionCacheEntry templateVariationDefinitionCacheEntry) - Specified by:
addTemplateVariationDefinitionCacheEntryin interfaceTemplateDeploymentEntity
-
getTemplateVariationDefinitionCacheEntry
public TemplateVariationDefinitionCacheEntry getTemplateVariationDefinitionCacheEntry(String templateVariationDefinitionId) - Specified by:
getTemplateVariationDefinitionCacheEntryin interfaceTemplateDeploymentEntity
-
getName
- Specified by:
getNamein interfaceEngineDeployment- Specified by:
getNamein interfaceTemplateDeployment
-
setName
- Specified by:
setNamein interfaceTemplateDeploymentEntity
-
getKey
- Specified by:
getKeyin interfaceEngineDeployment
-
setKey
- Specified by:
setKeyin interfaceTemplateDeploymentEntity
-
getResources
- Specified by:
getResourcesin interfaceEngineDeployment
-
getCategory
- Specified by:
getCategoryin interfaceEngineDeployment- Specified by:
getCategoryin interfaceTemplateDeployment
-
setCategory
- Specified by:
setCategoryin interfaceTemplateDeploymentEntity
-
getTenantId
- Specified by:
getTenantIdin interfaceEngineDeployment- Specified by:
getTenantIdin interfaceTemplateDeployment
-
setTenantId
- Specified by:
setTenantIdin interfaceTemplateDeploymentEntity
-
getParentDeploymentId
- Specified by:
getParentDeploymentIdin interfaceTemplateDeployment
-
setParentDeploymentId
- Specified by:
setParentDeploymentIdin interfaceTemplateDeploymentEntity
-
setResources
- Specified by:
setResourcesin interfaceTemplateDeploymentEntity
-
getDeploymentTime
- Specified by:
getDeploymentTimein interfaceEngineDeployment- Specified by:
getDeploymentTimein interfaceTemplateDeployment
-
setDeploymentTime
- Specified by:
setDeploymentTimein interfaceTemplateDeploymentEntity
-
isNew
public boolean isNew()- Specified by:
isNewin interfaceEngineDeployment- Specified by:
isNewin interfaceTemplateDeploymentEntity
-
setNew
public void setNew(boolean isNew) - Specified by:
setNewin interfaceTemplateDeploymentEntity
-
getDerivedFrom
- Specified by:
getDerivedFromin interfaceEngineDeployment
-
getDerivedFromRoot
- Specified by:
getDerivedFromRootin interfaceEngineDeployment
-
getEngineVersion
- Specified by:
getEngineVersionin interfaceEngineDeployment
-
toString
-