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