org.springframework.social.facebook.api
Class Post
java.lang.Object
org.springframework.social.facebook.api.Post
- Direct Known Subclasses:
- CheckinPost, LinkPost, MusicPost, NotePost, PhotoPost, StatusPost, SwfPost, VideoPost
public class Post
- extends java.lang.Object
Model class representing an entry in a feed.
- Author:
- Craig Walls
Constructor Summary |
Post(java.lang.String id,
Reference from,
java.util.Date createdTime,
java.util.Date updatedTime)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Post
public Post(java.lang.String id,
Reference from,
java.util.Date createdTime,
java.util.Date updatedTime)
getId
public java.lang.String getId()
getFrom
public Reference getFrom()
getTo
public java.util.List<Reference> getTo()
getCaption
public java.lang.String getCaption()
getMessage
public java.lang.String getMessage()
getPicture
@Deprecated
public java.lang.String getPicture()
- Deprecated. This method will be replaced in Spring 1.1.0 with a new version that returns an object with more details about the picture.
- The page's picture.
getLink
public java.lang.String getLink()
getName
public java.lang.String getName()
getDescription
public java.lang.String getDescription()
getIcon
public java.lang.String getIcon()
getCreatedTime
public java.util.Date getCreatedTime()
getUpdatedTime
public java.util.Date getUpdatedTime()
getApplication
public Reference getApplication()
getType
public Post.PostType getType()
getLikeCount
public int getLikeCount()
getComments
public java.util.List<Comment> getComments()
- The most recent comments for the post.