public class CaseDefinitionCache extends ResourceDefinitionCache<CaseDefinitionEntity>
cache, cacheDeployer
Constructor and Description |
---|
CaseDefinitionCache(CacheFactory factory,
int cacheCapacity,
CacheDeployer cacheDeployer) |
Modifier and Type | Method and Description |
---|---|
protected void |
checkDefinitionFound(String definitionId,
CaseDefinitionEntity definition) |
protected void |
checkInvalidDefinitionByDeploymentAndKey(String deploymentId,
String definitionKey,
CaseDefinitionEntity definition) |
protected void |
checkInvalidDefinitionByKey(String definitionKey,
CaseDefinitionEntity definition) |
protected void |
checkInvalidDefinitionByKeyAndTenantId(String definitionKey,
String tenantId,
CaseDefinitionEntity definition) |
protected void |
checkInvalidDefinitionByKeyVersionAndTenantId(String definitionKey,
Integer definitionVersion,
String tenantId,
CaseDefinitionEntity definition) |
protected void |
checkInvalidDefinitionId(String definitionId) |
protected void |
checkInvalidDefinitionWasCached(String deploymentId,
String definitionId,
CaseDefinitionEntity definition) |
CaseDefinitionEntity |
getCaseDefinitionById(String caseDefinitionId) |
protected AbstractResourceDefinitionManager<CaseDefinitionEntity> |
getManager() |
addDefinition, clear, findDefinitionFromCache, findDeployedDefinitionByDeploymentAndKey, findDeployedDefinitionById, findDeployedDefinitionByKeyVersionAndTenantId, findDeployedLatestDefinitionByKey, findDeployedLatestDefinitionByKeyAndTenantId, getCache, getDefinition, removeDefinitionFromCache, resolveDefinition
public CaseDefinitionCache(CacheFactory factory, int cacheCapacity, CacheDeployer cacheDeployer)
public CaseDefinitionEntity getCaseDefinitionById(String caseDefinitionId)
protected AbstractResourceDefinitionManager<CaseDefinitionEntity> getManager()
getManager
in class ResourceDefinitionCache<CaseDefinitionEntity>
protected void checkInvalidDefinitionId(String definitionId)
checkInvalidDefinitionId
in class ResourceDefinitionCache<CaseDefinitionEntity>
protected void checkDefinitionFound(String definitionId, CaseDefinitionEntity definition)
checkDefinitionFound
in class ResourceDefinitionCache<CaseDefinitionEntity>
protected void checkInvalidDefinitionByKey(String definitionKey, CaseDefinitionEntity definition)
checkInvalidDefinitionByKey
in class ResourceDefinitionCache<CaseDefinitionEntity>
protected void checkInvalidDefinitionByKeyAndTenantId(String definitionKey, String tenantId, CaseDefinitionEntity definition)
checkInvalidDefinitionByKeyAndTenantId
in class ResourceDefinitionCache<CaseDefinitionEntity>
protected void checkInvalidDefinitionByKeyVersionAndTenantId(String definitionKey, Integer definitionVersion, String tenantId, CaseDefinitionEntity definition)
checkInvalidDefinitionByKeyVersionAndTenantId
in class ResourceDefinitionCache<CaseDefinitionEntity>
protected void checkInvalidDefinitionByDeploymentAndKey(String deploymentId, String definitionKey, CaseDefinitionEntity definition)
checkInvalidDefinitionByDeploymentAndKey
in class ResourceDefinitionCache<CaseDefinitionEntity>
protected void checkInvalidDefinitionWasCached(String deploymentId, String definitionId, CaseDefinitionEntity definition)
checkInvalidDefinitionWasCached
in class ResourceDefinitionCache<CaseDefinitionEntity>
Copyright © 2017. All rights reserved.