public class TemplateVariationDefinitionEntityImpl extends AbstractTemplateEngineEntity implements TemplateVariationDefinitionEntity
| Modifier and Type | Field and Description |
|---|---|
protected String |
contentId |
protected Date |
creationTime |
protected String |
creatorId |
protected String |
deploymentId |
protected String |
externalId |
protected String |
name |
protected String |
resourceName |
protected String |
templateDefinitionKey |
protected String |
tenantId |
protected Date |
validFrom |
protected Date |
validTo |
protected String |
variationKey |
protected int |
version |
| Constructor and Description |
|---|
TemplateVariationDefinitionEntityImpl() |
| Modifier and Type | Method and Description |
|---|---|
String |
getContentId()
Returns the optional id of the referenced content to retrieve the template variation content with the content engine.
|
Date |
getCreationTime() |
String |
getCreatorId() |
String |
getDeploymentId()
Returns the deployment id this definition variation was deployed with.
|
String |
getExternalId()
Returns the optional external id this template variation is linked with (e.g.
|
String |
getName()
Returns the name of this template variation definition.
|
Object |
getPersistentState() |
String |
getResourceName()
Returns the optional resource name of the persisted template.
|
String |
getTemplateDefinitionKey()
Returns the referenced business key of the
TemplateDefinition this variation is based on. |
String |
getTenantId()
Returns the id of the tenant this definition variation belongs to.
|
Date |
getValidFrom()
Returns the timestamp from which this template variation is valid, must not be
null, use new Date(0L) instead if the variation definition
should be valid back in time. |
Date |
getValidTo()
Returns the timestamp until which this template variation is valid, must not be
null, use new Date(Long.MAX_VALUE) instead if the
variation definition should be valid forever. |
String |
getVariationKey()
Returns the single, composed variation key created out of all variation values this template is used for (e.g.
|
int |
getVersion()
Returns the version of this template variation definition (increases upon a new deployment).
|
boolean |
hasSmallContent()
Returns
true, if this template only has small content (e.g. |
void |
setContentId(String contentId) |
void |
setCreationTime(Date creationTime) |
void |
setCreatorId(String creatorId) |
void |
setDeploymentId(String deploymentId) |
void |
setExternalId(String externalId) |
void |
setName(String name) |
void |
setResourceName(String resourceName) |
void |
setTemplateDefinitionKey(String templateDefinitionKey) |
void |
setTenantId(String tenantId) |
void |
setValidFrom(Date validFrom) |
void |
setValidTo(Date validTo) |
void |
setVariationKey(String variationKey) |
void |
setVersion(int version) |
getIdPrefixgetId, getOriginalPersistentState, getRevision, getRevisionNext, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setOriginalPersistentState, setRevision, setUpdatedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetIdprotected String templateDefinitionKey
protected int version
protected String deploymentId
protected String tenantId
protected String variationKey
protected String name
protected Date validFrom
protected Date validTo
protected String externalId
protected String resourceName
protected String contentId
protected Date creationTime
protected String creatorId
public TemplateVariationDefinitionEntityImpl()
public String getTemplateDefinitionKey()
TemplateVariationDefinitionTemplateDefinition this variation is based on.getTemplateDefinitionKey in interface TemplateVariationDefinitionpublic void setTemplateDefinitionKey(String templateDefinitionKey)
setTemplateDefinitionKey in interface TemplateVariationDefinitionEntitypublic int getVersion()
TemplateVariationDefinitiongetVersion in interface TemplateVariationDefinitionpublic void setVersion(int version)
setVersion in interface TemplateVariationDefinitionEntitypublic String getDeploymentId()
TemplateVariationDefinitiongetDeploymentId in interface TemplateVariationDefinitionpublic void setDeploymentId(String deploymentId)
setDeploymentId in interface TemplateVariationDefinitionEntitypublic String getTenantId()
TemplateVariationDefinitiongetTenantId in interface TemplateVariationDefinitionpublic void setTenantId(String tenantId)
setTenantId in interface TemplateVariationDefinitionEntitypublic String getVariationKey()
TemplateVariationDefinitiongetVariationKey in interface TemplateVariationDefinitionpublic void setVariationKey(String variationKey)
setVariationKey in interface TemplateVariationDefinitionEntitypublic String getName()
TemplateVariationDefinitiongetName in interface TemplateVariationDefinitionpublic void setName(String name)
setName in interface TemplateVariationDefinitionEntitypublic Date getValidFrom()
TemplateVariationDefinitionnull, use new Date(0L) instead if the variation definition
should be valid back in time.getValidFrom in interface TemplateVariationDefinitionpublic void setValidFrom(Date validFrom)
setValidFrom in interface TemplateVariationDefinitionEntitypublic Date getValidTo()
TemplateVariationDefinitionnull, use new Date(Long.MAX_VALUE) instead if the
variation definition should be valid forever.getValidTo in interface TemplateVariationDefinitionpublic void setValidTo(Date validTo)
setValidTo in interface TemplateVariationDefinitionEntitypublic String getExternalId()
TemplateVariationDefinitiongetExternalId in interface TemplateVariationDefinitionpublic void setExternalId(String externalId)
setExternalId in interface TemplateVariationDefinitionEntitypublic String getResourceName()
TemplateVariationDefinitiongetResourceName in interface TemplateVariationDefinitionpublic void setResourceName(String resourceName)
setResourceName in interface TemplateVariationDefinitionEntitypublic String getContentId()
TemplateVariationDefinitionTemplateVariationDefinition.hasSmallContent() returning true), the content id is null.getContentId in interface TemplateVariationDefinitionpublic void setContentId(String contentId)
setContentId in interface TemplateVariationDefinitionEntitypublic Date getCreationTime()
public void setCreationTime(Date creationTime)
setCreationTime in interface TemplateVariationDefinitionEntitypublic String getCreatorId()
public void setCreatorId(String creatorId)
setCreatorId in interface TemplateVariationDefinitionEntitypublic boolean hasSmallContent()
TemplateVariationDefinitiontrue, if this template only has small content (e.g. a message or email template), false, if the content needs to be retrieved
with the content engine.hasSmallContent in interface TemplateVariationDefinitionpublic Object getPersistentState()
getPersistentState in interface org.flowable.common.engine.impl.persistence.entity.EntityCopyright © 2019. All rights reserved.