Package ca.uhn.fhir.jpa.dao.data
Interface ITermConceptMapDao
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<TermConceptMap,
,Long> IHapiFhirJpaRepository
,org.springframework.data.jpa.repository.JpaRepository<TermConceptMap,
,Long> org.springframework.data.repository.ListCrudRepository<TermConceptMap,
,Long> org.springframework.data.repository.ListPagingAndSortingRepository<TermConceptMap,
,Long> org.springframework.data.repository.PagingAndSortingRepository<TermConceptMap,
,Long> org.springframework.data.repository.query.QueryByExampleExecutor<TermConceptMap>
,org.springframework.data.repository.Repository<TermConceptMap,
Long>
public interface ITermConceptMapDao
extends org.springframework.data.jpa.repository.JpaRepository<TermConceptMap,Long>, IHapiFhirJpaRepository
-
Method Summary
Modifier and TypeMethodDescriptionvoid
deleteTermConceptMapById
(Long theId) findTermConceptMapByResourcePid
(Long theResourcePid) findTermConceptMapByUrl
(String theUrl) Deprecated.findTermConceptMapByUrlAndVersion
(String theUrl, String theVersion) getTermConceptMapEntitiesByUrlOrderByMostRecentUpdate
(org.springframework.data.domain.Pageable thePage, String theUrl) 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
-
deleteTermConceptMapById
@Query("DELETE FROM TermConceptMap cm WHERE cm.myId = :pid") @Modifying void deleteTermConceptMapById(@Param("pid") Long theId) -
findTermConceptMapByResourcePid
@Query("SELECT cm FROM TermConceptMap cm WHERE cm.myResourcePid = :resource_pid") Optional<TermConceptMap> findTermConceptMapByResourcePid(@Param("resource_pid") Long theResourcePid) -
findTermConceptMapByUrl
@Deprecated @Query("SELECT cm FROM TermConceptMap cm WHERE cm.myUrl = :url and cm.myVersion is null") Optional<TermConceptMap> findTermConceptMapByUrl(@Param("url") String theUrl) Deprecated. -
findTermConceptMapByUrlAndNullVersion
@Query("SELECT cm FROM TermConceptMap cm WHERE cm.myUrl = :url and cm.myVersion is null") Optional<TermConceptMap> findTermConceptMapByUrlAndNullVersion(@Param("url") String theUrl) -
getTermConceptMapEntitiesByUrlOrderByMostRecentUpdate
@Query("SELECT cm FROM TermConceptMap cm INNER JOIN ResourceTable r ON r.myId = cm.myResourcePid WHERE cm.myUrl = :url ORDER BY r.myUpdated DESC") List<TermConceptMap> getTermConceptMapEntitiesByUrlOrderByMostRecentUpdate(org.springframework.data.domain.Pageable thePage, @Param("url") String theUrl) -
findTermConceptMapByUrlAndVersion
@Query("SELECT cm FROM TermConceptMap cm WHERE cm.myUrl = :url AND cm.myVersion = :version") Optional<TermConceptMap> findTermConceptMapByUrlAndVersion(@Param("url") String theUrl, @Param("version") String theVersion)
-