public class GetDraftComment extends Object implements RestReadView<DraftCommentResource>
| Modifier and Type | Method and Description |
|---|---|
CommentInfo |
apply(DraftCommentResource rsrc)
Process the view operation by reading from the resource.
|
public CommentInfo apply(DraftCommentResource rsrc) throws PermissionBackendException
RestReadViewapply in interface RestReadView<DraftCommentResource>rsrc - resource to read.BinaryResult to avoid automatic conversion
to JSON.PermissionBackendException