|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jickr.Comment
public class Comment
A Comment, attached to either a PhotoSet or a Photo.
This object is created by the getComments
call from
either Photo
or Photoset
Photo.getComments()
,
PhotoSet.getComments()
Method Summary | |
---|---|
void |
delete()
Delete this comment from Flickr. |
boolean |
equals(java.lang.Object o)
Check if this comment is equal to the one supplied. |
User |
getAuthor()
Get the author of the comment. |
java.lang.String |
getID()
Get the ID for this Comment |
java.lang.String |
getPermalink()
Get the permanent link that leads to this comment. |
java.lang.String |
getText()
Get the text associated with the comment. |
int |
hashCode()
Return the HashCode of this Comment, based on ID. |
void |
updateText(java.lang.String commentText)
Change the text of this comment to the supplied text. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public java.lang.String getID()
public User getAuthor()
Comment
.public java.lang.String getPermalink()
public java.lang.String getText()
public void updateText(java.lang.String commentText) throws FlickrException
commentText
- New text that this comment should contain.
FlickrException
- in the event of any error.public void delete() throws FlickrException
FlickrException
- On the event of any error.public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
- Object to compare.
public int hashCode()
hashCode
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |