Interface RatingSummaryRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<RatingSummaryEntity,,Long> org.springframework.data.querydsl.QuerydslPredicateExecutor<RatingSummaryEntity>,org.springframework.data.repository.Repository<RatingSummaryEntity,Long>
@Repository
public interface RatingSummaryRepository
extends org.springframework.data.repository.CrudRepository<RatingSummaryEntity,Long>, org.springframework.data.querydsl.QuerydslPredicateExecutor<RatingSummaryEntity>
RatingSummaryRepository
This repository interface to used to interact with database for database CRUD operations.
-
Method Summary
Modifier and TypeMethodDescriptionfindByCollectionId(long collectionid) findByIdAndCollectionId(long id, long collectionid) findByItemIdAndCollectionIdAndClassificationAndStatus(String itemId, long collectionId, RatingClassification classification, RatingStatus status) Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findAll, findAllById, findById, save, saveAllMethods inherited from interface org.springframework.data.querydsl.QuerydslPredicateExecutor
count, exists, findAll, findAll, findAll, findAll, findAll, findBy, findOne
-
Method Details
-
findByIdAndCollectionId
-
findByCollectionId
-
findByItemIdAndCollectionIdAndClassificationAndStatus
Optional<RatingSummaryEntity> findByItemIdAndCollectionIdAndClassificationAndStatus(String itemId, long collectionId, RatingClassification classification, RatingStatus status)
-