Class DecisionRequirementsDefinitionManager
java.lang.Object
org.camunda.bpm.engine.impl.persistence.AbstractManager
org.camunda.bpm.engine.impl.dmn.entity.repository.DecisionRequirementsDefinitionManager
- All Implemented Interfaces:
Session
,AbstractResourceDefinitionManager<DecisionRequirementsDefinitionEntity>
public class DecisionRequirementsDefinitionManager
extends AbstractManager
implements AbstractResourceDefinitionManager<DecisionRequirementsDefinitionEntity>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
protected void
createDefaultAuthorizations
(DecisionRequirementsDefinition decisionRequirementsDefinition) void
deleteDecisionRequirementsDefinitionsByDeploymentId
(String deploymentId) findDecisionRequirementsDefinitionByDeploymentAndKey
(String deploymentId, String decisionRequirementsDefinitionKey) findDecisionRequirementsDefinitionByDeploymentId
(String deploymentId) findDecisionRequirementsDefinitionById
(String decisionRequirementsDefinitionId) long
findDecisionRequirementsDefinitionCountByQueryCriteria
(DecisionRequirementsDefinitionQueryImpl query) findDecisionRequirementsDefinitionsByQueryCriteria
(DecisionRequirementsDefinitionQueryImpl query, Page page) findDefinitionByDeploymentAndKey
(String deploymentId, String definitionKey) findDefinitionByKeyVersionAndTenantId
(String definitionKey, Integer definitionVersion, String tenantId) findDefinitionByKeyVersionTagAndTenantId
(String definitionKey, String definitionVersionTag, String tenantId) findLatestDecisionRequirementsDefinitionByKeyAndTenantId
(String decisionRequirementsDefinitionKey, String tenantId) findLatestDefinitionByKeyAndTenantId
(String definitionKey, String tenantId) findPreviousDecisionRequirementsDefinitionId
(String decisionRequirementsDefinitionKey, Integer version, String tenantId) getCachedResourceDefinitionEntity
(String definitionId) void
insertDecisionRequirementsDefinition
(DecisionRequirementsDefinitionEntity decisionRequirementsDefinition) 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
-
Constructor Details
-
DecisionRequirementsDefinitionManager
public DecisionRequirementsDefinitionManager()
-
-
Method Details
-
insertDecisionRequirementsDefinition
public void insertDecisionRequirementsDefinition(DecisionRequirementsDefinitionEntity decisionRequirementsDefinition) -
deleteDecisionRequirementsDefinitionsByDeploymentId
-
findDecisionRequirementsDefinitionById
public DecisionRequirementsDefinitionEntity findDecisionRequirementsDefinitionById(String decisionRequirementsDefinitionId) -
findPreviousDecisionRequirementsDefinitionId
-
findDecisionRequirementsDefinitionByDeploymentId
public List<DecisionRequirementsDefinition> findDecisionRequirementsDefinitionByDeploymentId(String deploymentId) -
findDecisionRequirementsDefinitionByDeploymentAndKey
public DecisionRequirementsDefinitionEntity findDecisionRequirementsDefinitionByDeploymentAndKey(String deploymentId, String decisionRequirementsDefinitionKey) -
findLatestDecisionRequirementsDefinitionByKeyAndTenantId
public DecisionRequirementsDefinitionEntity findLatestDecisionRequirementsDefinitionByKeyAndTenantId(String decisionRequirementsDefinitionKey, String tenantId) - Returns:
- the latest version of the decision requirements definition with the given key and tenant id
-
findDecisionRequirementsDefinitionsByQueryCriteria
public List<DecisionRequirementsDefinition> findDecisionRequirementsDefinitionsByQueryCriteria(DecisionRequirementsDefinitionQueryImpl query, Page page) -
findDecisionRequirementsDefinitionCountByQueryCriteria
public long findDecisionRequirementsDefinitionCountByQueryCriteria(DecisionRequirementsDefinitionQueryImpl query) -
createDefaultAuthorizations
protected void createDefaultAuthorizations(DecisionRequirementsDefinition decisionRequirementsDefinition) -
configureDecisionRequirementsDefinitionQuery
protected void configureDecisionRequirementsDefinitionQuery(DecisionRequirementsDefinitionQueryImpl query) -
findLatestDefinitionByKey
- Specified by:
findLatestDefinitionByKey
in interfaceAbstractResourceDefinitionManager<DecisionRequirementsDefinitionEntity>
-
findLatestDefinitionById
- Specified by:
findLatestDefinitionById
in interfaceAbstractResourceDefinitionManager<DecisionRequirementsDefinitionEntity>
-
findLatestDefinitionByKeyAndTenantId
public DecisionRequirementsDefinitionEntity findLatestDefinitionByKeyAndTenantId(String definitionKey, String tenantId) - Specified by:
findLatestDefinitionByKeyAndTenantId
in interfaceAbstractResourceDefinitionManager<DecisionRequirementsDefinitionEntity>
-
findDefinitionByKeyVersionAndTenantId
public DecisionRequirementsDefinitionEntity findDefinitionByKeyVersionAndTenantId(String definitionKey, Integer definitionVersion, String tenantId) - Specified by:
findDefinitionByKeyVersionAndTenantId
in interfaceAbstractResourceDefinitionManager<DecisionRequirementsDefinitionEntity>
-
findDefinitionByKeyVersionTagAndTenantId
public DecisionRequirementsDefinitionEntity findDefinitionByKeyVersionTagAndTenantId(String definitionKey, String definitionVersionTag, String tenantId) - Specified by:
findDefinitionByKeyVersionTagAndTenantId
in interfaceAbstractResourceDefinitionManager<DecisionRequirementsDefinitionEntity>
-
findDefinitionByDeploymentAndKey
public DecisionRequirementsDefinitionEntity findDefinitionByDeploymentAndKey(String deploymentId, String definitionKey) - Specified by:
findDefinitionByDeploymentAndKey
in interfaceAbstractResourceDefinitionManager<DecisionRequirementsDefinitionEntity>
-
getCachedResourceDefinitionEntity
- Specified by:
getCachedResourceDefinitionEntity
in interfaceAbstractResourceDefinitionManager<DecisionRequirementsDefinitionEntity>
-