Interface IResourceIndexedSearchParamTokenDao

All Superinterfaces:
org.springframework.data.repository.CrudRepository<ResourceIndexedSearchParamToken,Long>, IHapiFhirJpaRepository, org.springframework.data.jpa.repository.JpaRepository<ResourceIndexedSearchParamToken,Long>, org.springframework.data.repository.ListCrudRepository<ResourceIndexedSearchParamToken,Long>, org.springframework.data.repository.ListPagingAndSortingRepository<ResourceIndexedSearchParamToken,Long>, org.springframework.data.repository.PagingAndSortingRepository<ResourceIndexedSearchParamToken,Long>, org.springframework.data.repository.query.QueryByExampleExecutor<ResourceIndexedSearchParamToken>, org.springframework.data.repository.Repository<ResourceIndexedSearchParamToken,Long>

public interface IResourceIndexedSearchParamTokenDao extends org.springframework.data.jpa.repository.JpaRepository<ResourceIndexedSearchParamToken,Long>, IHapiFhirJpaRepository
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    countForResourceId(JpaPid theResourcePid)
     
    void
    deleteByResourceId(JpaPid theResourcePid)
     

    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

    • countForResourceId

      @Query("select count(*) from ResourceIndexedSearchParamToken t WHERE t.myResource.myPid = :resid") int countForResourceId(@Param("resid") JpaPid theResourcePid)
    • deleteByResourceId

      @Modifying @Query("delete from ResourceIndexedSearchParamToken t WHERE t.myResource.myPid = :resid") void deleteByResourceId(@Param("resid") JpaPid theResourcePid)