
Package ca.uhn.fhir.jpa.dao.data
Interface IResourceHistoryTagDao
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<ResourceHistoryTag,,Long> IHapiFhirJpaRepository,org.springframework.data.jpa.repository.JpaRepository<ResourceHistoryTag,,Long> org.springframework.data.repository.ListCrudRepository<ResourceHistoryTag,,Long> org.springframework.data.repository.ListPagingAndSortingRepository<ResourceHistoryTag,,Long> org.springframework.data.repository.PagingAndSortingRepository<ResourceHistoryTag,,Long> org.springframework.data.repository.query.QueryByExampleExecutor<ResourceHistoryTag>,org.springframework.data.repository.Repository<ResourceHistoryTag,Long>
public interface IResourceHistoryTagDao
extends org.springframework.data.jpa.repository.JpaRepository<ResourceHistoryTag,Long>, IHapiFhirJpaRepository
-
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteByPid(ResourceHistoryTablePk theResourceHistoryTablePid) findByVersionIds(Collection<ResourceHistoryTablePk> theIdList) 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
-
deleteByPid
@Modifying @Query("DELETE FROM ResourceHistoryTag t WHERE t.myResourceHistory.myId = :historyPid") void deleteByPid(@Param("historyPid") ResourceHistoryTablePk theResourceHistoryTablePid) -
findByVersionIds
@Query("SELECT t FROM ResourceHistoryTag t INNER JOIN FETCH t.myTag WHERE t.myResourceHistory.myId IN (:historyPids)") Collection<ResourceHistoryTag> findByVersionIds(@Param("historyPids") Collection<ResourceHistoryTablePk> theIdList)
-