public class CaseDefinitionManager extends AbstractManager implements AbstractResourceDefinitionManager<CaseDefinitionEntity>
Modifier and Type | Field and Description |
---|---|
protected static EnginePersistenceLogger |
LOG |
Constructor and Description |
---|
CaseDefinitionManager() |
checkAuthorization, close, configureQuery, delete, deleteAuthorizations, deleteAuthorizationsForGroup, deleteAuthorizationsForUser, deleteDefaultAuthorizations, flush, getAttachmentManager, getAuthorizationManager, getBatchManager, getByteArrayManager, getCaseDefinitionManager, getCaseExecutionManager, getCaseInstanceManager, getCommandContext, getCurrentAuthentication, getDbEntityManager, getDbSqlSession, getDecisionDefinitionManager, getDecisionRequirementsDefinitionManager, getDeploymentManager, getEventSubscriptionManager, getHistoricActivityInstanceManager, getHistoricBatchManager, getHistoricCaseActivityInstanceManager, getHistoricCaseInstanceManager, getHistoricDecisionInstanceManager, getHistoricDetailManager, getHistoricExternalTaskLogManager, getHistoricIdentityLinkManager, getHistoricIncidentManager, getHistoricJobLogManager, getHistoricProcessInstanceManager, getHistoricReportManager, getHistoricTaskInstanceManager, getHistoricVariableInstanceManager, getIdentityInfoManager, getIdentityLinkManager, getJobDefinitionManager, getJobManager, getProcessDefinitionManager, getProcessInstanceManager, getResourceAuthorizationProvider, getResourceManager, getSession, getTaskManager, getTaskReportManager, getTenantManager, getUserOperationLogManager, getVariableInstanceManager, insert, isAuthorizationEnabled, saveDefaultAuthorizations
protected static final EnginePersistenceLogger LOG
public void insertCaseDefinition(CaseDefinitionEntity caseDefinition)
public void deleteCaseDefinitionsByDeploymentId(String deploymentId)
public CaseDefinitionEntity findCaseDefinitionById(String caseDefinitionId)
public CaseDefinitionEntity findLatestCaseDefinitionByKey(String caseDefinitionKey)
ProcessEngineException
- if more than one tenant has a case definition with the given keyfindLatestCaseDefinitionByKeyAndTenantId(String, String)
public CaseDefinitionEntity findLatestCaseDefinitionByKeyAndTenantId(String caseDefinitionKey, String tenantId)
findLatestCaseDefinitionByKeyAndTenantId(String, String)
public CaseDefinitionEntity findCaseDefinitionByKeyVersionAndTenantId(String caseDefinitionKey, Integer caseDefinitionVersion, String tenantId)
public CaseDefinitionEntity findCaseDefinitionByDeploymentAndKey(String deploymentId, String caseDefinitionKey)
public String findPreviousCaseDefinitionId(String caseDefinitionKey, Integer version, String tenantId)
public List<CaseDefinition> findCaseDefinitionsByQueryCriteria(CaseDefinitionQueryImpl caseDefinitionQuery, Page page)
public long findCaseDefinitionCountByQueryCriteria(CaseDefinitionQueryImpl caseDefinitionQuery)
public List<CaseDefinition> findCaseDefinitionByDeploymentId(String deploymentId)
protected void configureCaseDefinitionQuery(CaseDefinitionQueryImpl query)
protected ListQueryParameterObject configureParameterizedQuery(Object parameter)
public CaseDefinitionEntity findLatestDefinitionByKey(String key)
findLatestDefinitionByKey
in interface AbstractResourceDefinitionManager<CaseDefinitionEntity>
public CaseDefinitionEntity findLatestDefinitionById(String id)
findLatestDefinitionById
in interface AbstractResourceDefinitionManager<CaseDefinitionEntity>
public CaseDefinitionEntity getCachedResourceDefinitionEntity(String definitionId)
getCachedResourceDefinitionEntity
in interface AbstractResourceDefinitionManager<CaseDefinitionEntity>
public CaseDefinitionEntity findLatestDefinitionByKeyAndTenantId(String definitionKey, String tenantId)
findLatestDefinitionByKeyAndTenantId
in interface AbstractResourceDefinitionManager<CaseDefinitionEntity>
public CaseDefinitionEntity findDefinitionByKeyVersionAndTenantId(String definitionKey, Integer definitionVersion, String tenantId)
findDefinitionByKeyVersionAndTenantId
in interface AbstractResourceDefinitionManager<CaseDefinitionEntity>
public CaseDefinitionEntity findDefinitionByDeploymentAndKey(String deploymentId, String definitionKey)
findDefinitionByDeploymentAndKey
in interface AbstractResourceDefinitionManager<CaseDefinitionEntity>
Copyright © 2017. All rights reserved.