Package ca.uhn.fhir.jpa.dao.data
Interface ISearchParamPresentDao
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<SearchParamPresentEntity,
,Long> IHapiFhirJpaRepository
,org.springframework.data.jpa.repository.JpaRepository<SearchParamPresentEntity,
,Long> org.springframework.data.repository.ListCrudRepository<SearchParamPresentEntity,
,Long> org.springframework.data.repository.ListPagingAndSortingRepository<SearchParamPresentEntity,
,Long> org.springframework.data.repository.PagingAndSortingRepository<SearchParamPresentEntity,
,Long> org.springframework.data.repository.query.QueryByExampleExecutor<SearchParamPresentEntity>
,org.springframework.data.repository.Repository<SearchParamPresentEntity,
Long>
public interface ISearchParamPresentDao
extends org.springframework.data.jpa.repository.JpaRepository<SearchParamPresentEntity,Long>, IHapiFhirJpaRepository
-
Method Summary
Modifier and TypeMethodDescriptionvoid
deleteByResourceId
(Long theResourcePid) findAllForResource
(ResourceTable theResource) 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
-
findAllForResource
@Query("SELECT s FROM SearchParamPresentEntity s WHERE s.myResource = :res") List<SearchParamPresentEntity> findAllForResource(@Param("res") ResourceTable theResource) -
deleteByResourceId
@Modifying @Query("delete from SearchParamPresentEntity t WHERE t.myResourcePid = :resid") void deleteByResourceId(@Param("resid") Long theResourcePid)
-