api.basecamp
Class Comments
java.lang.Object
api.basecamp.Comments
public class Comments
- extends java.lang.Object
Collection of BaseCamp Comment Objects
- Author:
- jondavidjohn
Constructor Summary |
Comments(BCAuth auth,
java.lang.String resourceType,
int resourceId)
Get All Comments for given resource (up to 50) |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Comments
public Comments(BCAuth auth,
java.lang.String resourceType,
int resourceId)
- Get All Comments for given resource (up to 50)
- Parameters:
auth
- BCAuthresourceType
- String type of resource example... "posts" , "milestones" , "todo_items"resourceId
- int id of resource
getComments
public java.util.List<Comment> getComments()
- Returns:
- List collection of Comment objects
getComment
public Comment getComment(int index)
- Get comment according to index
- Parameters:
index
- index of Comment
- Returns:
- Comment
getCommentCount
public int getCommentCount()
- Returns:
- count of Comments in collection