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