Package ca.uhn.fhir.jpa.dao.data
Interface ITermConceptParentChildLinkDao
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<TermConceptParentChildLink,
,Long> IHapiFhirJpaRepository
,org.springframework.data.jpa.repository.JpaRepository<TermConceptParentChildLink,
,Long> org.springframework.data.repository.ListCrudRepository<TermConceptParentChildLink,
,Long> org.springframework.data.repository.ListPagingAndSortingRepository<TermConceptParentChildLink,
,Long> org.springframework.data.repository.PagingAndSortingRepository<TermConceptParentChildLink,
,Long> org.springframework.data.repository.query.QueryByExampleExecutor<TermConceptParentChildLink>
,org.springframework.data.repository.Repository<TermConceptParentChildLink,
Long>
public interface ITermConceptParentChildLinkDao
extends org.springframework.data.jpa.repository.JpaRepository<TermConceptParentChildLink,Long>, IHapiFhirJpaRepository
-
Method Summary
Modifier and TypeMethodDescriptionint
deleteByCodeSystemVersion
(Long thePid) findAllWithChild
(Long theConceptPid) Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findById, save
Methods inherited from interface org.springframework.data.jpa.repository.JpaRepository
deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, flush, getById, getOne, getReferenceById, saveAllAndFlush, saveAndFlush
Methods inherited from interface org.springframework.data.repository.ListCrudRepository
findAll, findAllById, saveAll
Methods inherited from interface org.springframework.data.repository.ListPagingAndSortingRepository
findAll
Methods inherited from interface org.springframework.data.repository.PagingAndSortingRepository
findAll
Methods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor
count, exists, findAll, findBy, findOne
-
Method Details
-
findAllWithChild
@Query("SELECT t.myParentPid FROM TermConceptParentChildLink t WHERE t.myChildPid = :child_pid") Collection<Long> findAllWithChild(@Param("child_pid") Long theConceptPid) -
deleteByCodeSystemVersion
@Modifying @Query("DELETE FROM TermConceptParentChildLink WHERE myCodeSystemVersionPid = :cs_pid") int deleteByCodeSystemVersion(@Param("cs_pid") Long thePid)
-