Interface RecommendationRequestRepository

All Superinterfaces:
org.springframework.data.repository.CrudRepository<RecommendationRequest,Long>, org.springframework.data.repository.Repository<RecommendationRequest,Long>

@Repository public interface RecommendationRequestRepository extends org.springframework.data.repository.CrudRepository<RecommendationRequest,Long>
  • Method Summary

    Modifier and Type
    Method
    Description
    findAllByRequesterId(long requesterId)
    This method returns all the RecommendationRequests with a given requesterId.

    Methods inherited from interface org.springframework.data.repository.CrudRepository

    count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findAll, findAllById, findById, save, saveAll
  • Method Details

    • findAllByRequesterId

      Iterable<RecommendationRequest> findAllByRequesterId(long requesterId)
      This method returns all the RecommendationRequests with a given requesterId.
      Parameters:
      requesterId - id of the requester
      Returns:
      an iterable of RecommendationRequests