Interface IResourceIndexedSearchParamUriDao

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

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

    Modifier and Type
    Method
    Description
    void
    deleteByResourceId(Long theResourcePid)
     
    findAllByResourceTypeAndParamName(String theResourceType, String theParamName)
     

    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, findAll, findAll, findAllById, flush, getById, getOne, saveAll, saveAllAndFlush, saveAndFlush

    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

    • findAllByResourceTypeAndParamName

      @Query("SELECT DISTINCT p.myUri FROM ResourceIndexedSearchParamUri p WHERE p.myResourceType = :resource_type AND p.myParamName = :param_name") Collection<String> findAllByResourceTypeAndParamName(@Param("resource_type") String theResourceType, @Param("param_name") String theParamName)
    • deleteByResourceId

      @Modifying @Query("delete from ResourceIndexedSearchParamUri t WHERE t.myResourcePid = :resid") void deleteByResourceId(@Param("resid") Long theResourcePid)