Package ca.uhn.fhir.jpa.dao.data
Interface ISubscriptionTableDao
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<SubscriptionTable,,Long> IHapiFhirJpaRepository,org.springframework.data.jpa.repository.JpaRepository<SubscriptionTable,,Long> org.springframework.data.repository.PagingAndSortingRepository<SubscriptionTable,,Long> org.springframework.data.repository.query.QueryByExampleExecutor<SubscriptionTable>,org.springframework.data.repository.Repository<SubscriptionTable,Long>
public interface ISubscriptionTableDao
extends org.springframework.data.jpa.repository.JpaRepository<SubscriptionTable,Long>, IHapiFhirJpaRepository
-
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteAllForSubscription(ResourceTable theSubscription) findOneByResourcePid(Long theId) 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, findAll, findAll, findAllById, flush, getById, getOne, getReferenceById, saveAll, saveAllAndFlush, saveAndFlushMethods 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
-
deleteAllForSubscription
@Modifying @Query("DELETE FROM SubscriptionTable t WHERE t.mySubscriptionResource = :subscription ") void deleteAllForSubscription(@Param("subscription") ResourceTable theSubscription) -
findOneByResourcePid
@Query("SELECT t FROM SubscriptionTable t WHERE t.myResId = :pid") SubscriptionTable findOneByResourcePid(@Param("pid") Long theId)
-