public interface ITermConceptDao extends org.springframework.data.jpa.repository.JpaRepository<TermConcept,Long>
| Modifier and Type | Method and Description |
|---|---|
void |
deleteByCodeSystemVersion(Long thePid) |
TermConcept |
findByCodeSystemAndCode(TermCodeSystemVersion theCodeSystem,
String theCode) |
List<TermConcept> |
findByCodeSystemVersion(TermCodeSystemVersion theCodeSystem) |
org.springframework.data.domain.Page<TermConcept> |
findResourcesRequiringReindexing(org.springframework.data.domain.Pageable thePageRequest) |
int |
markAllForReindexing() |
deleteAllInBatch, deleteInBatch, findAll, findAll, findAll, findAll, findAll, flush, getOne, save, saveAndFlushfindAll@Query(value="SELECT c FROM TermConcept c WHERE c.myCodeSystem = :code_system AND c.myCode = :code") TermConcept findByCodeSystemAndCode(@Param(value="code_system") TermCodeSystemVersion theCodeSystem, @Param(value="code") String theCode)
@Query(value="SELECT c FROM TermConcept c WHERE c.myCodeSystem = :code_system") List<TermConcept> findByCodeSystemVersion(@Param(value="code_system") TermCodeSystemVersion theCodeSystem)
@Query(value="DELETE FROM TermConcept t WHERE t.myCodeSystem.myId = :cs_pid")
@Modifying
void deleteByCodeSystemVersion(@Param(value="cs_pid")
Long thePid)
@Query(value="UPDATE TermConcept t SET t.myIndexStatus = null") @Modifying int markAllForReindexing()
@Query(value="SELECT t FROM TermConcept t WHERE t.myIndexStatus = null") org.springframework.data.domain.Page<TermConcept> findResourcesRequiringReindexing(org.springframework.data.domain.Pageable thePageRequest)
Copyright © 2014–2017 University Health Network. All rights reserved.