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,org.flowable.common.engine.impl.db.HasRevision,org.flowable.common.engine.impl.persistence.entity.Entity
public class TemplateDefinitionEntityImpl extends AbstractTemplateEngineEntity implements TemplateDefinitionEntity
- Author:
- Tijs Rademakers
-
Field Summary
Fields Modifier and Type Field Description protected java.util.DatecreationTimeprotected java.lang.StringcreatorIdprotected java.lang.StringdeploymentIdprotected java.lang.StringformKeyprotected java.lang.Stringkeyprotected java.lang.Stringnameprotected java.lang.StringresourceNameprotected java.lang.StringsubTypeprotected java.lang.StringtenantIdprotected java.lang.Stringtypeprotected java.util.DateupdateTimeprotected java.lang.StringupdatorId -
Constructor Summary
Constructors Constructor Description TemplateDefinitionEntityImpl() -
Method Summary
Modifier and Type Method Description java.util.DategetCreationTime()Returns the creation time of this definition.java.lang.StringgetCreatorId()Returns the id of the user creating this template definition.java.lang.StringgetDeploymentId()Returns the deployment id this definition was deployed with.java.lang.StringgetFormKey()Returns the optional form key for this template definition which might be used to collect information whenever such a template instance is created.java.lang.StringgetKey()Returns the business key usually used to reference or lookp a template definition regardless of its version.java.lang.StringgetName()Returns the name of this template definition.java.lang.ObjectgetPersistentState()java.lang.StringgetResourceName()Returns the name of the resource this definition is based on.java.lang.StringgetSubType()Returns the sub type of this template definition which can be freely chosen.java.lang.StringgetTenantId()Returns the id of the tenant this definition belongs to.java.lang.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.java.util.DategetUpdateTime()Returns the last update time of this definition.java.lang.StringgetUpdatorId()Returns the id of the user last updating this template definition.voidsetCreationTime(java.util.Date creationTime)voidsetCreatorId(java.lang.String creatorId)voidsetDeploymentId(java.lang.String deploymentId)voidsetFormKey(java.lang.String formKey)voidsetKey(java.lang.String key)voidsetName(java.lang.String name)voidsetResourceName(java.lang.String resourceName)voidsetSubType(java.lang.String subType)voidsetTenantId(java.lang.String tenantId)voidsetType(java.lang.String type)voidsetUpdateTime(java.util.Date updateTime)voidsetUpdatorId(java.lang.String updatorId)Methods inherited from class com.flowable.template.engine.impl.persistence.entity.AbstractTemplateEngineEntity
getIdPrefixMethods inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntity
getId, getOriginalPersistentState, getRevision, getRevisionNext, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setOriginalPersistentState, setRevision, setUpdatedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.flowable.common.engine.impl.persistence.entity.Entity
getId, getIdPrefix, getOriginalPersistentState, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setOriginalPersistentState, setUpdated
-
Field Details
-
key
protected java.lang.String key -
deploymentId
protected java.lang.String deploymentId -
tenantId
protected java.lang.String tenantId -
name
protected java.lang.String name -
type
protected java.lang.String type -
subType
protected java.lang.String subType -
formKey
protected java.lang.String formKey -
resourceName
protected java.lang.String resourceName -
creationTime
protected java.util.Date creationTime -
creatorId
protected java.lang.String creatorId -
updateTime
protected java.util.Date updateTime -
updatorId
protected java.lang.String updatorId
-
-
Constructor Details
-
TemplateDefinitionEntityImpl
public TemplateDefinitionEntityImpl()
-
-
Method Details
-
getKey
public java.lang.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(java.lang.String key)- Specified by:
setKeyin interfaceTemplateDefinitionEntity
-
getDeploymentId
public java.lang.String getDeploymentId()Description copied from interface:TemplateDefinitionReturns the deployment id this definition was deployed with.- Specified by:
getDeploymentIdin interfaceTemplateDefinition
-
setDeploymentId
public void setDeploymentId(java.lang.String deploymentId)- Specified by:
setDeploymentIdin interfaceTemplateDefinitionEntity
-
getTenantId
public java.lang.String getTenantId()Description copied from interface:TemplateDefinitionReturns the id of the tenant this definition belongs to.- Specified by:
getTenantIdin interfaceTemplateDefinition
-
setTenantId
public void setTenantId(java.lang.String tenantId)- Specified by:
setTenantIdin interfaceTemplateDefinitionEntity
-
getName
public java.lang.String getName()Description copied from interface:TemplateDefinitionReturns the name of this template definition.- Specified by:
getNamein interfaceTemplateDefinition
-
setName
public void setName(java.lang.String name)- Specified by:
setNamein interfaceTemplateDefinitionEntity
-
getType
public java.lang.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(java.lang.String type)- Specified by:
setTypein interfaceTemplateDefinitionEntity
-
getSubType
public java.lang.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(java.lang.String subType)- Specified by:
setSubTypein interfaceTemplateDefinitionEntity
-
getFormKey
public java.lang.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(java.lang.String formKey)- Specified by:
setFormKeyin interfaceTemplateDefinitionEntity
-
getResourceName
public java.lang.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(java.lang.String resourceName)- Specified by:
setResourceNamein interfaceTemplateDefinitionEntity
-
getCreationTime
public java.util.Date getCreationTime()Description copied from interface:TemplateDefinitionReturns the creation time of this definition.- Specified by:
getCreationTimein interfaceTemplateDefinition
-
setCreationTime
public void setCreationTime(java.util.Date creationTime)- Specified by:
setCreationTimein interfaceTemplateDefinitionEntity
-
getCreatorId
public java.lang.String getCreatorId()Description copied from interface:TemplateDefinitionReturns the id of the user creating this template definition.- Specified by:
getCreatorIdin interfaceTemplateDefinition
-
setCreatorId
public void setCreatorId(java.lang.String creatorId)- Specified by:
setCreatorIdin interfaceTemplateDefinitionEntity
-
getUpdateTime
public java.util.Date getUpdateTime()Description copied from interface:TemplateDefinitionReturns the last update time of this definition.- Specified by:
getUpdateTimein interfaceTemplateDefinition
-
setUpdateTime
public void setUpdateTime(java.util.Date updateTime)- Specified by:
setUpdateTimein interfaceTemplateDefinitionEntity
-
getUpdatorId
public java.lang.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(java.lang.String updatorId)- Specified by:
setUpdatorIdin interfaceTemplateDefinitionEntity
-
getPersistentState
public java.lang.Object getPersistentState()- Specified by:
getPersistentStatein interfaceorg.flowable.common.engine.impl.persistence.entity.Entity
-