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