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
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCamundaFormDefinitionEntity(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 resourceof this definitionintintThe id of the tenant this definition belongs to.intversion of this definitionvoidsetCategory(String category) voidsetDeploymentId(String deploymentId) voidsetDiagramResourceName(String diagramResourceName) voidsetHistoryTimeToLive(Integer historyTimeToLive) voidvoidvoidvoidsetResourceName(String resourceName) voidsetRevision(int revision) voidsetTenantId(String tenantId) voidsetVersion(int version) voidupdateModifiableFieldsFromEntity(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:ResourceDefinitionunique identifier- Specified by:
getIdin interfaceDbEntity- Specified by:
getIdin interfaceResourceDefinition
-
setId
- Specified by:
setIdin interfaceDbEntity- Specified by:
setIdin interfaceResourceDefinitionEntity<CamundaFormDefinitionEntity>
-
getRevision
public int getRevision()- Specified by:
getRevisionin interfaceHasDbRevision
-
setRevision
public void setRevision(int revision) - Specified by:
setRevisionin interfaceHasDbRevision
-
getRevisionNext
public int getRevisionNext()- Specified by:
getRevisionNextin interfaceHasDbRevision
-
getKey
Description copied from interface:ResourceDefinitionunique name for all versions this definition- Specified by:
getKeyin interfaceResourceDefinition
-
setKey
- Specified by:
setKeyin interfaceResourceDefinitionEntity<CamundaFormDefinitionEntity>
-
getVersion
public int getVersion()Description copied from interface:ResourceDefinitionversion of this definition- Specified by:
getVersionin interfaceResourceDefinition
-
setVersion
public void setVersion(int version) - Specified by:
setVersionin interfaceResourceDefinitionEntity<CamundaFormDefinitionEntity>
-
getDeploymentId
Description copied from interface:ResourceDefinitionThe deployment in which this definition is contained.- Specified by:
getDeploymentIdin interfaceResourceDefinition
-
setDeploymentId
- Specified by:
setDeploymentIdin interfaceResourceDefinitionEntity<CamundaFormDefinitionEntity>
-
getResourceName
Description copied from interface:ResourceDefinitionname ofthe resourceof this definition- Specified by:
getResourceNamein interfaceResourceDefinition
-
setResourceName
- Specified by:
setResourceNamein interfaceResourceDefinitionEntity<CamundaFormDefinitionEntity>
-
getTenantId
Description copied from interface:ResourceDefinitionThe id of the tenant this definition belongs to. Can benullif the definition belongs to no single tenant.- Specified by:
getTenantIdin interfaceResourceDefinition
-
setTenantId
- Specified by:
setTenantIdin interfaceResourceDefinitionEntity<CamundaFormDefinitionEntity>
-
getCategory
Description copied from interface:ResourceDefinitioncategory name which is derived from the targetNamespace attribute in the definitions element- Specified by:
getCategoryin interfaceResourceDefinition
-
getPreviousDefinition
- Specified by:
getPreviousDefinitionin interfaceResourceDefinitionEntity<CamundaFormDefinitionEntity>
-
setCategory
- Specified by:
setCategoryin interfaceResourceDefinitionEntity<CamundaFormDefinitionEntity>
-
getDiagramResourceName
Description copied from interface:ResourceDefinitionThe diagram resource name for this definition if exist- Specified by:
getDiagramResourceNamein interfaceResourceDefinition
-
setDiagramResourceName
- Specified by:
setDiagramResourceNamein interfaceResourceDefinitionEntity<CamundaFormDefinitionEntity>
-
getHistoryTimeToLive
Description copied from interface:ResourceDefinitionHistory time to live. Is taken into account in history cleanup.- Specified by:
getHistoryTimeToLivein interfaceResourceDefinition
-
setHistoryTimeToLive
- Specified by:
setHistoryTimeToLivein interfaceResourceDefinitionEntity<CamundaFormDefinitionEntity>
-
getPersistentState
Description copied from interface:DbEntityReturns 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:
getPersistentStatein interfaceDbEntity
-
updateModifiableFieldsFromEntity
- Specified by:
updateModifiableFieldsFromEntityin interfaceResourceDefinitionEntity<CamundaFormDefinitionEntity>
-
getName
Description copied from interface:ResourceDefinitionlabel used for display purposes- Specified by:
getNamein interfaceResourceDefinition
-
setName
- Specified by:
setNamein interfaceResourceDefinitionEntity<CamundaFormDefinitionEntity>
-