Class FormDeploymentEntityImpl
- java.lang.Object
-
- org.flowable.common.engine.impl.persistence.entity.AbstractEntityNoRevision
-
- org.flowable.form.engine.impl.persistence.entity.AbstractFormEngineNoRevisionEntity
-
- org.flowable.form.engine.impl.persistence.entity.FormDeploymentEntityImpl
-
- All Implemented Interfaces:
Serializable,Entity,FormDeployment,FormDeploymentEntity
public class FormDeploymentEntityImpl extends AbstractFormEngineNoRevisionEntity implements FormDeploymentEntity, Serializable
- Author:
- Tijs Rademakers, Joram Barrez
- 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 Stringnameprotected StringparentDeploymentIdprotected Map<String,FormResourceEntity>resourcesprotected StringtenantId-
Fields inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntityNoRevision
id, isDeleted, isInserted, isUpdated, originalPersistentState
-
-
Constructor Summary
Constructors Constructor Description FormDeploymentEntityImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddDeployedArtifact(Object deployedArtifact)voidaddResource(FormResourceEntity resource)StringgetCategory()<T> List<T>getDeployedArtifacts(Class<T> clazz)DategetDeploymentTime()StringgetName()StringgetParentDeploymentId()ObjectgetPersistentState()Map<String,FormResourceEntity>getResources()StringgetTenantId()booleanisNew()voidsetCategory(String category)voidsetDeploymentTime(Date deploymentTime)voidsetName(String name)voidsetNew(boolean isNew)voidsetParentDeploymentId(String parentDeploymentId)voidsetResources(Map<String,FormResourceEntity> resources)voidsetTenantId(String tenantId)StringtoString()-
Methods inherited from class org.flowable.form.engine.impl.persistence.entity.AbstractFormEngineNoRevisionEntity
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 org.flowable.form.api.FormDeployment
getId
-
-
-
-
Field Detail
-
name
protected String name
-
category
protected String category
-
tenantId
protected String tenantId
-
parentDeploymentId
protected String parentDeploymentId
-
resources
protected Map<String,FormResourceEntity> resources
-
deploymentTime
protected Date deploymentTime
-
isNew
protected boolean isNew
-
-
Method Detail
-
addResource
public void addResource(FormResourceEntity resource)
- Specified by:
addResourcein interfaceFormDeploymentEntity
-
getResources
public Map<String,FormResourceEntity> getResources()
- Specified by:
getResourcesin interfaceFormDeploymentEntity
-
getPersistentState
public Object getPersistentState()
- Specified by:
getPersistentStatein interfaceEntity
-
addDeployedArtifact
public void addDeployedArtifact(Object deployedArtifact)
- Specified by:
addDeployedArtifactin interfaceFormDeploymentEntity
-
getDeployedArtifacts
public <T> List<T> getDeployedArtifacts(Class<T> clazz)
- Specified by:
getDeployedArtifactsin interfaceFormDeploymentEntity
-
getName
public String getName()
- Specified by:
getNamein interfaceFormDeployment
-
setName
public void setName(String name)
- Specified by:
setNamein interfaceFormDeploymentEntity
-
getCategory
public String getCategory()
- Specified by:
getCategoryin interfaceFormDeployment
-
setCategory
public void setCategory(String category)
- Specified by:
setCategoryin interfaceFormDeploymentEntity
-
getTenantId
public String getTenantId()
- Specified by:
getTenantIdin interfaceFormDeployment
-
setTenantId
public void setTenantId(String tenantId)
- Specified by:
setTenantIdin interfaceFormDeploymentEntity
-
getParentDeploymentId
public String getParentDeploymentId()
- Specified by:
getParentDeploymentIdin interfaceFormDeployment
-
setParentDeploymentId
public void setParentDeploymentId(String parentDeploymentId)
- Specified by:
setParentDeploymentIdin interfaceFormDeploymentEntity
-
setResources
public void setResources(Map<String,FormResourceEntity> resources)
- Specified by:
setResourcesin interfaceFormDeploymentEntity
-
getDeploymentTime
public Date getDeploymentTime()
- Specified by:
getDeploymentTimein interfaceFormDeployment
-
setDeploymentTime
public void setDeploymentTime(Date deploymentTime)
- Specified by:
setDeploymentTimein interfaceFormDeploymentEntity
-
isNew
public boolean isNew()
- Specified by:
isNewin interfaceFormDeploymentEntity
-
setNew
public void setNew(boolean isNew)
- Specified by:
setNewin interfaceFormDeploymentEntity
-
-