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
Modifier and TypeFieldDescriptionprotected Date
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected Date
protected String
protected int
Fields inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntity
id, isDeleted, isInserted, isUpdated, originalPersistentState, revision
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the creation time of this definition.Returns the id of the user creating this template definition.Returns the deployment id this definition was deployed with.Returns the optional form key for this template definition which might be used to collect information whenever such a template instance is created.getKey()
Returns the business key usually used to reference or lookp a template definition regardless of its version.getName()
Returns the name of this template definition.Returns the name of the resource this definition is based on.Returns the sub type of this template definition which can be freely chosen.Returns the id of the tenant this definition belongs to.getType()
Returns the type of this template definition which is used to lookup a renderer or processor being able to render and process this template.Returns the last update time of this definition.Returns the id of the user last updating this template definition.int
Return the version of this template definition.void
setCreationTime
(Date creationTime) void
setCreatorId
(String creatorId) void
setDeploymentId
(String deploymentId) void
setFormKey
(String formKey) void
void
void
setResourceName
(String resourceName) void
setSubType
(String subType) void
setTenantId
(String tenantId) void
void
setUpdateTime
(Date updateTime) void
setUpdatorId
(String updatorId) void
setVersion
(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 Details
-
key
-
version
protected int version -
deploymentId
-
tenantId
-
name
-
type
-
subType
-
formKey
-
resourceName
-
creationTime
-
creatorId
-
updateTime
-
updatorId
-
-
Constructor Details
-
TemplateDefinitionEntityImpl
public TemplateDefinitionEntityImpl()
-
-
Method Details
-
getPersistentState
- Specified by:
getPersistentState
in interfaceEntity
-
getKey
Description copied from interface:TemplateDefinition
Returns the business key usually used to reference or lookp a template definition regardless of its version.- Specified by:
getKey
in interfaceTemplateDefinition
-
setKey
- Specified by:
setKey
in interfaceTemplateDefinitionEntity
-
getVersion
public int getVersion()Description copied from interface:TemplateDefinition
Return the version of this template definition.- Specified by:
getVersion
in interfaceTemplateDefinition
-
setVersion
public void setVersion(int version) - Specified by:
setVersion
in interfaceTemplateDefinitionEntity
-
getDeploymentId
Description copied from interface:TemplateDefinition
Returns the deployment id this definition was deployed with.- Specified by:
getDeploymentId
in interfaceTemplateDefinition
-
setDeploymentId
- Specified by:
setDeploymentId
in interfaceTemplateDefinitionEntity
-
getTenantId
Description copied from interface:TemplateDefinition
Returns the id of the tenant this definition belongs to.- Specified by:
getTenantId
in interfaceTemplateDefinition
-
setTenantId
- Specified by:
setTenantId
in interfaceTemplateDefinitionEntity
-
getName
Description copied from interface:TemplateDefinition
Returns the name of this template definition.- Specified by:
getName
in interfaceTemplateDefinition
-
setName
- Specified by:
setName
in interfaceTemplateDefinitionEntity
-
getType
Description copied from interface:TemplateDefinition
Returns 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:
getType
in interfaceTemplateDefinition
- See Also:
-
setType
- Specified by:
setType
in interfaceTemplateDefinitionEntity
-
getSubType
Description copied from interface:TemplateDefinition
Returns the sub type of this template definition which can be freely chosen.- Specified by:
getSubType
in interfaceTemplateDefinition
-
setSubType
- Specified by:
setSubType
in interfaceTemplateDefinitionEntity
-
getFormKey
Description copied from interface:TemplateDefinition
Returns 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:
getFormKey
in interfaceTemplateDefinition
-
setFormKey
- Specified by:
setFormKey
in interfaceTemplateDefinitionEntity
-
getResourceName
Description copied from interface:TemplateDefinition
Returns the name of the resource this definition is based on.- Specified by:
getResourceName
in interfaceTemplateDefinition
-
setResourceName
- Specified by:
setResourceName
in interfaceTemplateDefinitionEntity
-
getCreationTime
Description copied from interface:TemplateDefinition
Returns the creation time of this definition.- Specified by:
getCreationTime
in interfaceTemplateDefinition
-
setCreationTime
- Specified by:
setCreationTime
in interfaceTemplateDefinitionEntity
-
getCreatorId
Description copied from interface:TemplateDefinition
Returns the id of the user creating this template definition.- Specified by:
getCreatorId
in interfaceTemplateDefinition
-
setCreatorId
- Specified by:
setCreatorId
in interfaceTemplateDefinitionEntity
-
getUpdateTime
Description copied from interface:TemplateDefinition
Returns the last update time of this definition.- Specified by:
getUpdateTime
in interfaceTemplateDefinition
-
setUpdateTime
- Specified by:
setUpdateTime
in interfaceTemplateDefinitionEntity
-
getUpdatorId
Description copied from interface:TemplateDefinition
Returns the id of the user last updating this template definition.- Specified by:
getUpdatorId
in interfaceTemplateDefinition
-
setUpdatorId
- Specified by:
setUpdatorId
in interfaceTemplateDefinitionEntity
-