Class CaseDefinitionCache
- java.lang.Object
-
- org.camunda.bpm.engine.impl.persistence.deploy.cache.ResourceDefinitionCache<CaseDefinitionEntity>
-
- org.camunda.bpm.engine.impl.persistence.deploy.cache.CaseDefinitionCache
-
public class CaseDefinitionCache extends ResourceDefinitionCache<CaseDefinitionEntity>
-
-
Field Summary
-
Fields inherited from class org.camunda.bpm.engine.impl.persistence.deploy.cache.ResourceDefinitionCache
cache, cacheDeployer
-
-
Constructor Summary
Constructors Constructor Description CaseDefinitionCache(CacheFactory factory, int cacheCapacity, CacheDeployer cacheDeployer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
checkDefinitionFound(java.lang.String definitionId, CaseDefinitionEntity definition)
protected void
checkInvalidDefinitionByDeploymentAndKey(java.lang.String deploymentId, java.lang.String definitionKey, CaseDefinitionEntity definition)
protected void
checkInvalidDefinitionByKey(java.lang.String definitionKey, CaseDefinitionEntity definition)
protected void
checkInvalidDefinitionByKeyAndTenantId(java.lang.String definitionKey, java.lang.String tenantId, CaseDefinitionEntity definition)
protected void
checkInvalidDefinitionByKeyVersionAndTenantId(java.lang.String definitionKey, java.lang.Integer definitionVersion, java.lang.String tenantId, CaseDefinitionEntity definition)
protected void
checkInvalidDefinitionByKeyVersionTagAndTenantId(java.lang.String definitionKey, java.lang.String definitionVersionTag, java.lang.String tenantId, CaseDefinitionEntity definition)
protected void
checkInvalidDefinitionId(java.lang.String definitionId)
protected void
checkInvalidDefinitionWasCached(java.lang.String deploymentId, java.lang.String definitionId, CaseDefinitionEntity definition)
CaseDefinitionEntity
getCaseDefinitionById(java.lang.String caseDefinitionId)
protected AbstractResourceDefinitionManager<CaseDefinitionEntity>
getManager()
-
Methods inherited from class org.camunda.bpm.engine.impl.persistence.deploy.cache.ResourceDefinitionCache
addDefinition, clear, findDefinitionFromCache, findDeployedDefinitionByDeploymentAndKey, findDeployedDefinitionById, findDeployedDefinitionByKeyVersionAndTenantId, findDeployedDefinitionByKeyVersionTagAndTenantId, findDeployedLatestDefinitionByKey, findDeployedLatestDefinitionByKeyAndTenantId, getCache, getDefinition, removeDefinitionFromCache, resolveDefinition
-
-
-
-
Constructor Detail
-
CaseDefinitionCache
public CaseDefinitionCache(CacheFactory factory, int cacheCapacity, CacheDeployer cacheDeployer)
-
-
Method Detail
-
getCaseDefinitionById
public CaseDefinitionEntity getCaseDefinitionById(java.lang.String caseDefinitionId)
-
getManager
protected AbstractResourceDefinitionManager<CaseDefinitionEntity> getManager()
- Specified by:
getManager
in classResourceDefinitionCache<CaseDefinitionEntity>
-
checkInvalidDefinitionId
protected void checkInvalidDefinitionId(java.lang.String definitionId)
- Specified by:
checkInvalidDefinitionId
in classResourceDefinitionCache<CaseDefinitionEntity>
-
checkDefinitionFound
protected void checkDefinitionFound(java.lang.String definitionId, CaseDefinitionEntity definition)
- Specified by:
checkDefinitionFound
in classResourceDefinitionCache<CaseDefinitionEntity>
-
checkInvalidDefinitionByKey
protected void checkInvalidDefinitionByKey(java.lang.String definitionKey, CaseDefinitionEntity definition)
- Specified by:
checkInvalidDefinitionByKey
in classResourceDefinitionCache<CaseDefinitionEntity>
-
checkInvalidDefinitionByKeyAndTenantId
protected void checkInvalidDefinitionByKeyAndTenantId(java.lang.String definitionKey, java.lang.String tenantId, CaseDefinitionEntity definition)
- Specified by:
checkInvalidDefinitionByKeyAndTenantId
in classResourceDefinitionCache<CaseDefinitionEntity>
-
checkInvalidDefinitionByKeyVersionAndTenantId
protected void checkInvalidDefinitionByKeyVersionAndTenantId(java.lang.String definitionKey, java.lang.Integer definitionVersion, java.lang.String tenantId, CaseDefinitionEntity definition)
- Specified by:
checkInvalidDefinitionByKeyVersionAndTenantId
in classResourceDefinitionCache<CaseDefinitionEntity>
-
checkInvalidDefinitionByKeyVersionTagAndTenantId
protected void checkInvalidDefinitionByKeyVersionTagAndTenantId(java.lang.String definitionKey, java.lang.String definitionVersionTag, java.lang.String tenantId, CaseDefinitionEntity definition)
- Specified by:
checkInvalidDefinitionByKeyVersionTagAndTenantId
in classResourceDefinitionCache<CaseDefinitionEntity>
-
checkInvalidDefinitionByDeploymentAndKey
protected void checkInvalidDefinitionByDeploymentAndKey(java.lang.String deploymentId, java.lang.String definitionKey, CaseDefinitionEntity definition)
- Specified by:
checkInvalidDefinitionByDeploymentAndKey
in classResourceDefinitionCache<CaseDefinitionEntity>
-
checkInvalidDefinitionWasCached
protected void checkInvalidDefinitionWasCached(java.lang.String deploymentId, java.lang.String definitionId, CaseDefinitionEntity definition)
- Specified by:
checkInvalidDefinitionWasCached
in classResourceDefinitionCache<CaseDefinitionEntity>
-
-