
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.ListCrudRepository<ResourceIndexedComboStringUnique,,Long> org.springframework.data.repository.ListPagingAndSortingRepository<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 TypeMethodDescriptionvoiddeleteByResourceId(JpaPid theResourcePid) findAllForResourceIdForUnitTest(JpaPid theResourceId) findByQueryString(String theQueryString) 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
-
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.myResource.myPid = :resId") List<ResourceIndexedComboStringUnique> findAllForResourceIdForUnitTest(@Param("resId") JpaPid theResourceId) -
deleteByResourceId
@Modifying @Query("delete from ResourceIndexedComboStringUnique t WHERE t.myResource.myPid = :resid") void deleteByResourceId(@Param("resid") JpaPid theResourcePid)
-