Class PolicyDefinitionEntityManagerImpl
java.lang.Object
org.flowable.common.engine.impl.persistence.entity.AbstractEntityManager<EntityImpl,DM>
org.flowable.common.engine.impl.persistence.entity.AbstractEngineEntityManager<PolicyEngineConfiguration,PolicyDefinitionEntity,PolicyDefinitionDataManager>
com.flowable.policy.engine.impl.persistence.entity.PolicyDefinitionEntityManagerImpl
- All Implemented Interfaces:
PolicyDefinitionEntityManager
,EntityManager<PolicyDefinitionEntity>
public class PolicyDefinitionEntityManagerImpl
extends AbstractEngineEntityManager<PolicyEngineConfiguration,PolicyDefinitionEntity,PolicyDefinitionDataManager>
implements PolicyDefinitionEntityManager
-
Field Summary
Fields inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEngineEntityManager
engineConfiguration
Fields inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntityManager
dataManager, engineType
-
Constructor Summary
ConstructorDescriptionPolicyDefinitionEntityManagerImpl
(PolicyEngineConfiguration configuration, PolicyDefinitionDataManager policyDefinitionDataManager) -
Method Summary
Modifier and TypeMethodDescriptionlong
void
deletePolicyDefinitionsByDeploymentId
(String deploymentId) findLatestPolicyDefinitionByKey
(String policyDefinitionKey) findLatestPolicyDefinitionByKeyAndTenantId
(String policyDefinitionKey, String tenantId) findPolicyDefinitionByDeploymentAndKey
(String deploymentId, String policyDefinitionKey) findPolicyDefinitionByDeploymentAndKeyAndTenantId
(String deploymentId, String policyDefinitionKey, String tenantId) findPolicyDefinitionByKeyAndVersion
(String policyDefinitionKey, Integer policyVersion) findPolicyDefinitionByKeyAndVersionAndTenantId
(String policyDefinitionKey, Integer policyVersion, String tenantId) Methods inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEngineEntityManager
getClock, getCommandExecutor, getEngineConfiguration, getEventDispatcher
Methods inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntityManager
create, createEntityEvent, delete, delete, delete, findById, fireEntityDeletedEvent, fireEntityInsertedEvent, fireEntityUpdatedEvent, getDataManager, insert, insert, setDataManager, update, update
-
Constructor Details
-
PolicyDefinitionEntityManagerImpl
public PolicyDefinitionEntityManagerImpl(PolicyEngineConfiguration configuration, PolicyDefinitionDataManager policyDefinitionDataManager)
-
-
Method Details
-
findLatestPolicyDefinitionByKey
- Specified by:
findLatestPolicyDefinitionByKey
in interfacePolicyDefinitionEntityManager
-
findLatestPolicyDefinitionByKeyAndTenantId
public PolicyDefinitionEntity findLatestPolicyDefinitionByKeyAndTenantId(String policyDefinitionKey, String tenantId) - Specified by:
findLatestPolicyDefinitionByKeyAndTenantId
in interfacePolicyDefinitionEntityManager
-
findPolicyDefinitionByDeploymentAndKey
public PolicyDefinitionEntity findPolicyDefinitionByDeploymentAndKey(String deploymentId, String policyDefinitionKey) - Specified by:
findPolicyDefinitionByDeploymentAndKey
in interfacePolicyDefinitionEntityManager
-
findPolicyDefinitionByDeploymentAndKeyAndTenantId
public PolicyDefinitionEntity findPolicyDefinitionByDeploymentAndKeyAndTenantId(String deploymentId, String policyDefinitionKey, String tenantId) - Specified by:
findPolicyDefinitionByDeploymentAndKeyAndTenantId
in interfacePolicyDefinitionEntityManager
-
createPolicyDefinitionQuery
- Specified by:
createPolicyDefinitionQuery
in interfacePolicyDefinitionEntityManager
-
findByCriteria
- Specified by:
findByCriteria
in interfacePolicyDefinitionEntityManager
-
countByCriteria
- Specified by:
countByCriteria
in interfacePolicyDefinitionEntityManager
-
findPolicyDefinitionByKeyAndVersion
public PolicyDefinitionEntity findPolicyDefinitionByKeyAndVersion(String policyDefinitionKey, Integer policyVersion) - Specified by:
findPolicyDefinitionByKeyAndVersion
in interfacePolicyDefinitionEntityManager
-
findPolicyDefinitionByKeyAndVersionAndTenantId
public PolicyDefinitionEntity findPolicyDefinitionByKeyAndVersionAndTenantId(String policyDefinitionKey, Integer policyVersion, String tenantId) - Specified by:
findPolicyDefinitionByKeyAndVersionAndTenantId
in interfacePolicyDefinitionEntityManager
-
deletePolicyDefinitionsByDeploymentId
- Specified by:
deletePolicyDefinitionsByDeploymentId
in interfacePolicyDefinitionEntityManager
-