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 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.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 void
addDeployedArtifact(Object deployedArtifact)
void
addResource(DocumentResourceEntity 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.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:
addResource
in interfaceDocumentDeploymentEntity
-
getPersistentState
public Object getPersistentState()
- Specified by:
getPersistentState
in interfaceEntity
-
addDeployedArtifact
public void addDeployedArtifact(Object deployedArtifact)
- Specified by:
addDeployedArtifact
in interfaceDocumentDeploymentEntity
-
getDeployedArtifacts
public <T> List<T> getDeployedArtifacts(Class<T> clazz)
- Specified by:
getDeployedArtifacts
in interfaceDocumentDeploymentEntity
-
getName
public String getName()
- Specified by:
getName
in interfaceDocumentDeployment
- Specified by:
getName
in interfaceEngineDeployment
-
setName
public void setName(String name)
- Specified by:
setName
in interfaceDocumentDeploymentEntity
-
getKey
public String getKey()
- Specified by:
getKey
in interfaceEngineDeployment
-
setKey
public void setKey(String key)
- Specified by:
setKey
in interfaceDocumentDeploymentEntity
-
getResources
public Map<String,EngineResource> getResources()
- Specified by:
getResources
in interfaceEngineDeployment
-
getCategory
public String getCategory()
- Specified by:
getCategory
in interfaceDocumentDeployment
- Specified by:
getCategory
in interfaceEngineDeployment
-
setCategory
public void setCategory(String category)
- Specified by:
setCategory
in interfaceDocumentDeploymentEntity
-
getTenantId
public String getTenantId()
- Specified by:
getTenantId
in interfaceDocumentDeployment
- Specified by:
getTenantId
in interfaceEngineDeployment
-
setTenantId
public void setTenantId(String tenantId)
- Specified by:
setTenantId
in interfaceDocumentDeploymentEntity
-
getParentDeploymentId
public String getParentDeploymentId()
- Specified by:
getParentDeploymentId
in interfaceDocumentDeployment
-
setParentDeploymentId
public void setParentDeploymentId(String parentDeploymentId)
- Specified by:
setParentDeploymentId
in interfaceDocumentDeploymentEntity
-
setResources
public void setResources(Map<String,EngineResource> resources)
- Specified by:
setResources
in interfaceDocumentDeploymentEntity
-
getDeploymentTime
public Date getDeploymentTime()
- Specified by:
getDeploymentTime
in interfaceDocumentDeployment
- Specified by:
getDeploymentTime
in interfaceEngineDeployment
-
setDeploymentTime
public void setDeploymentTime(Date deploymentTime)
- Specified by:
setDeploymentTime
in interfaceDocumentDeploymentEntity
-
isNew
public boolean isNew()
- Specified by:
isNew
in interfaceDocumentDeploymentEntity
- Specified by:
isNew
in interfaceEngineDeployment
-
setNew
public void setNew(boolean isNew)
- Specified by:
setNew
in interfaceDocumentDeploymentEntity
-
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
-
-