
Package ca.uhn.fhir.jpa.dao.data
Interface ITermValueSetConceptDesignationDao
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<TermValueSetConceptDesignation,,IdAndPartitionId> IHapiFhirJpaRepository,org.springframework.data.jpa.repository.JpaRepository<TermValueSetConceptDesignation,,IdAndPartitionId> org.springframework.data.repository.ListCrudRepository<TermValueSetConceptDesignation,,IdAndPartitionId> org.springframework.data.repository.ListPagingAndSortingRepository<TermValueSetConceptDesignation,,IdAndPartitionId> org.springframework.data.repository.PagingAndSortingRepository<TermValueSetConceptDesignation,,IdAndPartitionId> org.springframework.data.repository.query.QueryByExampleExecutor<TermValueSetConceptDesignation>,org.springframework.data.repository.Repository<TermValueSetConceptDesignation,IdAndPartitionId>
public interface ITermValueSetConceptDesignationDao
extends org.springframework.data.jpa.repository.JpaRepository<TermValueSetConceptDesignation,IdAndPartitionId>, IHapiFhirJpaRepository
-
Method Summary
Modifier and TypeMethodDescriptioncountByTermValueSetId(Long theValueSetId) voiddeleteByTermValueSetId(Long theValueSetId) Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findById, saveMethods inherited from interface org.springframework.data.jpa.repository.JpaRepository
deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, flush, getById, getOne, getReferenceById, saveAllAndFlush, saveAndFlushMethods inherited from interface org.springframework.data.repository.ListCrudRepository
findAll, findAllById, saveAllMethods inherited from interface org.springframework.data.repository.ListPagingAndSortingRepository
findAllMethods inherited from interface org.springframework.data.repository.PagingAndSortingRepository
findAllMethods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor
count, exists, findAll, findBy, findOne
-
Method Details
-
countByTermValueSetId
@Query("SELECT COUNT(vscd) FROM TermValueSetConceptDesignation vscd WHERE vscd.myValueSetPid = :pid") Integer countByTermValueSetId(@Param("pid") Long theValueSetId) -
deleteByTermValueSetId
@Query("DELETE FROM TermValueSetConceptDesignation vscd WHERE vscd.myValueSetPid = :pid") @Modifying void deleteByTermValueSetId(@Param("pid") Long theValueSetId)
-