public interface CommentService
For additional methods related to product reviews and the currently authenticated customer,
see Sphere.currentCustomer()
.
Modifier and Type | Method and Description |
---|---|
QueryRequest<Comment> |
all()
Deprecated.
since 0.49.0. Use
query() instead. |
FetchRequest<Comment> |
byId(java.lang.String id)
Finds a comment by id.
|
QueryRequest<Comment> |
byProductId(java.lang.String productId)
Queries all comments for a specific product.
|
QueryRequest<Comment> |
query()
Queries comments.
|
Comment |
updateComment(VersionedId commentId,
CommentUpdate update)
Updates a comment.
|
play.libs.F.Promise<SphereResult<Comment>> |
updateCommentAsync(VersionedId commentId,
CommentUpdate update)
Updates a comment asynchronously.
|
FetchRequest<Comment> byId(java.lang.String id)
@Deprecated QueryRequest<Comment> all()
query()
instead.QueryRequest<Comment> query()
QueryRequest<Comment> byProductId(java.lang.String productId)
Comment updateComment(VersionedId commentId, CommentUpdate update)
play.libs.F.Promise<SphereResult<Comment>> updateCommentAsync(VersionedId commentId, CommentUpdate update)