public class DecisionDefinitionManager extends AbstractManager implements AbstractResourceDefinitionManager<DecisionDefinitionEntity>
Modifier and Type | Field and Description |
---|---|
protected static EnginePersistenceLogger |
LOG |
Constructor and Description |
---|
DecisionDefinitionManager() |
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 insertDecisionDefinition(DecisionDefinitionEntity decisionDefinition)
public void deleteDecisionDefinitionsByDeploymentId(String deploymentId)
public DecisionDefinitionEntity findDecisionDefinitionById(String decisionDefinitionId)
public DecisionDefinitionEntity findLatestDecisionDefinitionByKey(String decisionDefinitionKey)
ProcessEngineException
- if more than one tenant has a decision definition with the given keyfindLatestDecisionDefinitionByKeyAndTenantId(String, String)
public DecisionDefinitionEntity findLatestDecisionDefinitionByKeyAndTenantId(String decisionDefinitionKey, String tenantId)
findLatestDecisionDefinitionByKey(String)
public DecisionDefinitionEntity findDecisionDefinitionByKeyAndVersion(String decisionDefinitionKey, Integer decisionDefinitionVersion)
public DecisionDefinitionEntity findDecisionDefinitionByKeyVersionAndTenantId(String decisionDefinitionKey, Integer decisionDefinitionVersion, String tenantId)
public DecisionDefinitionEntity findDecisionDefinitionByDeploymentAndKey(String deploymentId, String decisionDefinitionKey)
public List<DecisionDefinition> findDecisionDefinitionsByQueryCriteria(DecisionDefinitionQueryImpl decisionDefinitionQuery, Page page)
public long findDecisionDefinitionCountByQueryCriteria(DecisionDefinitionQueryImpl decisionDefinitionQuery)
public String findPreviousDecisionDefinitionId(String decisionDefinitionKey, Integer version, String tenantId)
public List<DecisionDefinition> findDecisionDefinitionByDeploymentId(String deploymentId)
protected void createDefaultAuthorizations(DecisionDefinition decisionDefinition)
protected void configureDecisionDefinitionQuery(DecisionDefinitionQueryImpl query)
protected ListQueryParameterObject configureParameterizedQuery(Object parameter)
public DecisionDefinitionEntity findLatestDefinitionById(String id)
findLatestDefinitionById
in interface AbstractResourceDefinitionManager<DecisionDefinitionEntity>
public DecisionDefinitionEntity findLatestDefinitionByKey(String key)
findLatestDefinitionByKey
in interface AbstractResourceDefinitionManager<DecisionDefinitionEntity>
public DecisionDefinitionEntity getCachedResourceDefinitionEntity(String definitionId)
getCachedResourceDefinitionEntity
in interface AbstractResourceDefinitionManager<DecisionDefinitionEntity>
public DecisionDefinitionEntity findLatestDefinitionByKeyAndTenantId(String definitionKey, String tenantId)
findLatestDefinitionByKeyAndTenantId
in interface AbstractResourceDefinitionManager<DecisionDefinitionEntity>
public DecisionDefinitionEntity findDefinitionByKeyVersionAndTenantId(String definitionKey, Integer definitionVersion, String tenantId)
findDefinitionByKeyVersionAndTenantId
in interface AbstractResourceDefinitionManager<DecisionDefinitionEntity>
public DecisionDefinitionEntity findDefinitionByDeploymentAndKey(String deploymentId, String definitionKey)
findDefinitionByDeploymentAndKey
in interface AbstractResourceDefinitionManager<DecisionDefinitionEntity>
Copyright © 2017. All rights reserved.