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>
The RecommendationRequestRepository is a repository for RecommendationRequest entities
  • Method Details

    • findAllByProfessorId

      List<RecommendationRequest> findAllByProfessorId(Long id)
      Find all recommendation request by the professor's user id
      Parameters:
      id - the id of the professor user
      Returns:
      a List of the recommendation request
    • findAllByRequesterId

      List<RecommendationRequest> findAllByRequesterId(Long id)