Package ca.uhn.fhir.jpa.dao.data
Interface IResourceIndexedComboStringUniqueDao
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<ResourceIndexedComboStringUnique,
,Long> org.springframework.data.jpa.repository.JpaRepository<ResourceIndexedComboStringUnique,
,Long> org.springframework.data.repository.PagingAndSortingRepository<ResourceIndexedComboStringUnique,
,Long> org.springframework.data.repository.query.QueryByExampleExecutor<ResourceIndexedComboStringUnique>
,org.springframework.data.repository.Repository<ResourceIndexedComboStringUnique,
Long>
public interface IResourceIndexedComboStringUniqueDao
extends org.springframework.data.jpa.repository.JpaRepository<ResourceIndexedComboStringUnique,Long>
-
Method Summary
Modifier and TypeMethodDescriptionvoid
deleteByResourceId
(Long theResourcePid) findAllForResourceIdForUnitTest
(Long theResourceId) findByQueryString
(String theQueryString) 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, findAll, findAll, findAllById, flush, getById, getOne, saveAll, saveAllAndFlush, saveAndFlush
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
-
findByQueryString
@Query("SELECT r FROM ResourceIndexedComboStringUnique r WHERE r.myIndexString = :str") ResourceIndexedComboStringUnique findByQueryString(@Param("str") String theQueryString) -
findAllForResourceIdForUnitTest
@Query("SELECT r FROM ResourceIndexedComboStringUnique r WHERE r.myResourceId = :resId") List<ResourceIndexedComboStringUnique> findAllForResourceIdForUnitTest(@Param("resId") Long theResourceId) -
deleteByResourceId
@Modifying @Query("delete from ResourceIndexedComboStringUnique t WHERE t.myResourceId = :resid") void deleteByResourceId(@Param("resid") Long theResourcePid)
-