
Package ca.uhn.fhir.jpa.dao.data
Interface IResourceSearchUrlDao
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<ResourceSearchUrlEntity,,Long> IHapiFhirJpaRepository,org.springframework.data.jpa.repository.JpaRepository<ResourceSearchUrlEntity,,Long> org.springframework.data.repository.ListCrudRepository<ResourceSearchUrlEntity,,Long> org.springframework.data.repository.ListPagingAndSortingRepository<ResourceSearchUrlEntity,,Long> org.springframework.data.repository.PagingAndSortingRepository<ResourceSearchUrlEntity,,Long> org.springframework.data.repository.query.QueryByExampleExecutor<ResourceSearchUrlEntity>,org.springframework.data.repository.Repository<ResourceSearchUrlEntity,Long>
public interface IResourceSearchUrlDao
extends org.springframework.data.jpa.repository.JpaRepository<ResourceSearchUrlEntity,Long>, IHapiFhirJpaRepository
-
Method Summary
Modifier and TypeMethodDescriptionintdeleteAllWhereCreatedBefore(Date theCutoff) intdeleteByResId(long resId) intdeleteByResIds(List<Long> theIds) 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
-
deleteAllWhereCreatedBefore
@Modifying @Query("DELETE FROM ResourceSearchUrlEntity s WHERE (s.myCreatedTime < :cutoff)") int deleteAllWhereCreatedBefore(@Param("cutoff") Date theCutoff) -
deleteByResId
@Modifying @Query("DELETE FROM ResourceSearchUrlEntity s WHERE (s.myResourcePid = :resID)") int deleteByResId(@Param("resID") long resId) -
deleteByResIds
@Modifying @Query("DELETE FROM ResourceSearchUrlEntity s WHERE s.myResourcePid IN (:resIDS)") int deleteByResIds(@Param("resIDS") List<Long> theIds)
-