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 Type
    Method
    Description
    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, save

    Methods inherited from interface org.springframework.data.jpa.repository.JpaRepository

    deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, flush, getById, getOne, getReferenceById, saveAllAndFlush, saveAndFlush

    Methods inherited from interface org.springframework.data.repository.ListCrudRepository

    findAll, findAllById, saveAll

    Methods inherited from interface org.springframework.data.repository.ListPagingAndSortingRepository

    findAll

    Methods inherited from interface org.springframework.data.repository.PagingAndSortingRepository

    findAll

    Methods 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.