Class CamundaFormDefinitionEntity
java.lang.Object
org.camunda.bpm.engine.impl.persistence.entity.CamundaFormDefinitionEntity
- All Implemented Interfaces:
Serializable
,DbEntity
,HasDbRevision
,ResourceDefinitionEntity<CamundaFormDefinitionEntity>
,CamundaFormDefinition
,ResourceDefinition
public class CamundaFormDefinitionEntity
extends Object
implements CamundaFormDefinition, ResourceDefinitionEntity<CamundaFormDefinitionEntity>, DbEntity, HasDbRevision, Serializable
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionCamundaFormDefinitionEntity
(String key, String deploymentId, String resourceName, String tenantId) -
Method Summary
Modifier and TypeMethodDescriptioncategory name which is derived from the targetNamespace attribute in the definitions elementThe deployment in which this definition is contained.The diagram resource name for this definition if existHistory time to live.getId()
unique identifiergetKey()
unique name for all versions this definitiongetName()
label used for display purposesReturns a representation of the object, as would be stored in the database.name ofthe resource
of this definitionint
int
The id of the tenant this definition belongs to.int
version of this definitionvoid
setCategory
(String category) void
setDeploymentId
(String deploymentId) void
setDiagramResourceName
(String diagramResourceName) void
setHistoryTimeToLive
(Integer historyTimeToLive) void
void
void
void
setResourceName
(String resourceName) void
setRevision
(int revision) void
setTenantId
(String tenantId) void
setVersion
(int version) void
updateModifiableFieldsFromEntity
(CamundaFormDefinitionEntity updatingDefinition)
-
Field Details
-
id
-
revision
protected int revision -
key
-
version
protected int version -
deploymentId
-
resourceName
-
tenantId
-
-
Constructor Details
-
CamundaFormDefinitionEntity
-
-
Method Details
-
getId
Description copied from interface:ResourceDefinition
unique identifier- Specified by:
getId
in interfaceDbEntity
- Specified by:
getId
in interfaceResourceDefinition
-
setId
- Specified by:
setId
in interfaceDbEntity
- Specified by:
setId
in interfaceResourceDefinitionEntity<CamundaFormDefinitionEntity>
-
getRevision
public int getRevision()- Specified by:
getRevision
in interfaceHasDbRevision
-
setRevision
public void setRevision(int revision) - Specified by:
setRevision
in interfaceHasDbRevision
-
getRevisionNext
public int getRevisionNext()- Specified by:
getRevisionNext
in interfaceHasDbRevision
-
getKey
Description copied from interface:ResourceDefinition
unique name for all versions this definition- Specified by:
getKey
in interfaceResourceDefinition
-
setKey
- Specified by:
setKey
in interfaceResourceDefinitionEntity<CamundaFormDefinitionEntity>
-
getVersion
public int getVersion()Description copied from interface:ResourceDefinition
version of this definition- Specified by:
getVersion
in interfaceResourceDefinition
-
setVersion
public void setVersion(int version) - Specified by:
setVersion
in interfaceResourceDefinitionEntity<CamundaFormDefinitionEntity>
-
getDeploymentId
Description copied from interface:ResourceDefinition
The deployment in which this definition is contained.- Specified by:
getDeploymentId
in interfaceResourceDefinition
-
setDeploymentId
- Specified by:
setDeploymentId
in interfaceResourceDefinitionEntity<CamundaFormDefinitionEntity>
-
getResourceName
Description copied from interface:ResourceDefinition
name ofthe resource
of this definition- Specified by:
getResourceName
in interfaceResourceDefinition
-
setResourceName
- Specified by:
setResourceName
in interfaceResourceDefinitionEntity<CamundaFormDefinitionEntity>
-
getTenantId
Description copied from interface:ResourceDefinition
The id of the tenant this definition belongs to. Can benull
if the definition belongs to no single tenant.- Specified by:
getTenantId
in interfaceResourceDefinition
-
setTenantId
- Specified by:
setTenantId
in interfaceResourceDefinitionEntity<CamundaFormDefinitionEntity>
-
getCategory
Description copied from interface:ResourceDefinition
category name which is derived from the targetNamespace attribute in the definitions element- Specified by:
getCategory
in interfaceResourceDefinition
-
getPreviousDefinition
- Specified by:
getPreviousDefinition
in interfaceResourceDefinitionEntity<CamundaFormDefinitionEntity>
-
setCategory
- Specified by:
setCategory
in interfaceResourceDefinitionEntity<CamundaFormDefinitionEntity>
-
getDiagramResourceName
Description copied from interface:ResourceDefinition
The diagram resource name for this definition if exist- Specified by:
getDiagramResourceName
in interfaceResourceDefinition
-
setDiagramResourceName
- Specified by:
setDiagramResourceName
in interfaceResourceDefinitionEntity<CamundaFormDefinitionEntity>
-
getHistoryTimeToLive
Description copied from interface:ResourceDefinition
History time to live. Is taken into account in history cleanup.- Specified by:
getHistoryTimeToLive
in interfaceResourceDefinition
-
setHistoryTimeToLive
- Specified by:
setHistoryTimeToLive
in interfaceResourceDefinitionEntity<CamundaFormDefinitionEntity>
-
getPersistentState
Description copied from interface:DbEntity
Returns a representation of the object, as would be stored in the database. Used when deciding if updates have occurred to the object or not since it was last loaded.- Specified by:
getPersistentState
in interfaceDbEntity
-
updateModifiableFieldsFromEntity
- Specified by:
updateModifiableFieldsFromEntity
in interfaceResourceDefinitionEntity<CamundaFormDefinitionEntity>
-
getName
Description copied from interface:ResourceDefinition
label used for display purposes- Specified by:
getName
in interfaceResourceDefinition
-
setName
- Specified by:
setName
in interfaceResourceDefinitionEntity<CamundaFormDefinitionEntity>
-