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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CamundaFormDefinitionEntity(String key, String deploymentId, String resourceName, String tenantId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCategory()
category name which is derived from the targetNamespace attribute in the definitions elementString
getDeploymentId()
The deployment in which this definition is contained.String
getDiagramResourceName()
The diagram resource name for this definition if existInteger
getHistoryTimeToLive()
History time to live.String
getId()
unique identifierString
getKey()
unique name for all versions this definitionString
getName()
label used for display purposesObject
getPersistentState()
Returns a representation of the object, as would be stored in the database.CamundaFormDefinitionEntity
getPreviousDefinition()
String
getResourceName()
name ofthe resource
of this definitionint
getRevision()
int
getRevisionNext()
String
getTenantId()
The id of the tenant this definition belongs to.int
getVersion()
version of this definitionvoid
setCategory(String category)
void
setDeploymentId(String deploymentId)
void
setDiagramResourceName(String diagramResourceName)
void
setHistoryTimeToLive(Integer historyTimeToLive)
void
setId(String id)
void
setKey(String key)
void
setName(String name)
void
setResourceName(String resourceName)
void
setRevision(int revision)
void
setTenantId(String tenantId)
void
setVersion(int version)
void
updateModifiableFieldsFromEntity(CamundaFormDefinitionEntity updatingDefinition)
-
-
-
Method Detail
-
getId
public String getId()
Description copied from interface:ResourceDefinition
unique identifier- Specified by:
getId
in interfaceDbEntity
- Specified by:
getId
in interfaceResourceDefinition
-
setId
public void setId(String id)
- 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
public String getKey()
Description copied from interface:ResourceDefinition
unique name for all versions this definition- Specified by:
getKey
in interfaceResourceDefinition
-
setKey
public void setKey(String key)
- 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
public String getDeploymentId()
Description copied from interface:ResourceDefinition
The deployment in which this definition is contained.- Specified by:
getDeploymentId
in interfaceResourceDefinition
-
setDeploymentId
public void setDeploymentId(String deploymentId)
- Specified by:
setDeploymentId
in interfaceResourceDefinitionEntity<CamundaFormDefinitionEntity>
-
getResourceName
public String getResourceName()
Description copied from interface:ResourceDefinition
name ofthe resource
of this definition- Specified by:
getResourceName
in interfaceResourceDefinition
-
setResourceName
public void setResourceName(String resourceName)
- Specified by:
setResourceName
in interfaceResourceDefinitionEntity<CamundaFormDefinitionEntity>
-
getTenantId
public String 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
public void setTenantId(String tenantId)
- Specified by:
setTenantId
in interfaceResourceDefinitionEntity<CamundaFormDefinitionEntity>
-
getCategory
public String 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
public CamundaFormDefinitionEntity getPreviousDefinition()
- Specified by:
getPreviousDefinition
in interfaceResourceDefinitionEntity<CamundaFormDefinitionEntity>
-
setCategory
public void setCategory(String category)
- Specified by:
setCategory
in interfaceResourceDefinitionEntity<CamundaFormDefinitionEntity>
-
getDiagramResourceName
public String getDiagramResourceName()
Description copied from interface:ResourceDefinition
The diagram resource name for this definition if exist- Specified by:
getDiagramResourceName
in interfaceResourceDefinition
-
setDiagramResourceName
public void setDiagramResourceName(String diagramResourceName)
- Specified by:
setDiagramResourceName
in interfaceResourceDefinitionEntity<CamundaFormDefinitionEntity>
-
getHistoryTimeToLive
public Integer getHistoryTimeToLive()
Description copied from interface:ResourceDefinition
History time to live. Is taken into account in history cleanup.- Specified by:
getHistoryTimeToLive
in interfaceResourceDefinition
-
setHistoryTimeToLive
public void setHistoryTimeToLive(Integer historyTimeToLive)
- Specified by:
setHistoryTimeToLive
in interfaceResourceDefinitionEntity<CamundaFormDefinitionEntity>
-
getPersistentState
public Object 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
public void updateModifiableFieldsFromEntity(CamundaFormDefinitionEntity updatingDefinition)
- Specified by:
updateModifiableFieldsFromEntity
in interfaceResourceDefinitionEntity<CamundaFormDefinitionEntity>
-
getName
public String getName()
Description copied from interface:ResourceDefinition
label used for display purposes- Specified by:
getName
in interfaceResourceDefinition
-
setName
public void setName(String name)
- Specified by:
setName
in interfaceResourceDefinitionEntity<CamundaFormDefinitionEntity>
-
-