@Repository public interface VacancyRemissionRepository extends org.springframework.data.jpa.repository.JpaRepository<VacancyRemission,Long>
| Modifier and Type | Method and Description |
|---|---|
List<VacancyRemission> |
findAllRejectionAckGeneratedForUpicNo(String name) |
List<VacancyRemission> |
findAllSpecialNoticesGeneratedForUpicNo(String name) |
VacancyRemission |
findByUpicNo(String name) |
DocumentType |
findDocumentTypeByName(String name) |
VacancyRemission |
findRejectedByUpicNo(String name) |
List<VacancyRemission> |
getAllVacancyRemissionByUpicNo(String name) |
deleteAllInBatch, deleteInBatch, findAll, findAll, findAll, findAll, findAll, flush, getOne, save, saveAndFlushfindAll@Query(value="select vr from VacancyRemission vr where vr.basicProperty.upicNo=:upicNo and vr.status = \'APPROVED\'") VacancyRemission findByUpicNo(@Param(value="upicNo") String name)
@Query(value="select vr from VacancyRemission vr where vr.basicProperty.upicNo=:upicNo and vr.status = \'Rejection Acknowledgement Generated\' order by id desc ") List<VacancyRemission> findAllRejectionAckGeneratedForUpicNo(@Param(value="upicNo") String name)
@Query(value="select vr from VacancyRemission vr,VacancyRemissionApproval vra where vr.basicProperty.upicNo=:upicNo and vr.id=vra.vacancyRemission order by vr.id desc ") List<VacancyRemission> findAllSpecialNoticesGeneratedForUpicNo(@Param(value="upicNo") String name)
@Query(value="select vr from VacancyRemission vr where vr.basicProperty.upicNo=:upicNo and vr.status = \'REJECTED\'") VacancyRemission findRejectedByUpicNo(@Param(value="upicNo") String name)
@Query(value="select vr from VacancyRemission vr where vr.basicProperty.upicNo=:upicNo order by id asc ") List<VacancyRemission> getAllVacancyRemissionByUpicNo(@Param(value="upicNo") String name)
@Query(value="select DT from DocumentType DT where DT.name=:name") DocumentType findDocumentTypeByName(@Param(value="name") String name)
Copyright © 2015–2017 eGovernments Foundation. All rights reserved.