Interface IResourceIndexedSearchParamUriDao

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void deleteByResourceId​(Long theResourcePid)  
      Collection<String> 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, findOne
    • Method Detail

      • findAllByResourceTypeAndParamName

        @Query("SELECT DISTINCT p.myUri FROM ResourceIndexedSearchParamUri p WHERE p.myResourceType = :resource_type AND p.myParamName = :param_name")
        Collection<StringfindAllByResourceTypeAndParamName​(@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)