Class TemplateDefinitionEntityImpl
- java.lang.Object
-
- org.flowable.common.engine.impl.persistence.entity.AbstractEntity
-
- com.flowable.template.engine.impl.persistence.entity.AbstractTemplateEngineEntity
-
- com.flowable.template.engine.impl.persistence.entity.TemplateDefinitionEntityImpl
-
- All Implemented Interfaces:
TemplateDefinition,TemplateDefinitionEntity,HasRevision,Entity
public class TemplateDefinitionEntityImpl extends AbstractTemplateEngineEntity implements TemplateDefinitionEntity
- Author:
- Tijs Rademakers
-
-
Field Summary
Fields Modifier and Type Field Description protected DatecreationTimeprotected StringcreatorIdprotected StringdeploymentIdprotected StringformKeyprotected Stringkeyprotected Stringnameprotected StringresourceNameprotected StringsubTypeprotected StringtenantIdprotected Stringtypeprotected DateupdateTimeprotected StringupdatorIdprotected intversion-
Fields inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntity
id, isDeleted, isInserted, isUpdated, originalPersistentState, revision
-
-
Constructor Summary
Constructors Constructor Description TemplateDefinitionEntityImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DategetCreationTime()Returns the creation time of this definition.StringgetCreatorId()Returns the id of the user creating this template definition.StringgetDeploymentId()Returns the deployment id this definition was deployed with.StringgetFormKey()Returns the optional form key for this template definition which might be used to collect information whenever such a template instance is created.StringgetKey()Returns the business key usually used to reference or lookp a template definition regardless of its version.StringgetName()Returns the name of this template definition.ObjectgetPersistentState()StringgetResourceName()Returns the name of the resource this definition is based on.StringgetSubType()Returns the sub type of this template definition which can be freely chosen.StringgetTenantId()Returns the id of the tenant this definition belongs to.StringgetType()Returns the type of this template definition which is used to lookup a renderer or processor being able to render and process this template.DategetUpdateTime()Returns the last update time of this definition.StringgetUpdatorId()Returns the id of the user last updating this template definition.intgetVersion()Return the version of this template definition.voidsetCreationTime(Date creationTime)voidsetCreatorId(String creatorId)voidsetDeploymentId(String deploymentId)voidsetFormKey(String formKey)voidsetKey(String key)voidsetName(String name)voidsetResourceName(String resourceName)voidsetSubType(String subType)voidsetTenantId(String tenantId)voidsetType(String type)voidsetUpdateTime(Date updateTime)voidsetUpdatorId(String updatorId)voidsetVersion(int version)-
Methods inherited from class com.flowable.template.engine.impl.persistence.entity.AbstractTemplateEngineEntity
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, toString, 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.common.engine.impl.db.HasRevision
getRevision, getRevisionNext, setRevision
-
Methods inherited from interface com.flowable.template.api.repository.TemplateDefinition
getId
-
-
-
-
Field Detail
-
key
protected String key
-
version
protected int version
-
deploymentId
protected String deploymentId
-
tenantId
protected String tenantId
-
name
protected String name
-
type
protected String type
-
subType
protected String subType
-
formKey
protected String formKey
-
resourceName
protected String resourceName
-
creationTime
protected Date creationTime
-
creatorId
protected String creatorId
-
updateTime
protected Date updateTime
-
updatorId
protected String updatorId
-
-
Method Detail
-
getPersistentState
public Object getPersistentState()
- Specified by:
getPersistentStatein interfaceEntity
-
getKey
public String getKey()
Description copied from interface:TemplateDefinitionReturns the business key usually used to reference or lookp a template definition regardless of its version.- Specified by:
getKeyin interfaceTemplateDefinition
-
setKey
public void setKey(String key)
- Specified by:
setKeyin interfaceTemplateDefinitionEntity
-
getVersion
public int getVersion()
Description copied from interface:TemplateDefinitionReturn the version of this template definition.- Specified by:
getVersionin interfaceTemplateDefinition
-
setVersion
public void setVersion(int version)
- Specified by:
setVersionin interfaceTemplateDefinitionEntity
-
getDeploymentId
public String getDeploymentId()
Description copied from interface:TemplateDefinitionReturns the deployment id this definition was deployed with.- Specified by:
getDeploymentIdin interfaceTemplateDefinition
-
setDeploymentId
public void setDeploymentId(String deploymentId)
- Specified by:
setDeploymentIdin interfaceTemplateDefinitionEntity
-
getTenantId
public String getTenantId()
Description copied from interface:TemplateDefinitionReturns the id of the tenant this definition belongs to.- Specified by:
getTenantIdin interfaceTemplateDefinition
-
setTenantId
public void setTenantId(String tenantId)
- Specified by:
setTenantIdin interfaceTemplateDefinitionEntity
-
getName
public String getName()
Description copied from interface:TemplateDefinitionReturns the name of this template definition.- Specified by:
getNamein interfaceTemplateDefinition
-
setName
public void setName(String name)
- Specified by:
setNamein interfaceTemplateDefinitionEntity
-
getType
public String getType()
Description copied from interface:TemplateDefinitionReturns the type of this template definition which is used to lookup a renderer or processor being able to render and process this template.- Specified by:
getTypein interfaceTemplateDefinition- See Also:
for a set of predefined template types
-
setType
public void setType(String type)
- Specified by:
setTypein interfaceTemplateDefinitionEntity
-
getSubType
public String getSubType()
Description copied from interface:TemplateDefinitionReturns the sub type of this template definition which can be freely chosen.- Specified by:
getSubTypein interfaceTemplateDefinition
-
setSubType
public void setSubType(String subType)
- Specified by:
setSubTypein interfaceTemplateDefinitionEntity
-
getFormKey
public String getFormKey()
Description copied from interface:TemplateDefinitionReturns the optional form key for this template definition which might be used to collect information whenever such a template instance is created. For instance, this form might ask for necessary categorization information when creating a new document based on a template or request parameter values if a message template should be rendered, etc.- Specified by:
getFormKeyin interfaceTemplateDefinition
-
setFormKey
public void setFormKey(String formKey)
- Specified by:
setFormKeyin interfaceTemplateDefinitionEntity
-
getResourceName
public String getResourceName()
Description copied from interface:TemplateDefinitionReturns the name of the resource this definition is based on.- Specified by:
getResourceNamein interfaceTemplateDefinition
-
setResourceName
public void setResourceName(String resourceName)
- Specified by:
setResourceNamein interfaceTemplateDefinitionEntity
-
getCreationTime
public Date getCreationTime()
Description copied from interface:TemplateDefinitionReturns the creation time of this definition.- Specified by:
getCreationTimein interfaceTemplateDefinition
-
setCreationTime
public void setCreationTime(Date creationTime)
- Specified by:
setCreationTimein interfaceTemplateDefinitionEntity
-
getCreatorId
public String getCreatorId()
Description copied from interface:TemplateDefinitionReturns the id of the user creating this template definition.- Specified by:
getCreatorIdin interfaceTemplateDefinition
-
setCreatorId
public void setCreatorId(String creatorId)
- Specified by:
setCreatorIdin interfaceTemplateDefinitionEntity
-
getUpdateTime
public Date getUpdateTime()
Description copied from interface:TemplateDefinitionReturns the last update time of this definition.- Specified by:
getUpdateTimein interfaceTemplateDefinition
-
setUpdateTime
public void setUpdateTime(Date updateTime)
- Specified by:
setUpdateTimein interfaceTemplateDefinitionEntity
-
getUpdatorId
public String getUpdatorId()
Description copied from interface:TemplateDefinitionReturns the id of the user last updating this template definition.- Specified by:
getUpdatorIdin interfaceTemplateDefinition
-
setUpdatorId
public void setUpdatorId(String updatorId)
- Specified by:
setUpdatorIdin interfaceTemplateDefinitionEntity
-
-