
Package ca.uhn.fhir.jpa.dao.data
Interface IResourceReindexJobDao
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<ResourceReindexJobEntity,,Long> org.springframework.data.jpa.repository.JpaRepository<ResourceReindexJobEntity,,Long> org.springframework.data.repository.ListCrudRepository<ResourceReindexJobEntity,,Long> org.springframework.data.repository.ListPagingAndSortingRepository<ResourceReindexJobEntity,,Long> org.springframework.data.repository.PagingAndSortingRepository<ResourceReindexJobEntity,,Long> org.springframework.data.repository.query.QueryByExampleExecutor<ResourceReindexJobEntity>,org.springframework.data.repository.Repository<ResourceReindexJobEntity,Long>
@Deprecated
public interface IResourceReindexJobDao
extends org.springframework.data.jpa.repository.JpaRepository<ResourceReindexJobEntity,Long>
Deprecated.
-
Method Summary
Modifier and TypeMethodDescriptionfindAll(org.springframework.data.domain.Pageable thePage, boolean theDeleted) Deprecated.getReindexCount(Long theId) Deprecated.voidDeprecated.voidmarkAllOfTypeAsDeleted(String theType) Deprecated.voidmarkAsDeletedById(Long theId) Deprecated.voidsetReindexCount(Long theId, int theNewCount) Deprecated.voidsetSuspendedUntil(Date theSuspendedUntil) Deprecated.voidsetThresholdLow(Long theId, Date theLow) Deprecated.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
-
markAllOfTypeAsDeleted
@Modifying @Query("UPDATE ResourceReindexJobEntity j SET j.myDeleted = true WHERE j.myResourceType = :type") void markAllOfTypeAsDeleted(@Param("type") String theType) Deprecated. -
markAllOfTypeAsDeleted
@Modifying @Query("UPDATE ResourceReindexJobEntity j SET j.myDeleted = true") void markAllOfTypeAsDeleted()Deprecated. -
markAsDeletedById
@Modifying @Query("UPDATE ResourceReindexJobEntity j SET j.myDeleted = true WHERE j.myId = :pid") void markAsDeletedById(@Param("pid") Long theId) Deprecated. -
findAll
@Query("SELECT j FROM ResourceReindexJobEntity j WHERE j.myDeleted = :deleted") List<ResourceReindexJobEntity> findAll(org.springframework.data.domain.Pageable thePage, @Param("deleted") boolean theDeleted) Deprecated. -
setSuspendedUntil
@Modifying @Query("UPDATE ResourceReindexJobEntity j SET j.mySuspendedUntil = :suspendedUntil") void setSuspendedUntil(@Param("suspendedUntil") Date theSuspendedUntil) Deprecated. -
setThresholdLow
@Modifying @Query("UPDATE ResourceReindexJobEntity j SET j.myThresholdLow = :low WHERE j.myId = :id") void setThresholdLow(@Param("id") Long theId, @Param("low") Date theLow) Deprecated. -
getReindexCount
@Query("SELECT j.myReindexCount FROM ResourceReindexJobEntity j WHERE j.myId = :id") Optional<Integer> getReindexCount(@Param("id") Long theId) Deprecated. -
setReindexCount
@Query("UPDATE ResourceReindexJobEntity j SET j.myReindexCount = :newCount WHERE j.myId = :id") @Modifying void setReindexCount(@Param("id") Long theId, @Param("newCount") int theNewCount) Deprecated.
-