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> 
- 
Method SummaryModifier and TypeMethodDescriptionfindAllByRequesterId(long requesterId) This method returns all the RecommendationRequests with a given requesterId.Methods inherited from interface org.springframework.data.repository.CrudRepositorycount, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findAll, findAllById, findById, save, saveAll
- 
Method Details- 
findAllByRequesterIdThis method returns all the RecommendationRequests with a given requesterId.- Parameters:
- requesterId- id of the requester
- Returns:
- an iterable of RecommendationRequests
 
 
-