Package edu.ucsb.cs156.rec.repositories
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 Summary
Modifier and TypeMethodDescriptionFind all recommendation request by the professor's user idMethods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findAll, findAllById, findById, save, saveAll 
- 
Method Details
- 
findAllByProfessorId
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
 
 -