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.void
Deprecated.void
markAllOfTypeAsDeleted
(String theType) Deprecated.void
markAsDeletedById
(Long theId) Deprecated.void
setReindexCount
(Long theId, int theNewCount) Deprecated.void
setSuspendedUntil
(Date theSuspendedUntil) Deprecated.void
setThresholdLow
(Long theId, Date theLow) Deprecated.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, flush, getById, getOne, getReferenceById, saveAllAndFlush, saveAndFlush
Methods inherited from interface org.springframework.data.repository.ListCrudRepository
findAll, findAllById, saveAll
Methods inherited from interface org.springframework.data.repository.ListPagingAndSortingRepository
findAll
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
-
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.
-