query_comments
Description:
public Feed? query_comments (Service service, Query? query, Cancellable? cancellable, QueryProgressCallback? progress_callback) throws Error
Retrieves a Feed containing the
Comments representing the comments on the
Commentable which match the given query
.
If the Commentable doesn't support commenting, null
will be
returned and error
will be set to FORBIDDEN. This is in
contrast to if it does support commenting but hasn't had any comments added yet, in which case an empty
Feed will be returned and no error will be set.
Parameters:
this | |
service |
a Service representing the service with which the object's comments will be manipulated |
query |
a Query with query parameters, or |
cancellable |
optional Cancellable object, or |
progress_callback |
a QueryProgressCallback to call when a comment is loaded, or
|
progress_user_data |
data to pass to the |