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:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected Stringcategoryprotected Map<Class<?>,List<Object>>deployedArtifactsWill only be used during actual deployment to pass deployed artifacts (eg form definitions).protected DatedeploymentTimeprotected booleanisNewprotected Stringkeyprotected Stringnameprotected StringparentDeploymentIdprotected Map<String,EngineResource>resourcesprotected StringtenantId-
Fields inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntityNoRevision
id, isDeleted, isInserted, isUpdated, originalPersistentState
-
-
Constructor Summary
Constructors Constructor Description TemplateDeploymentEntityImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddDeployedArtifact(Object deployedArtifact)voidaddResource(TemplateResourceEntity resource)StringgetCategory()<T> List<T>getDeployedArtifacts(Class<T> clazz)DategetDeploymentTime()StringgetDerivedFrom()StringgetDerivedFromRoot()StringgetEngineVersion()StringgetKey()StringgetName()StringgetParentDeploymentId()ObjectgetPersistentState()Map<String,EngineResource>getResources()StringgetTenantId()booleanisNew()voidsetCategory(String category)voidsetDeploymentTime(Date deploymentTime)voidsetKey(String key)voidsetName(String name)voidsetNew(boolean isNew)voidsetParentDeploymentId(String parentDeploymentId)voidsetResources(Map<String,EngineResource> resources)voidsetTenantId(String tenantId)StringtoString()-
Methods inherited from class com.flowable.template.engine.impl.persistence.entity.AbstractTemplateEngineNoRevisionEntity
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.impl.persistence.entity.Entity
getId, getIdPrefix, getOriginalPersistentState, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setOriginalPersistentState, setUpdated
-
Methods inherited from interface com.flowable.template.api.repository.TemplateDeployment
getId
-
-
-
-
Field Detail
-
name
protected String name
-
key
protected String key
-
category
protected String category
-
tenantId
protected String tenantId
-
parentDeploymentId
protected String parentDeploymentId
-
resources
protected Map<String,EngineResource> resources
-
deploymentTime
protected Date deploymentTime
-
isNew
protected boolean isNew
-
-
Method Detail
-
addResource
public void addResource(TemplateResourceEntity resource)
- Specified by:
addResourcein interfaceTemplateDeploymentEntity
-
getPersistentState
public Object getPersistentState()
- Specified by:
getPersistentStatein interfaceEntity
-
addDeployedArtifact
public void addDeployedArtifact(Object deployedArtifact)
- Specified by:
addDeployedArtifactin interfaceTemplateDeploymentEntity
-
getDeployedArtifacts
public <T> List<T> getDeployedArtifacts(Class<T> clazz)
- Specified by:
getDeployedArtifactsin interfaceTemplateDeploymentEntity
-
getName
public String getName()
- Specified by:
getNamein interfaceEngineDeployment- Specified by:
getNamein interfaceTemplateDeployment
-
setName
public void setName(String name)
- Specified by:
setNamein interfaceTemplateDeploymentEntity
-
getKey
public String getKey()
- Specified by:
getKeyin interfaceEngineDeployment
-
setKey
public void setKey(String key)
- Specified by:
setKeyin interfaceTemplateDeploymentEntity
-
getResources
public Map<String,EngineResource> getResources()
- Specified by:
getResourcesin interfaceEngineDeployment
-
getCategory
public String getCategory()
- Specified by:
getCategoryin interfaceEngineDeployment- Specified by:
getCategoryin interfaceTemplateDeployment
-
setCategory
public void setCategory(String category)
- Specified by:
setCategoryin interfaceTemplateDeploymentEntity
-
getTenantId
public String getTenantId()
- Specified by:
getTenantIdin interfaceEngineDeployment- Specified by:
getTenantIdin interfaceTemplateDeployment
-
setTenantId
public void setTenantId(String tenantId)
- Specified by:
setTenantIdin interfaceTemplateDeploymentEntity
-
getParentDeploymentId
public String getParentDeploymentId()
- Specified by:
getParentDeploymentIdin interfaceTemplateDeployment
-
setParentDeploymentId
public void setParentDeploymentId(String parentDeploymentId)
- Specified by:
setParentDeploymentIdin interfaceTemplateDeploymentEntity
-
setResources
public void setResources(Map<String,EngineResource> resources)
- Specified by:
setResourcesin interfaceTemplateDeploymentEntity
-
getDeploymentTime
public Date getDeploymentTime()
- Specified by:
getDeploymentTimein interfaceEngineDeployment- Specified by:
getDeploymentTimein interfaceTemplateDeployment
-
setDeploymentTime
public void setDeploymentTime(Date deploymentTime)
- 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
public String getDerivedFrom()
- Specified by:
getDerivedFromin interfaceEngineDeployment
-
getDerivedFromRoot
public String getDerivedFromRoot()
- Specified by:
getDerivedFromRootin interfaceEngineDeployment
-
getEngineVersion
public String getEngineVersion()
- Specified by:
getEngineVersionin interfaceEngineDeployment
-
-