public interface ISearchResultDao extends org.springframework.data.jpa.repository.JpaRepository<SearchResult,Long>
| Modifier and Type | Method and Description |
|---|---|
void |
deleteForSearch(Long theSearchPid) |
Collection<SearchResult> |
findWithSearchUuid(Search theSearch) |
org.springframework.data.domain.Page<SearchResult> |
findWithSearchUuid(Search theSearch,
org.springframework.data.domain.Pageable thePage) |
deleteAllInBatch, deleteInBatch, findAll, findAll, findAll, findAll, findAll, flush, getOne, save, saveAndFlushfindAll@Query(value="SELECT r FROM SearchResult r WHERE r.mySearch = :search") Collection<SearchResult> findWithSearchUuid(@Param(value="search") Search theSearch)
@Query(value="SELECT r FROM SearchResult r WHERE r.mySearch = :search ORDER BY r.myOrder ASC") org.springframework.data.domain.Page<SearchResult> findWithSearchUuid(@Param(value="search") Search theSearch, org.springframework.data.domain.Pageable thePage)
@Modifying
@Query(value="DELETE FROM SearchResult r WHERE r.mySearchPid = :search")
void deleteForSearch(@Param(value="search")
Long theSearchPid)
Copyright © 2014–2017 University Health Network. All rights reserved.