Class MybatisServiceDefinitionDataManager
java.lang.Object
org.flowable.common.engine.impl.db.AbstractDataManager<EntityImpl>
com.flowable.serviceregistry.engine.impl.persistence.entity.data.AbstractServiceRegistryDataManager<ServiceDefinitionEntity>
com.flowable.serviceregistry.engine.impl.persistence.entity.data.impl.MybatisServiceDefinitionDataManager
- All Implemented Interfaces:
ServiceDefinitionDataManager
,DataManager<ServiceDefinitionEntity>
public class MybatisServiceDefinitionDataManager
extends AbstractServiceRegistryDataManager<ServiceDefinitionEntity>
implements ServiceDefinitionDataManager
-
Field Summary
Fields inherited from class com.flowable.serviceregistry.engine.impl.persistence.entity.data.AbstractServiceRegistryDataManager
serviceRegistryEngineConfiguration
Fields inherited from class org.flowable.common.engine.impl.db.AbstractDataManager
MAX_ENTRIES_IN_CLAUSE
-
Constructor Summary
ConstructorDescriptionMybatisServiceDefinitionDataManager
(ServiceRegistryEngineConfiguration serviceRegistryEngineConfiguration) -
Method Summary
Modifier and TypeMethodDescriptionlong
create()
void
deleteServiceDefinitionsByDeploymentId
(String deploymentId) findByKeyAndBotId
(String key, String botId) findCaseDefinitionByParentDeploymentAndKeyAndTenantId
(String parentDeploymentId, String serviceDefinitionKey, String tenantId) findLatestServiceDefinitionByKey
(String serviceDefinitionKey) findLatestServiceDefinitionByKeyAndTenantId
(String serviceDefinitionKey, String tenantId) findLatestServiceDefinitionByReferenceKey
(String referenceKey) findLatestServiceDefinitionByReferenceKeyAndTenantId
(String referenceKey, String tenantId) findServiceDefinitionByDeploymentAndKey
(String deploymentId, String serviceDefinitionKey) findServiceDefinitionByDeploymentAndKeyAndTenantId
(String deploymentId, String serviceDefinitionKey, String tenantId) findServiceDefinitionByDeploymentAndReferenceKey
(String deploymentId, String referenceKey) findServiceDefinitionByDeploymentAndReferenceKeyAndTenantId
(String deploymentId, String referenceKey, String tenantId) findServiceDefinitionByKeyAndVersion
(String serviceDefinitionKey, Integer serviceVersion) findServiceDefinitionByKeyAndVersionAndTenantId
(String serviceDefinitionKey, Integer serviceVersion, String tenantId) findServiceDefinitionByParentDeploymentAndKey
(String parentDeploymentId, String serviceDefinitionKey) Class<? extends ServiceDefinitionEntity>
Methods inherited from class com.flowable.serviceregistry.engine.impl.persistence.entity.data.AbstractServiceRegistryDataManager
getIdGenerator
Methods inherited from class org.flowable.common.engine.impl.db.AbstractDataManager
bulkDelete, bulkDeleteEntities, bulkUpdateEntities, createSafeInValuesList, delete, delete, deleteCachedEntities, deleteCachedEntities, executeChangeWithInClause, findById, findByQuery, getCommandContext, getDbSqlSession, getEntity, getEntityCache, getList, getList, getList, getList, getList, getListFromCache, getListFromCache, getManagedEntitySubClasses, getSession, insert, isEntityInserted, update
-
Constructor Details
-
MybatisServiceDefinitionDataManager
public MybatisServiceDefinitionDataManager(ServiceRegistryEngineConfiguration serviceRegistryEngineConfiguration)
-
-
Method Details
-
getManagedEntityClass
- Specified by:
getManagedEntityClass
in classAbstractDataManager<ServiceDefinitionEntity>
-
create
- Specified by:
create
in interfaceDataManager<ServiceDefinitionEntity>
-
findLatestServiceDefinitionByKey
- Specified by:
findLatestServiceDefinitionByKey
in interfaceServiceDefinitionDataManager
-
findLatestServiceDefinitionByKeyAndTenantId
public ServiceDefinitionEntity findLatestServiceDefinitionByKeyAndTenantId(String serviceDefinitionKey, String tenantId) - Specified by:
findLatestServiceDefinitionByKeyAndTenantId
in interfaceServiceDefinitionDataManager
-
findLatestServiceDefinitionByReferenceKey
- Specified by:
findLatestServiceDefinitionByReferenceKey
in interfaceServiceDefinitionDataManager
-
findLatestServiceDefinitionByReferenceKeyAndTenantId
public ServiceDefinitionEntity findLatestServiceDefinitionByReferenceKeyAndTenantId(String referenceKey, String tenantId) - Specified by:
findLatestServiceDefinitionByReferenceKeyAndTenantId
in interfaceServiceDefinitionDataManager
-
findServiceDefinitionByDeploymentAndKey
public ServiceDefinitionEntity findServiceDefinitionByDeploymentAndKey(String deploymentId, String serviceDefinitionKey) - Specified by:
findServiceDefinitionByDeploymentAndKey
in interfaceServiceDefinitionDataManager
-
findServiceDefinitionByDeploymentAndKeyAndTenantId
public ServiceDefinitionEntity findServiceDefinitionByDeploymentAndKeyAndTenantId(String deploymentId, String serviceDefinitionKey, String tenantId) - Specified by:
findServiceDefinitionByDeploymentAndKeyAndTenantId
in interfaceServiceDefinitionDataManager
-
findServiceDefinitionByParentDeploymentAndKey
public ServiceDefinitionEntity findServiceDefinitionByParentDeploymentAndKey(String parentDeploymentId, String serviceDefinitionKey) - Specified by:
findServiceDefinitionByParentDeploymentAndKey
in interfaceServiceDefinitionDataManager
-
findCaseDefinitionByParentDeploymentAndKeyAndTenantId
public ServiceDefinitionEntity findCaseDefinitionByParentDeploymentAndKeyAndTenantId(String parentDeploymentId, String serviceDefinitionKey, String tenantId) - Specified by:
findCaseDefinitionByParentDeploymentAndKeyAndTenantId
in interfaceServiceDefinitionDataManager
-
findServiceDefinitionByDeploymentAndReferenceKey
public ServiceDefinitionEntity findServiceDefinitionByDeploymentAndReferenceKey(String deploymentId, String referenceKey) - Specified by:
findServiceDefinitionByDeploymentAndReferenceKey
in interfaceServiceDefinitionDataManager
-
findServiceDefinitionByDeploymentAndReferenceKeyAndTenantId
public ServiceDefinitionEntity findServiceDefinitionByDeploymentAndReferenceKeyAndTenantId(String deploymentId, String referenceKey, String tenantId) - Specified by:
findServiceDefinitionByDeploymentAndReferenceKeyAndTenantId
in interfaceServiceDefinitionDataManager
-
findByCriteria
- Specified by:
findByCriteria
in interfaceServiceDefinitionDataManager
-
countByCriteria
- Specified by:
countByCriteria
in interfaceServiceDefinitionDataManager
-
findByKeyAndBotId
- Specified by:
findByKeyAndBotId
in interfaceServiceDefinitionDataManager
-
findServiceDefinitionByKeyAndVersion
public ServiceDefinitionEntity findServiceDefinitionByKeyAndVersion(String serviceDefinitionKey, Integer serviceVersion) - Specified by:
findServiceDefinitionByKeyAndVersion
in interfaceServiceDefinitionDataManager
-
findServiceDefinitionByKeyAndVersionAndTenantId
public ServiceDefinitionEntity findServiceDefinitionByKeyAndVersionAndTenantId(String serviceDefinitionKey, Integer serviceVersion, String tenantId) - Specified by:
findServiceDefinitionByKeyAndVersionAndTenantId
in interfaceServiceDefinitionDataManager
-
deleteServiceDefinitionsByDeploymentId
- Specified by:
deleteServiceDefinitionsByDeploymentId
in interfaceServiceDefinitionDataManager
-