Package ca.uhn.fhir.jpa.dao.data
Interface ITermCodeSystemDao
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<TermCodeSystem,
,Long> IHapiFhirJpaRepository
,org.springframework.data.jpa.repository.JpaRepository<TermCodeSystem,
,Long> org.springframework.data.repository.ListCrudRepository<TermCodeSystem,
,Long> org.springframework.data.repository.ListPagingAndSortingRepository<TermCodeSystem,
,Long> org.springframework.data.repository.PagingAndSortingRepository<TermCodeSystem,
,Long> org.springframework.data.repository.query.QueryByExampleExecutor<TermCodeSystem>
,org.springframework.data.repository.Repository<TermCodeSystem,
Long>
public interface ITermCodeSystemDao
extends org.springframework.data.jpa.repository.JpaRepository<TermCodeSystem,Long>, IHapiFhirJpaRepository
-
Method Summary
Modifier and TypeMethodDescriptionfindByCodeSystemUri
(String theCodeSystemUri) findByResourcePid
(Long theResourcePid) findWithCodeSystemVersionAsCurrentVersion
(Long theCodeSystemVersionPid) 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
-
findByCodeSystemUri
@Query("SELECT cs FROM TermCodeSystem cs WHERE cs.myCodeSystemUri = :code_system_uri") TermCodeSystem findByCodeSystemUri(@Param("code_system_uri") String theCodeSystemUri) -
findByResourcePid
@Query("SELECT cs FROM TermCodeSystem cs WHERE cs.myResourcePid = :resource_pid") TermCodeSystem findByResourcePid(@Param("resource_pid") Long theResourcePid) -
findWithCodeSystemVersionAsCurrentVersion
@Query("SELECT cs FROM TermCodeSystem cs WHERE cs.myCurrentVersion.myId = :csv_pid") Optional<TermCodeSystem> findWithCodeSystemVersionAsCurrentVersion(@Param("csv_pid") Long theCodeSystemVersionPid)
-