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) |
getIdPrefix
getId, getOriginalPersistentState, getRevision, getRevisionNext, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setOriginalPersistentState, setRevision, setUpdated
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getId
protected 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()
TemplateVariationDefinition
TemplateDefinition
this variation is based on.getTemplateDefinitionKey
in interface TemplateVariationDefinition
public void setTemplateDefinitionKey(String templateDefinitionKey)
setTemplateDefinitionKey
in interface TemplateVariationDefinitionEntity
public int getVersion()
TemplateVariationDefinition
getVersion
in interface TemplateVariationDefinition
public void setVersion(int version)
setVersion
in interface TemplateVariationDefinitionEntity
public String getDeploymentId()
TemplateVariationDefinition
getDeploymentId
in interface TemplateVariationDefinition
public void setDeploymentId(String deploymentId)
setDeploymentId
in interface TemplateVariationDefinitionEntity
public String getTenantId()
TemplateVariationDefinition
getTenantId
in interface TemplateVariationDefinition
public void setTenantId(String tenantId)
setTenantId
in interface TemplateVariationDefinitionEntity
public String getVariationKey()
TemplateVariationDefinition
getVariationKey
in interface TemplateVariationDefinition
public void setVariationKey(String variationKey)
setVariationKey
in interface TemplateVariationDefinitionEntity
public String getName()
TemplateVariationDefinition
getName
in interface TemplateVariationDefinition
public void setName(String name)
setName
in interface TemplateVariationDefinitionEntity
public Date getValidFrom()
TemplateVariationDefinition
null
, use new Date(0L)
instead if the variation definition
should be valid back in time.getValidFrom
in interface TemplateVariationDefinition
public void setValidFrom(Date validFrom)
setValidFrom
in interface TemplateVariationDefinitionEntity
public Date getValidTo()
TemplateVariationDefinition
null
, use new Date(Long.MAX_VALUE)
instead if the
variation definition should be valid forever.getValidTo
in interface TemplateVariationDefinition
public void setValidTo(Date validTo)
setValidTo
in interface TemplateVariationDefinitionEntity
public String getExternalId()
TemplateVariationDefinition
getExternalId
in interface TemplateVariationDefinition
public void setExternalId(String externalId)
setExternalId
in interface TemplateVariationDefinitionEntity
public String getResourceName()
TemplateVariationDefinition
getResourceName
in interface TemplateVariationDefinition
public void setResourceName(String resourceName)
setResourceName
in interface TemplateVariationDefinitionEntity
public String getContentId()
TemplateVariationDefinition
TemplateVariationDefinition.hasSmallContent()
returning true), the content id is null
.getContentId
in interface TemplateVariationDefinition
public void setContentId(String contentId)
setContentId
in interface TemplateVariationDefinitionEntity
public Date getCreationTime()
public void setCreationTime(Date creationTime)
setCreationTime
in interface TemplateVariationDefinitionEntity
public String getCreatorId()
public void setCreatorId(String creatorId)
setCreatorId
in interface TemplateVariationDefinitionEntity
public boolean hasSmallContent()
TemplateVariationDefinition
true
, 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 TemplateVariationDefinition
public Object getPersistentState()
getPersistentState
in interface org.flowable.common.engine.impl.persistence.entity.Entity
Copyright © 2019. All rights reserved.