@Repository public interface ConnectionCategoryRepository extends org.springframework.data.jpa.repository.JpaRepository<ConnectionCategory,Long>
| Modifier and Type | Method and Description |
|---|---|
List<ConnectionCategory> |
findByActiveTrueOrderByNameAsc() |
ConnectionCategory |
findByCode(String code) |
ConnectionCategory |
findByCodeIgnoreCase(String code) |
ConnectionCategory |
findByName(String name) |
ConnectionCategory |
findByNameAndCode(String name,
String code) |
List<ConnectionCategory> |
findByNameContainingIgnoreCase(String name) |
ConnectionCategory |
findByNameIgnoreCase(String name) |
List<ConnectionCategory> |
getAllActiveCategoryTypesByPropertyType(Long propertyType) |
List<ConnectionCategory> |
getAllCategoryTypesByPropertyTypeNotInBPL(Long propertyType) |
deleteAllInBatch, deleteInBatch, findAll, findAll, findAll, findAll, findAll, flush, getOne, save, saveAndFlushfindAllConnectionCategory findByName(String name)
ConnectionCategory findByNameAndCode(String name, String code)
ConnectionCategory findByNameIgnoreCase(String name)
ConnectionCategory findByCodeIgnoreCase(String code)
List<ConnectionCategory> findByNameContainingIgnoreCase(String name)
ConnectionCategory findByCode(String code)
List<ConnectionCategory> findByActiveTrueOrderByNameAsc()
@Query(value="select PC.connectionCategory from org.egov.wtms.masters.entity.PropertyCategory PC where PC.propertyType.id=:propertyType and PC.active=true") List<ConnectionCategory> getAllActiveCategoryTypesByPropertyType(@Param(value="propertyType") Long propertyType)
@Query(value="select PC.connectionCategory from org.egov.wtms.masters.entity.PropertyCategory PC where PC.propertyType.id=:propertyType and PC.connectionCategory.name != \'BPL\' ") List<ConnectionCategory> getAllCategoryTypesByPropertyTypeNotInBPL(@Param(value="propertyType") Long propertyType)
Copyright © 2015–2016 eGovernments Foundation. All rights reserved.