Spring Social Facebook

org.springframework.social.facebook.api
Class Post

java.lang.Object
  extended by 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

Nested Class Summary
static class Post.PostType
           
 
Constructor Summary
Post(java.lang.String id, Reference from, java.util.Date createdTime, java.util.Date updatedTime)
           
 
Method Summary
 Reference getApplication()
           
 java.lang.String getCaption()
           
 java.util.List<Comment> getComments()
          The most recent comments for the post.
 java.util.Date getCreatedTime()
           
 java.lang.String getDescription()
           
 Reference getFrom()
           
 java.lang.String getIcon()
           
 java.lang.String getId()
           
 int getLikeCount()
           
 java.lang.String getLink()
           
 java.lang.String getMessage()
           
 java.lang.String getName()
           
 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.
 java.util.List<Reference> getTo()
           
 Post.PostType getType()
           
 java.util.Date getUpdatedTime()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Post

public Post(java.lang.String id,
            Reference from,
            java.util.Date createdTime,
            java.util.Date updatedTime)
Method Detail

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.


Spring Social Facebook