Class DecisionDefinitionManager
java.lang.Object
org.camunda.bpm.engine.impl.persistence.AbstractManager
org.camunda.bpm.engine.impl.dmn.entity.repository.DecisionDefinitionManager
- All Implemented Interfaces:
Session
,AbstractResourceDefinitionManager<DecisionDefinitionEntity>
public class DecisionDefinitionManager
extends AbstractManager
implements AbstractResourceDefinitionManager<DecisionDefinitionEntity>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
protected ListQueryParameterObject
configureParameterizedQuery
(Object parameter) protected void
createDefaultAuthorizations
(DecisionDefinition decisionDefinition) void
deleteDecisionDefinitionsByDeploymentId
(String deploymentId) findDecisionDefinitionByDeploymentAndKey
(String deploymentId, String decisionDefinitionKey) findDecisionDefinitionByDeploymentId
(String deploymentId) findDecisionDefinitionById
(String decisionDefinitionId) findDecisionDefinitionByKeyAndVersion
(String decisionDefinitionKey, Integer decisionDefinitionVersion) findDecisionDefinitionByKeyVersionAndTenantId
(String decisionDefinitionKey, Integer decisionDefinitionVersion, String tenantId) findDecisionDefinitionByKeyVersionTagAndTenantId
(String decisionDefinitionKey, String decisionDefinitionVersionTag, String tenantId) long
findDecisionDefinitionCountByQueryCriteria
(DecisionDefinitionQueryImpl decisionDefinitionQuery) findDecisionDefinitionsByQueryCriteria
(DecisionDefinitionQueryImpl decisionDefinitionQuery, Page page) findDefinitionByDeploymentAndKey
(String deploymentId, String definitionKey) findDefinitionByKeyVersionAndTenantId
(String definitionKey, Integer definitionVersion, String tenantId) findDefinitionByKeyVersionTagAndTenantId
(String definitionKey, String definitionVersionTag, String tenantId) findLatestDecisionDefinitionByKey
(String decisionDefinitionKey) findLatestDecisionDefinitionByKeyAndTenantId
(String decisionDefinitionKey, String tenantId) findLatestDefinitionByKeyAndTenantId
(String definitionKey, String tenantId) findPreviousDecisionDefinitionId
(String decisionDefinitionKey, Integer version, String tenantId) getCachedResourceDefinitionEntity
(String definitionId) void
insertDecisionDefinition
(DecisionDefinitionEntity decisionDefinition) Methods inherited from class org.camunda.bpm.engine.impl.persistence.AbstractManager
checkAuthorization, close, configureQuery, delete, deleteAuthorizations, deleteAuthorizationsForGroup, deleteAuthorizationsForUser, deleteDefaultAuthorizations, flush, getAttachmentManager, getAuthorizationManager, getBatchManager, getByteArrayManager, getCamundaFormDefinitionManager, 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
-
Field Details
-
LOG
-
-
Constructor Details
-
DecisionDefinitionManager
public DecisionDefinitionManager()
-
-
Method Details
-
insertDecisionDefinition
-
deleteDecisionDefinitionsByDeploymentId
-
findDecisionDefinitionById
-
findLatestDecisionDefinitionByKey
- Returns:
- the latest version of the decision definition with the given key (from any tenant)
- Throws:
ProcessEngineException
- if more than one tenant has a decision definition with the given key- See Also:
-
findLatestDecisionDefinitionByKeyAndTenantId
public DecisionDefinitionEntity findLatestDecisionDefinitionByKeyAndTenantId(String decisionDefinitionKey, String tenantId) - Returns:
- the latest version of the decision definition with the given key and tenant id
- See Also:
-
findDecisionDefinitionByKeyAndVersion
public DecisionDefinitionEntity findDecisionDefinitionByKeyAndVersion(String decisionDefinitionKey, Integer decisionDefinitionVersion) -
findDecisionDefinitionByKeyVersionAndTenantId
public DecisionDefinitionEntity findDecisionDefinitionByKeyVersionAndTenantId(String decisionDefinitionKey, Integer decisionDefinitionVersion, String tenantId) -
findDecisionDefinitionByKeyVersionTagAndTenantId
public DecisionDefinitionEntity findDecisionDefinitionByKeyVersionTagAndTenantId(String decisionDefinitionKey, String decisionDefinitionVersionTag, String tenantId) -
findDecisionDefinitionByDeploymentAndKey
public DecisionDefinitionEntity findDecisionDefinitionByDeploymentAndKey(String deploymentId, String decisionDefinitionKey) -
findDecisionDefinitionsByQueryCriteria
public List<DecisionDefinition> findDecisionDefinitionsByQueryCriteria(DecisionDefinitionQueryImpl decisionDefinitionQuery, Page page) -
findDecisionDefinitionCountByQueryCriteria
public long findDecisionDefinitionCountByQueryCriteria(DecisionDefinitionQueryImpl decisionDefinitionQuery) -
findPreviousDecisionDefinitionId
-
findDecisionDefinitionByDeploymentId
-
createDefaultAuthorizations
-
configureDecisionDefinitionQuery
-
configureParameterizedQuery
-
findLatestDefinitionById
- Specified by:
findLatestDefinitionById
in interfaceAbstractResourceDefinitionManager<DecisionDefinitionEntity>
-
findLatestDefinitionByKey
- Specified by:
findLatestDefinitionByKey
in interfaceAbstractResourceDefinitionManager<DecisionDefinitionEntity>
-
getCachedResourceDefinitionEntity
- Specified by:
getCachedResourceDefinitionEntity
in interfaceAbstractResourceDefinitionManager<DecisionDefinitionEntity>
-
findLatestDefinitionByKeyAndTenantId
public DecisionDefinitionEntity findLatestDefinitionByKeyAndTenantId(String definitionKey, String tenantId) - Specified by:
findLatestDefinitionByKeyAndTenantId
in interfaceAbstractResourceDefinitionManager<DecisionDefinitionEntity>
-
findDefinitionByKeyVersionAndTenantId
public DecisionDefinitionEntity findDefinitionByKeyVersionAndTenantId(String definitionKey, Integer definitionVersion, String tenantId) - Specified by:
findDefinitionByKeyVersionAndTenantId
in interfaceAbstractResourceDefinitionManager<DecisionDefinitionEntity>
-
findDefinitionByKeyVersionTagAndTenantId
public DecisionDefinitionEntity findDefinitionByKeyVersionTagAndTenantId(String definitionKey, String definitionVersionTag, String tenantId) - Specified by:
findDefinitionByKeyVersionTagAndTenantId
in interfaceAbstractResourceDefinitionManager<DecisionDefinitionEntity>
-
findDefinitionByDeploymentAndKey
public DecisionDefinitionEntity findDefinitionByDeploymentAndKey(String deploymentId, String definitionKey) - Specified by:
findDefinitionByDeploymentAndKey
in interfaceAbstractResourceDefinitionManager<DecisionDefinitionEntity>
-