public interface ReviewService
For additional methods related to product comments and the currently authenticated customer,
see Sphere.currentCustomer()
.
Modifier and Type | Method and Description |
---|---|
QueryRequest<Review> |
all()
Deprecated.
since 0.49.0. Use
query() instead. |
FetchRequest<Review> |
byId(java.lang.String id)
Finds a review by id.
|
QueryRequest<Review> |
byProductId(java.lang.String productId)
Queries all reviews for a specific product.
|
QueryRequest<Review> |
query()
Queries reviews in current project.
|
Review |
updateReview(VersionedId reviewId,
ReviewUpdate update)
Updates a review.
|
play.libs.F.Promise<SphereResult<Review>> |
updateReviewAsync(VersionedId reviewId,
ReviewUpdate update)
Updates a review asynchronously.
|
FetchRequest<Review> byId(java.lang.String id)
@Deprecated QueryRequest<Review> all()
query()
instead.QueryRequest<Review> query()
QueryRequest<Review> byProductId(java.lang.String productId)
Review updateReview(VersionedId reviewId, ReviewUpdate update)
play.libs.F.Promise<SphereResult<Review>> updateReviewAsync(VersionedId reviewId, ReviewUpdate update)