Package energy.eddie.aiida.repositories
Interface InboundDataSourceRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<InboundDataSource,,UUID> org.springframework.data.jpa.repository.JpaRepository<InboundDataSource,,UUID> org.springframework.data.repository.ListCrudRepository<InboundDataSource,,UUID> org.springframework.data.repository.ListPagingAndSortingRepository<InboundDataSource,,UUID> org.springframework.data.repository.PagingAndSortingRepository<InboundDataSource,,UUID> org.springframework.data.repository.query.QueryByExampleExecutor<InboundDataSource>,org.springframework.data.repository.Repository<InboundDataSource,UUID>
public interface InboundDataSourceRepository
extends org.springframework.data.jpa.repository.JpaRepository<InboundDataSource,UUID>
-
Method Summary
Modifier and TypeMethodDescriptionfindByProvisioningTypeIn(Set<InboundProvisioningType> provisioningTypes) Finds inbound data sources using one of the requested provisioning types.Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findById, saveMethods inherited from interface org.springframework.data.jpa.repository.JpaRepository
deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, flush, getById, getOne, getReferenceById, saveAllAndFlush, saveAndFlushMethods inherited from interface org.springframework.data.repository.ListCrudRepository
findAll, findAllById, saveAllMethods inherited from interface org.springframework.data.repository.ListPagingAndSortingRepository
findAllMethods inherited from interface org.springframework.data.repository.PagingAndSortingRepository
findAllMethods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor
count, exists, findAll, findBy, findOne
-
Method Details
-
findByProvisioningTypeIn
@EntityGraph(attributePaths={"inboundProvisioningConfig.connection","inboundProvisioningConfig.connection.user","inboundProvisioningConfig.accessControlEntry"}) List<InboundDataSource> findByProvisioningTypeIn(Set<InboundProvisioningType> provisioningTypes) Finds inbound data sources using one of the requested provisioning types. The provisioning connection, user, and access-control entry are loaded eagerly so their MQTT publishers can be restored after application startup.- Parameters:
provisioningTypes- Provisioning types to include.- Returns:
- Matching inbound data sources with their provisioning configuration loaded.
-