com.atlassian.greenhopper.web.rapid.issue
Class CommentResource

java.lang.Object
  extended by com.atlassian.greenhopper.web.rapid.issue.CommentResource

public class CommentResource
extends java.lang.Object

Provides issue related rest resources


Constructor Summary
CommentResource(CommentModelFactory commentModelFactory)
           
 
Method Summary
 javax.ws.rs.core.Response getAllComments(java.lang.String issueKey)
          Get all comments
 javax.ws.rs.core.Response getMoreComments(java.lang.String issueKey, int numComments)
          Get more comments
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommentResource

public CommentResource(CommentModelFactory commentModelFactory)
Method Detail

getMoreComments

public javax.ws.rs.core.Response getMoreComments(java.lang.String issueKey,
                                                 int numComments)
Get more comments

Parameters:
numComments - the number of comments to return

getAllComments

public javax.ws.rs.core.Response getAllComments(java.lang.String issueKey)
Get all comments



Copyright © 2007-2011 Atlassian. All Rights Reserved.