@Repository public interface EscalationRepository extends org.springframework.data.jpa.repository.JpaRepository<Escalation,Long>
| Modifier and Type | Method and Description |
|---|---|
Escalation |
findByDesignationAndComplaintType(Long designationId,
Long comTypeId) |
org.springframework.data.domain.Page<Escalation> |
findEscalationByAll(org.springframework.data.domain.Pageable pageable) |
org.springframework.data.domain.Page<Escalation> |
findEscalationBycomplaintType(Long complaintTypeId,
org.springframework.data.domain.Pageable pageable) |
org.springframework.data.domain.Page<Escalation> |
findEscalationBycomplaintTypeAndDesignation(Long complaintTypeId,
Long designationId,
org.springframework.data.domain.Pageable pageable) |
List<Escalation> |
findEscalationByComplaintTypeId(Long comTypeId) |
org.springframework.data.domain.Page<Escalation> |
findEscalationByDesignation(Long designationId,
org.springframework.data.domain.Pageable pageable) |
deleteAllInBatch, deleteInBatch, findAll, findAll, findAll, findAll, findAll, flush, getOne, save, saveAndFlushfindAll@Query(value=" from Escalation E where E.designation.id=:designationId and E.complaintType.id=:comTypeId") Escalation findByDesignationAndComplaintType(@Param(value="designationId") Long designationId, @Param(value="comTypeId") Long comTypeId)
@Query(value=" from Escalation E where E.complaintType.id=:comTypeId") List<Escalation> findEscalationByComplaintTypeId(@Param(value="comTypeId") Long comTypeId)
@Query(value="select cr from Escalation cr where cr.designation.id=:designationId and cr.complaintType.id=:complaintTypeId") org.springframework.data.domain.Page<Escalation> findEscalationBycomplaintTypeAndDesignation(@Param(value="complaintTypeId") Long complaintTypeId, @Param(value="designationId") Long designationId, org.springframework.data.domain.Pageable pageable)
@Query(value="select cr from Escalation cr ") org.springframework.data.domain.Page<Escalation> findEscalationByAll(org.springframework.data.domain.Pageable pageable)
@Query(value="select cr from Escalation cr where cr.complaintType.id=:complaintTypeId") org.springframework.data.domain.Page<Escalation> findEscalationBycomplaintType(@Param(value="complaintTypeId") Long complaintTypeId, org.springframework.data.domain.Pageable pageable)
@Query(value="select cr from Escalation cr where cr.designation.id=:designationId ") org.springframework.data.domain.Page<Escalation> findEscalationByDesignation(@Param(value="designationId") Long designationId, org.springframework.data.domain.Pageable pageable)
Copyright © 2015–2017 eGovernments Foundation. All rights reserved.