Interface DistrictRepository
-
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<District,java.util.UUID>
,DistrictRepositoryCustom
,org.springframework.data.jpa.repository.JpaRepository<District,java.util.UUID>
,org.springframework.data.repository.PagingAndSortingRepository<District,java.util.UUID>
,org.springframework.data.repository.query.QueryByExampleExecutor<District>
,org.springframework.data.repository.Repository<District,java.util.UUID>
public interface DistrictRepository extends org.springframework.data.jpa.repository.JpaRepository<District,java.util.UUID>, DistrictRepositoryCustom
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<District>
findAllByOrderByNameAsc()
java.util.Optional<District>
findByName(java.lang.String name)
-
Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteById, existsById, findById, save
-
Methods inherited from interface org.motechproject.mots.repository.custom.DistrictRepositoryCustom
search
-
Methods inherited from interface org.springframework.data.jpa.repository.JpaRepository
deleteAllInBatch, deleteInBatch, findAll, findAll, findAll, findAll, findAllById, flush, getOne, saveAll, saveAndFlush
-
-