Class DocumentDeploymentEntityImpl
- java.lang.Object
-
- org.flowable.common.engine.impl.persistence.entity.AbstractEntity
-
- com.flowable.content.engine.impl.persistence.entity.AbstractContentEngineEntity
-
- com.flowable.content.engine.impl.persistence.entity.DocumentDeploymentEntityImpl
-
- All Implemented Interfaces:
DocumentDeploymentEntity,DocumentDeployment,Serializable,EngineDeployment,HasRevision,Entity
public class DocumentDeploymentEntityImpl extends AbstractContentEngineEntity implements DocumentDeploymentEntity, 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.AbstractEntity
id, isDeleted, isInserted, isUpdated, originalPersistentState, revision
-
-
Constructor Summary
Constructors Constructor Description DocumentDeploymentEntityImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddDeployedArtifact(Object deployedArtifact)voidaddResource(DocumentResourceEntity 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.content.engine.impl.persistence.entity.AbstractContentEngineEntity
getIdPrefix
-
Methods inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntity
getId, getOriginalPersistentState, getRevision, getRevisionNext, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setOriginalPersistentState, setRevision, setUpdated
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.flowable.core.content.api.DocumentDeployment
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 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(DocumentResourceEntity resource)
- Specified by:
addResourcein interfaceDocumentDeploymentEntity
-
getPersistentState
public Object getPersistentState()
- Specified by:
getPersistentStatein interfaceEntity
-
addDeployedArtifact
public void addDeployedArtifact(Object deployedArtifact)
- Specified by:
addDeployedArtifactin interfaceDocumentDeploymentEntity
-
getDeployedArtifacts
public <T> List<T> getDeployedArtifacts(Class<T> clazz)
- Specified by:
getDeployedArtifactsin interfaceDocumentDeploymentEntity
-
getName
public String getName()
- Specified by:
getNamein interfaceDocumentDeployment- Specified by:
getNamein interfaceEngineDeployment
-
setName
public void setName(String name)
- Specified by:
setNamein interfaceDocumentDeploymentEntity
-
getKey
public String getKey()
- Specified by:
getKeyin interfaceEngineDeployment
-
setKey
public void setKey(String key)
- Specified by:
setKeyin interfaceDocumentDeploymentEntity
-
getResources
public Map<String,EngineResource> getResources()
- Specified by:
getResourcesin interfaceEngineDeployment
-
getCategory
public String getCategory()
- Specified by:
getCategoryin interfaceDocumentDeployment- Specified by:
getCategoryin interfaceEngineDeployment
-
setCategory
public void setCategory(String category)
- Specified by:
setCategoryin interfaceDocumentDeploymentEntity
-
getTenantId
public String getTenantId()
- Specified by:
getTenantIdin interfaceDocumentDeployment- Specified by:
getTenantIdin interfaceEngineDeployment
-
setTenantId
public void setTenantId(String tenantId)
- Specified by:
setTenantIdin interfaceDocumentDeploymentEntity
-
getParentDeploymentId
public String getParentDeploymentId()
- Specified by:
getParentDeploymentIdin interfaceDocumentDeployment
-
setParentDeploymentId
public void setParentDeploymentId(String parentDeploymentId)
- Specified by:
setParentDeploymentIdin interfaceDocumentDeploymentEntity
-
setResources
public void setResources(Map<String,EngineResource> resources)
- Specified by:
setResourcesin interfaceDocumentDeploymentEntity
-
getDeploymentTime
public Date getDeploymentTime()
- Specified by:
getDeploymentTimein interfaceDocumentDeployment- Specified by:
getDeploymentTimein interfaceEngineDeployment
-
setDeploymentTime
public void setDeploymentTime(Date deploymentTime)
- Specified by:
setDeploymentTimein interfaceDocumentDeploymentEntity
-
isNew
public boolean isNew()
- Specified by:
isNewin interfaceDocumentDeploymentEntity- Specified by:
isNewin interfaceEngineDeployment
-
setNew
public void setNew(boolean isNew)
- Specified by:
setNewin interfaceDocumentDeploymentEntity
-
getDerivedFrom
public String getDerivedFrom()
- Specified by:
getDerivedFromin interfaceEngineDeployment
-
getDerivedFromRoot
public String getDerivedFromRoot()
- Specified by:
getDerivedFromRootin interfaceEngineDeployment
-
getEngineVersion
public String getEngineVersion()
- Specified by:
getEngineVersionin interfaceEngineDeployment
-
-