|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.social.facebook.api.FacebookObject org.springframework.social.facebook.api.Comment
public class Comment
Model class representing a comment.
Constructor Summary | |
---|---|
Comment(String id,
Reference from,
String message,
Date createdTime)
Constructs a Comment object. |
Method Summary | |
---|---|
Date |
getCreatedTime()
The time the comment was created. |
Reference |
getFrom()
A reference to the user who posted the comment. |
String |
getId()
The comment's Graph API object ID |
List<Reference> |
getLikes()
A list of references to users who liked this comment. |
int |
getLikesCount()
The number of users who like this comment. |
String |
getMessage()
The text of the comment |
Methods inherited from class org.springframework.social.facebook.api.FacebookObject |
---|
add, getExtraData |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Comment(String id, Reference from, String message, Date createdTime)
id
- the comment's Graph API IDfrom
- the author of the commentmessage
- the comment textcreatedTime
- the creation time of the commentMethod Detail |
---|
public String getId()
public String getMessage()
public Date getCreatedTime()
public Reference getFrom()
public List<Reference> getLikes()
public int getLikesCount()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |