You are here

getComments

getComments list the comments available for the specified node, with paging if required.

public List<Comment> getComments(Node node)

public List<Comment> getComments(Node node) list the comments available for the specified node.

Parameters

Node node
The node to return comments for.

Returns

Returns a List<Comment> representing a list of comments for the specified node.

Exception

Throws an SkyVaultServiceException if the operation cannot be completed.

Example




      

public PagingResult<Comment> getComments(Node node, ListingContext listingContext)

public PagingResult<Comment> getComments(Node node, ListingContext listingContext) list the comments available for the specified node, with paging.

Parameters

Node node
The node to return comments for.
ListingContext listingContext
The listing context to use to control paging of results. See ListingContext for further information.

Returns

Returns a PagingResult<Comment> representing a paged list of comments for the specified node.

Exception

Throws an SkyVaultServiceException if the operation cannot be completed.

Example