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 String
category
protected Map<Class<?>,List<Object>>
deployedArtifacts
Will only be used during actual deployment to pass deployed artifacts (eg form definitions).protected Date
deploymentTime
protected boolean
isNew
protected String
key
protected String
name
protected String
parentDeploymentId
protected Map<String,EngineResource>
resources
protected String
tenantId
-
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 void
addDeployedArtifact(Object deployedArtifact)
void
addResource(TemplateResourceEntity resource)
String
getCategory()
<T> List<T>
getDeployedArtifacts(Class<T> clazz)
Date
getDeploymentTime()
String
getDerivedFrom()
String
getDerivedFromRoot()
String
getEngineVersion()
String
getKey()
String
getName()
String
getParentDeploymentId()
Object
getPersistentState()
Map<String,EngineResource>
getResources()
String
getTenantId()
boolean
isNew()
void
setCategory(String category)
void
setDeploymentTime(Date deploymentTime)
void
setKey(String key)
void
setName(String name)
void
setNew(boolean isNew)
void
setParentDeploymentId(String parentDeploymentId)
void
setResources(Map<String,EngineResource> resources)
void
setTenantId(String tenantId)
String
toString()
-
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:
addResource
in interfaceTemplateDeploymentEntity
-
getPersistentState
public Object getPersistentState()
- Specified by:
getPersistentState
in interfaceEntity
-
addDeployedArtifact
public void addDeployedArtifact(Object deployedArtifact)
- Specified by:
addDeployedArtifact
in interfaceTemplateDeploymentEntity
-
getDeployedArtifacts
public <T> List<T> getDeployedArtifacts(Class<T> clazz)
- Specified by:
getDeployedArtifacts
in interfaceTemplateDeploymentEntity
-
getName
public String getName()
- Specified by:
getName
in interfaceEngineDeployment
- Specified by:
getName
in interfaceTemplateDeployment
-
setName
public void setName(String name)
- Specified by:
setName
in interfaceTemplateDeploymentEntity
-
getKey
public String getKey()
- Specified by:
getKey
in interfaceEngineDeployment
-
setKey
public void setKey(String key)
- Specified by:
setKey
in interfaceTemplateDeploymentEntity
-
getResources
public Map<String,EngineResource> getResources()
- Specified by:
getResources
in interfaceEngineDeployment
-
getCategory
public String getCategory()
- Specified by:
getCategory
in interfaceEngineDeployment
- Specified by:
getCategory
in interfaceTemplateDeployment
-
setCategory
public void setCategory(String category)
- Specified by:
setCategory
in interfaceTemplateDeploymentEntity
-
getTenantId
public String getTenantId()
- Specified by:
getTenantId
in interfaceEngineDeployment
- Specified by:
getTenantId
in interfaceTemplateDeployment
-
setTenantId
public void setTenantId(String tenantId)
- Specified by:
setTenantId
in interfaceTemplateDeploymentEntity
-
getParentDeploymentId
public String getParentDeploymentId()
- Specified by:
getParentDeploymentId
in interfaceTemplateDeployment
-
setParentDeploymentId
public void setParentDeploymentId(String parentDeploymentId)
- Specified by:
setParentDeploymentId
in interfaceTemplateDeploymentEntity
-
setResources
public void setResources(Map<String,EngineResource> resources)
- Specified by:
setResources
in interfaceTemplateDeploymentEntity
-
getDeploymentTime
public Date getDeploymentTime()
- Specified by:
getDeploymentTime
in interfaceEngineDeployment
- Specified by:
getDeploymentTime
in interfaceTemplateDeployment
-
setDeploymentTime
public void setDeploymentTime(Date deploymentTime)
- Specified by:
setDeploymentTime
in interfaceTemplateDeploymentEntity
-
isNew
public boolean isNew()
- Specified by:
isNew
in interfaceEngineDeployment
- Specified by:
isNew
in interfaceTemplateDeploymentEntity
-
setNew
public void setNew(boolean isNew)
- Specified by:
setNew
in interfaceTemplateDeploymentEntity
-
getDerivedFrom
public String getDerivedFrom()
- Specified by:
getDerivedFrom
in interfaceEngineDeployment
-
getDerivedFromRoot
public String getDerivedFromRoot()
- Specified by:
getDerivedFromRoot
in interfaceEngineDeployment
-
getEngineVersion
public String getEngineVersion()
- Specified by:
getEngineVersion
in interfaceEngineDeployment
-
-