Package ca.uhn.fhir.jpa.dao.data
Interface IResourceIndexedSearchParamDateDao
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<ResourceIndexedSearchParamDate,,Long> IHapiFhirJpaRepository,org.springframework.data.jpa.repository.JpaRepository<ResourceIndexedSearchParamDate,,Long> org.springframework.data.repository.PagingAndSortingRepository<ResourceIndexedSearchParamDate,,Long> org.springframework.data.repository.query.QueryByExampleExecutor<ResourceIndexedSearchParamDate>,org.springframework.data.repository.Repository<ResourceIndexedSearchParamDate,Long>
public interface IResourceIndexedSearchParamDateDao
extends org.springframework.data.jpa.repository.JpaRepository<ResourceIndexedSearchParamDate,Long>, IHapiFhirJpaRepository
-
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteByResourceId(Long theResourcePid) findAllForResourceId(Long thePatientId) 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
-
deleteByResourceId
@Modifying @Query("delete from ResourceIndexedSearchParamDate t WHERE t.myResourcePid = :resid") void deleteByResourceId(@Param("resid") Long theResourcePid) -
findAllForResourceId
@Query("SELECT t FROM ResourceIndexedSearchParamDate t WHERE t.myResourcePid = :resId") List<ResourceIndexedSearchParamDate> findAllForResourceId(@Param("resId") Long thePatientId)
-