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.ListCrudRepository<SubscriptionTable,
,Long> org.springframework.data.repository.ListPagingAndSortingRepository<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 TypeMethodDescriptionvoid
deleteAllForSubscription
(ResourceTable theSubscription) findOneByResourcePid
(Long theId) 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
-
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)
-