Class ServiceDefinitionEntityManagerImpl
java.lang.Object
org.flowable.common.engine.impl.persistence.entity.AbstractEntityManager<EntityImpl,DM>
org.flowable.common.engine.impl.persistence.entity.AbstractEngineEntityManager<ServiceRegistryEngineConfiguration,ServiceDefinitionEntity,ServiceDefinitionDataManager>
com.flowable.serviceregistry.engine.impl.persistence.entity.ServiceDefinitionEntityManagerImpl
- All Implemented Interfaces:
ServiceDefinitionEntityManager
,EntityManager<ServiceDefinitionEntity>
public class ServiceDefinitionEntityManagerImpl
extends AbstractEngineEntityManager<ServiceRegistryEngineConfiguration,ServiceDefinitionEntity,ServiceDefinitionDataManager>
implements ServiceDefinitionEntityManager
-
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
ConstructorDescriptionServiceDefinitionEntityManagerImpl
(ServiceRegistryEngineConfiguration configuration, ServiceDefinitionDataManager serviceDefinitionDataManager) -
Method Summary
Modifier and TypeMethodDescriptionlong
void
deleteServiceDefinitionsByDeploymentId
(String deploymentId) findByKeyAndBotId
(String key, String botId) 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) findServiceDefinitionByParentDeploymentAndKeyAndTenantId
(String parentDeploymentId, String serviceDefinitionKey, 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
-
ServiceDefinitionEntityManagerImpl
public ServiceDefinitionEntityManagerImpl(ServiceRegistryEngineConfiguration configuration, ServiceDefinitionDataManager serviceDefinitionDataManager)
-
-
Method Details
-
findLatestServiceDefinitionByKey
- Specified by:
findLatestServiceDefinitionByKey
in interfaceServiceDefinitionEntityManager
-
findLatestServiceDefinitionByKeyAndTenantId
public ServiceDefinitionEntity findLatestServiceDefinitionByKeyAndTenantId(String serviceDefinitionKey, String tenantId) - Specified by:
findLatestServiceDefinitionByKeyAndTenantId
in interfaceServiceDefinitionEntityManager
-
findLatestServiceDefinitionByReferenceKey
- Specified by:
findLatestServiceDefinitionByReferenceKey
in interfaceServiceDefinitionEntityManager
-
findLatestServiceDefinitionByReferenceKeyAndTenantId
public ServiceDefinitionEntity findLatestServiceDefinitionByReferenceKeyAndTenantId(String referenceKey, String tenantId) - Specified by:
findLatestServiceDefinitionByReferenceKeyAndTenantId
in interfaceServiceDefinitionEntityManager
-
findServiceDefinitionByDeploymentAndKey
public ServiceDefinitionEntity findServiceDefinitionByDeploymentAndKey(String deploymentId, String serviceDefinitionKey) - Specified by:
findServiceDefinitionByDeploymentAndKey
in interfaceServiceDefinitionEntityManager
-
findServiceDefinitionByDeploymentAndKeyAndTenantId
public ServiceDefinitionEntity findServiceDefinitionByDeploymentAndKeyAndTenantId(String deploymentId, String serviceDefinitionKey, String tenantId) - Specified by:
findServiceDefinitionByDeploymentAndKeyAndTenantId
in interfaceServiceDefinitionEntityManager
-
findServiceDefinitionByParentDeploymentAndKey
public ServiceDefinitionEntity findServiceDefinitionByParentDeploymentAndKey(String parentDeploymentId, String serviceDefinitionKey) - Specified by:
findServiceDefinitionByParentDeploymentAndKey
in interfaceServiceDefinitionEntityManager
-
findServiceDefinitionByParentDeploymentAndKeyAndTenantId
public ServiceDefinitionEntity findServiceDefinitionByParentDeploymentAndKeyAndTenantId(String parentDeploymentId, String serviceDefinitionKey, String tenantId) - Specified by:
findServiceDefinitionByParentDeploymentAndKeyAndTenantId
in interfaceServiceDefinitionEntityManager
-
findServiceDefinitionByDeploymentAndReferenceKey
public ServiceDefinitionEntity findServiceDefinitionByDeploymentAndReferenceKey(String deploymentId, String referenceKey) - Specified by:
findServiceDefinitionByDeploymentAndReferenceKey
in interfaceServiceDefinitionEntityManager
-
findServiceDefinitionByDeploymentAndReferenceKeyAndTenantId
public ServiceDefinitionEntity findServiceDefinitionByDeploymentAndReferenceKeyAndTenantId(String deploymentId, String referenceKey, String tenantId) - Specified by:
findServiceDefinitionByDeploymentAndReferenceKeyAndTenantId
in interfaceServiceDefinitionEntityManager
-
createServiceDefinitionQuery
- Specified by:
createServiceDefinitionQuery
in interfaceServiceDefinitionEntityManager
-
findByCriteria
- Specified by:
findByCriteria
in interfaceServiceDefinitionEntityManager
-
countByCriteria
- Specified by:
countByCriteria
in interfaceServiceDefinitionEntityManager
-
findByKeyAndBotId
- Specified by:
findByKeyAndBotId
in interfaceServiceDefinitionEntityManager
-
findServiceDefinitionByKeyAndVersion
public ServiceDefinitionEntity findServiceDefinitionByKeyAndVersion(String serviceDefinitionKey, Integer serviceVersion) - Specified by:
findServiceDefinitionByKeyAndVersion
in interfaceServiceDefinitionEntityManager
-
findServiceDefinitionByKeyAndVersionAndTenantId
public ServiceDefinitionEntity findServiceDefinitionByKeyAndVersionAndTenantId(String serviceDefinitionKey, Integer serviceVersion, String tenantId) - Specified by:
findServiceDefinitionByKeyAndVersionAndTenantId
in interfaceServiceDefinitionEntityManager
-
deleteServiceDefinitionsByDeploymentId
- Specified by:
deleteServiceDefinitionsByDeploymentId
in interfaceServiceDefinitionEntityManager
-