Interface SharedFrequencyBandParametersRepository

All Superinterfaces:
org.springframework.data.repository.CrudRepository<SharedFrequencyBandParameters,Long>, DetachableJpaRepository<SharedFrequencyBandParameters,Long>, org.springframework.data.jpa.repository.JpaRepository<SharedFrequencyBandParameters,Long>, org.springframework.data.repository.ListCrudRepository<SharedFrequencyBandParameters,Long>, org.springframework.data.repository.ListPagingAndSortingRepository<SharedFrequencyBandParameters,Long>, org.springframework.data.repository.PagingAndSortingRepository<SharedFrequencyBandParameters,Long>, org.springframework.data.repository.query.QueryByExampleExecutor<SharedFrequencyBandParameters>, org.springframework.data.repository.Repository<SharedFrequencyBandParameters,Long>

@Transactional public interface SharedFrequencyBandParametersRepository extends DetachableJpaRepository<SharedFrequencyBandParameters,Long>
  • Method Summary

    Modifier and Type
    Method
    Description
    findByLowFrequencyAndHighFrequency(double lowFrequency, double highFrequency)
     
     

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

    count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findById, save

    Methods inherited from interface gov.llnl.gnem.apps.coda.common.repository.DetachableJpaRepository

    findOneDetached

    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

    • findDistinctFrequencyBands

      @Query("select distinct p.frequencyBand from SharedFrequencyBandParameters p") List<FrequencyBand> findDistinctFrequencyBands()
    • findByLowFrequencyAndHighFrequency

      @Query("select p from SharedFrequencyBandParameters p where p.frequencyBand.lowFrequency = :lowFrequency and p.frequencyBand.highFrequency = :highFrequency") SharedFrequencyBandParameters findByLowFrequencyAndHighFrequency(@Param("lowFrequency") double lowFrequency, @Param("highFrequency") double highFrequency)