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.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(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 ResourceIndexedSearchParamString t WHERE t.myResourcePid = :resId") void deleteByResourceId(@Param("resId") Long theResourcePid) -
findAllForResourceId
@Query("SELECT t FROM ResourceIndexedSearchParamString t WHERE t.myResourcePid = :resId") List<ResourceIndexedSearchParamString> findAllForResourceId(@Param("resId") Long thePatientId)
-