Package ca.uhn.fhir.jpa.dao.data
Interface ITermValueSetConceptDesignationDao
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<TermValueSetConceptDesignation,,Long> IHapiFhirJpaRepository,org.springframework.data.jpa.repository.JpaRepository<TermValueSetConceptDesignation,,Long> org.springframework.data.repository.PagingAndSortingRepository<TermValueSetConceptDesignation,,Long> org.springframework.data.repository.query.QueryByExampleExecutor<TermValueSetConceptDesignation>,org.springframework.data.repository.Repository<TermValueSetConceptDesignation,Long>
public interface ITermValueSetConceptDesignationDao
extends org.springframework.data.jpa.repository.JpaRepository<TermValueSetConceptDesignation,Long>, 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, findAll, findAll, findAllById, flush, getById, getOne, getReferenceById, saveAll, saveAllAndFlush, saveAndFlushMethods 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)
-