Interface RatingFeedbackRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<RatingFeedbackEntity,
,Long> org.springframework.data.querydsl.QuerydslPredicateExecutor<RatingFeedbackEntity>
,org.springframework.data.repository.Repository<RatingFeedbackEntity,
Long>
@Repository
public interface RatingFeedbackRepository
extends org.springframework.data.repository.CrudRepository<RatingFeedbackEntity,Long>, org.springframework.data.querydsl.QuerydslPredicateExecutor<RatingFeedbackEntity>
Interface RatingFeedbackRepository
This repository interface to used to interact with database for database CRUD operations.
-
Method Summary
Modifier and TypeMethodDescriptioncountByRatingreviewAndFeedback
(RatingsReviewsEntity ratingsReviewsEntity, Feedback feedback) findByIdAndUserPreferenceId
(long id, String userPreferenceId) findByUserPreferenceIdAndRatingreview
(String userid, RatingsReviewsEntity ratingsReviewsEntity) Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findAll, findAllById, findById, save, saveAll
Methods inherited from interface org.springframework.data.querydsl.QuerydslPredicateExecutor
count, exists, findAll, findAll, findAll, findAll, findAll, findBy, findOne
-
Method Details
-
findByIdAndUserPreferenceId
-
findByUserPreferenceIdAndRatingreview
Optional<RatingFeedbackEntity> findByUserPreferenceIdAndRatingreview(String userid, RatingsReviewsEntity ratingsReviewsEntity) -
countByRatingreviewAndFeedback
Integer countByRatingreviewAndFeedback(RatingsReviewsEntity ratingsReviewsEntity, Feedback feedback)
-