@Repository public interface ComplaintTypeRepository extends org.springframework.data.jpa.repository.JpaRepository<ComplaintType,Long>
| Modifier and Type | Method and Description |
|---|---|
List<org.egov.infra.admin.master.entity.Department> |
findAllComplaintTypeDepartments() |
ComplaintType |
findByCode(String code) |
List<ComplaintType> |
findByIsActiveTrueAndCategoryIdOrderByNameAsc(Long categoryId) |
List<ComplaintType> |
findByIsActiveTrueAndNameContainingIgnoreCase(String name) |
List<ComplaintType> |
findByIsActiveTrueOrderByNameAsc() |
ComplaintType |
findByName(String name) |
List<ComplaintType> |
findByNameContainingIgnoreCase(String name) |
deleteAllInBatch, deleteInBatch, findAll, findAll, findAll, findAll, findAll, flush, getOne, save, saveAndFlushfindAllComplaintType findByName(String name)
List<ComplaintType> findByIsActiveTrueAndNameContainingIgnoreCase(String name)
List<ComplaintType> findByIsActiveTrueAndCategoryIdOrderByNameAsc(Long categoryId)
ComplaintType findByCode(String code)
@Query(value="select distinct ct.department from ComplaintType ct order by ct.department.name asc") List<org.egov.infra.admin.master.entity.Department> findAllComplaintTypeDepartments()
List<ComplaintType> findByIsActiveTrueOrderByNameAsc()
List<ComplaintType> findByNameContainingIgnoreCase(String name)
Copyright © 2015–2017 eGovernments Foundation. All rights reserved.