Class QueryDefinitionEntityManagerImpl
java.lang.Object
org.flowable.common.engine.impl.persistence.entity.AbstractEntityManager<EntityImpl,DM>
org.flowable.common.engine.impl.persistence.entity.AbstractEngineEntityManager<PlatformEngineConfiguration,QueryDefinitionEntity,QueryDefinitionDataManager>
com.flowable.platform.engine.impl.persistence.entity.QueryDefinitionEntityManagerImpl
- All Implemented Interfaces:
QueryDefinitionEntityManager
,EntityManager<QueryDefinitionEntity>
public class QueryDefinitionEntityManagerImpl
extends AbstractEngineEntityManager<PlatformEngineConfiguration,QueryDefinitionEntity,QueryDefinitionDataManager>
implements QueryDefinitionEntityManager
- Author:
- Yvo Swillens
-
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
ConstructorDescriptionQueryDefinitionEntityManagerImpl
(PlatformEngineConfiguration configuration, QueryDefinitionDataManager queryDefinitionDataManager) -
Method Summary
Modifier and TypeMethodDescriptionlong
void
deleteQueryDefinitionsByDeploymentId
(String deploymentId) findLatestQueryDefinitionByKey
(String queryDefinitionKey) findLatestQueryDefinitionByKeyAndTenantId
(String queryDefinitionKey, String tenantId) findQueryDefinitionByDeploymentAndKey
(String deploymentId, String queryDefinitionKey) findQueryDefinitionByDeploymentAndKeyAndTenantId
(String deploymentId, String queryDefinitionKey, String tenantId) findQueryDefinitionByKeyAndVersion
(String queryDefinitionKey, Integer queryVersion) findQueryDefinitionByKeyAndVersionAndTenantId
(String queryDefinitionKey, Integer queryVersion, 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
-
QueryDefinitionEntityManagerImpl
public QueryDefinitionEntityManagerImpl(PlatformEngineConfiguration configuration, QueryDefinitionDataManager queryDefinitionDataManager)
-
-
Method Details
-
findLatestQueryDefinitionByKey
- Specified by:
findLatestQueryDefinitionByKey
in interfaceQueryDefinitionEntityManager
-
findLatestQueryDefinitionByKeyAndTenantId
public QueryDefinitionEntity findLatestQueryDefinitionByKeyAndTenantId(String queryDefinitionKey, String tenantId) - Specified by:
findLatestQueryDefinitionByKeyAndTenantId
in interfaceQueryDefinitionEntityManager
-
findQueryDefinitionByDeploymentAndKey
public QueryDefinitionEntity findQueryDefinitionByDeploymentAndKey(String deploymentId, String queryDefinitionKey) - Specified by:
findQueryDefinitionByDeploymentAndKey
in interfaceQueryDefinitionEntityManager
-
findQueryDefinitionByDeploymentAndKeyAndTenantId
public QueryDefinitionEntity findQueryDefinitionByDeploymentAndKeyAndTenantId(String deploymentId, String queryDefinitionKey, String tenantId) - Specified by:
findQueryDefinitionByDeploymentAndKeyAndTenantId
in interfaceQueryDefinitionEntityManager
-
createQueryDefinitionQuery
- Specified by:
createQueryDefinitionQuery
in interfaceQueryDefinitionEntityManager
-
findByCriteria
- Specified by:
findByCriteria
in interfaceQueryDefinitionEntityManager
-
countByCriteria
- Specified by:
countByCriteria
in interfaceQueryDefinitionEntityManager
-
findQueryDefinitionByKeyAndVersion
public QueryDefinitionEntity findQueryDefinitionByKeyAndVersion(String queryDefinitionKey, Integer queryVersion) - Specified by:
findQueryDefinitionByKeyAndVersion
in interfaceQueryDefinitionEntityManager
-
findQueryDefinitionByKeyAndVersionAndTenantId
public QueryDefinitionEntity findQueryDefinitionByKeyAndVersionAndTenantId(String queryDefinitionKey, Integer queryVersion, String tenantId) - Specified by:
findQueryDefinitionByKeyAndVersionAndTenantId
in interfaceQueryDefinitionEntityManager
-
deleteQueryDefinitionsByDeploymentId
- Specified by:
deleteQueryDefinitionsByDeploymentId
in interfaceQueryDefinitionEntityManager
-