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
Constructors Constructor Description DecisionRequirementsDefinitionManager()
-
Method Summary
-
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
-
-
-
-
Method Detail
-
insertDecisionRequirementsDefinition
public void insertDecisionRequirementsDefinition(DecisionRequirementsDefinitionEntity decisionRequirementsDefinition)
-
deleteDecisionRequirementsDefinitionsByDeploymentId
public void deleteDecisionRequirementsDefinitionsByDeploymentId(java.lang.String deploymentId)
-
findDecisionRequirementsDefinitionById
public DecisionRequirementsDefinitionEntity findDecisionRequirementsDefinitionById(java.lang.String decisionRequirementsDefinitionId)
-
findPreviousDecisionRequirementsDefinitionId
public java.lang.String findPreviousDecisionRequirementsDefinitionId(java.lang.String decisionRequirementsDefinitionKey, java.lang.Integer version, java.lang.String tenantId)
-
findDecisionRequirementsDefinitionByDeploymentId
public java.util.List<DecisionRequirementsDefinition> findDecisionRequirementsDefinitionByDeploymentId(java.lang.String deploymentId)
-
findDecisionRequirementsDefinitionByDeploymentAndKey
public DecisionRequirementsDefinitionEntity findDecisionRequirementsDefinitionByDeploymentAndKey(java.lang.String deploymentId, java.lang.String decisionRequirementsDefinitionKey)
-
findLatestDecisionRequirementsDefinitionByKeyAndTenantId
public DecisionRequirementsDefinitionEntity findLatestDecisionRequirementsDefinitionByKeyAndTenantId(java.lang.String decisionRequirementsDefinitionKey, java.lang.String tenantId)
- Returns:
- the latest version of the decision requirements definition with the given key and tenant id
-
findDecisionRequirementsDefinitionsByQueryCriteria
public java.util.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
public DecisionRequirementsDefinitionEntity findLatestDefinitionByKey(java.lang.String key)
- Specified by:
findLatestDefinitionByKey
in interfaceAbstractResourceDefinitionManager<DecisionRequirementsDefinitionEntity>
-
findLatestDefinitionById
public DecisionRequirementsDefinitionEntity findLatestDefinitionById(java.lang.String id)
- Specified by:
findLatestDefinitionById
in interfaceAbstractResourceDefinitionManager<DecisionRequirementsDefinitionEntity>
-
findLatestDefinitionByKeyAndTenantId
public DecisionRequirementsDefinitionEntity findLatestDefinitionByKeyAndTenantId(java.lang.String definitionKey, java.lang.String tenantId)
- Specified by:
findLatestDefinitionByKeyAndTenantId
in interfaceAbstractResourceDefinitionManager<DecisionRequirementsDefinitionEntity>
-
findDefinitionByKeyVersionAndTenantId
public DecisionRequirementsDefinitionEntity findDefinitionByKeyVersionAndTenantId(java.lang.String definitionKey, java.lang.Integer definitionVersion, java.lang.String tenantId)
- Specified by:
findDefinitionByKeyVersionAndTenantId
in interfaceAbstractResourceDefinitionManager<DecisionRequirementsDefinitionEntity>
-
findDefinitionByKeyVersionTagAndTenantId
public DecisionRequirementsDefinitionEntity findDefinitionByKeyVersionTagAndTenantId(java.lang.String definitionKey, java.lang.String definitionVersionTag, java.lang.String tenantId)
- Specified by:
findDefinitionByKeyVersionTagAndTenantId
in interfaceAbstractResourceDefinitionManager<DecisionRequirementsDefinitionEntity>
-
findDefinitionByDeploymentAndKey
public DecisionRequirementsDefinitionEntity findDefinitionByDeploymentAndKey(java.lang.String deploymentId, java.lang.String definitionKey)
- Specified by:
findDefinitionByDeploymentAndKey
in interfaceAbstractResourceDefinitionManager<DecisionRequirementsDefinitionEntity>
-
getCachedResourceDefinitionEntity
public DecisionRequirementsDefinitionEntity getCachedResourceDefinitionEntity(java.lang.String definitionId)
- Specified by:
getCachedResourceDefinitionEntity
in interfaceAbstractResourceDefinitionManager<DecisionRequirementsDefinitionEntity>
-
-