|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aetrion.flickr.photosets.comments.PhotosetsCommentsInterface
public class PhotosetsCommentsInterface
Access to the flickr.photosets.comments methods
Field Summary | |
---|---|
static java.lang.String |
METHOD_ADD_COMMENT
|
static java.lang.String |
METHOD_DELETE_COMMENT
|
static java.lang.String |
METHOD_EDIT_COMMENT
|
static java.lang.String |
METHOD_GET_LIST
|
Constructor Summary | |
---|---|
PhotosetsCommentsInterface(java.lang.String apiKey,
Transport transport)
|
Method Summary | |
---|---|
java.lang.String |
addComment(java.lang.String photosetId,
java.lang.String commentText)
Add a comment to a photoset. |
void |
deleteComment(java.lang.String commentId)
Delete a photoset comment as the currently authenticated user. |
void |
editComment(java.lang.String commentId,
java.lang.String commentText)
Edit the text of a comment as the currently authenticated user. |
java.util.List |
getList(java.lang.String photosetId)
Returns the comments for a photoset. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String METHOD_ADD_COMMENT
public static final java.lang.String METHOD_DELETE_COMMENT
public static final java.lang.String METHOD_EDIT_COMMENT
public static final java.lang.String METHOD_GET_LIST
Constructor Detail |
---|
public PhotosetsCommentsInterface(java.lang.String apiKey, Transport transport)
Method Detail |
---|
public java.lang.String addComment(java.lang.String photosetId, java.lang.String commentText) throws FlickrException, java.io.IOException, org.xml.sax.SAXException
photosetId
- The id of the photoset to add a comment to.commentText
- Text of the comment
FlickrException
java.io.IOException
org.xml.sax.SAXException
public void deleteComment(java.lang.String commentId) throws FlickrException, java.io.IOException, org.xml.sax.SAXException
commentId
- The id of the comment to delete from a photoset.
FlickrException
java.io.IOException
org.xml.sax.SAXException
public void editComment(java.lang.String commentId, java.lang.String commentText) throws java.io.IOException, org.xml.sax.SAXException, FlickrException
commentId
- The id of the comment to edit.commentText
- Update the comment to this text.
java.io.IOException
org.xml.sax.SAXException
FlickrException
public java.util.List getList(java.lang.String photosetId) throws java.io.IOException, org.xml.sax.SAXException, FlickrException
photosetId
- The id of the photoset to fetch comments for.
Comment
objects
org.xml.sax.SAXException
java.io.IOException
FlickrException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |