Package africa.absa.inception.reference
Interface MeasurementSystemRepository
-
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<MeasurementSystem,MeasurementSystemId>,org.springframework.data.jpa.repository.JpaRepository<MeasurementSystem,MeasurementSystemId>,org.springframework.data.repository.PagingAndSortingRepository<MeasurementSystem,MeasurementSystemId>,org.springframework.data.repository.query.QueryByExampleExecutor<MeasurementSystem>,org.springframework.data.repository.Repository<MeasurementSystem,MeasurementSystemId>
public interface MeasurementSystemRepository extends org.springframework.data.jpa.repository.JpaRepository<MeasurementSystem,MeasurementSystemId>
The MeasurementSystemRepository interface declares the repository for the MeasurementSystem domain type.- Author:
- Marcus Portmann
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<MeasurementSystem>findAll()List<MeasurementSystem>findByLocaleIdIgnoreCase(String localeId)-
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, findAll, findAllById, flush, getById, getOne, saveAll, saveAllAndFlush, saveAndFlush
-
-
-
-
Method Detail
-
findAll
@Query("select ms from MeasurementSystem ms order by ms.localeId, -ms.sortIndex DESC, ms.name") List<MeasurementSystem> findAll()- Specified by:
findAllin interfaceorg.springframework.data.repository.CrudRepository<MeasurementSystem,MeasurementSystemId>- Specified by:
findAllin interfaceorg.springframework.data.jpa.repository.JpaRepository<MeasurementSystem,MeasurementSystemId>
-
findByLocaleIdIgnoreCase
@Query("select ms from MeasurementSystem ms where upper(ms.localeId) = upper(:localeId) order by ms.localeId, -ms.sortIndex DESC, ms.name") List<MeasurementSystem> findByLocaleIdIgnoreCase(String localeId)
-
-