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 TypeMethodDescriptionvoid
deleteByResourceId
(Long theResourcePid) findAllForResourceId
(Long thePatientId) Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findById, save
Methods inherited from interface org.springframework.data.jpa.repository.JpaRepository
deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, flush, getById, getOne, getReferenceById, saveAllAndFlush, saveAndFlush
Methods inherited from interface org.springframework.data.repository.ListCrudRepository
findAll, findAllById, saveAll
Methods inherited from interface org.springframework.data.repository.ListPagingAndSortingRepository
findAll
Methods inherited from interface org.springframework.data.repository.PagingAndSortingRepository
findAll
Methods 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)
-