facebook4j.internal.json
Class PostJSONImpl
java.lang.Object
facebook4j.internal.json.FacebookResponseImpl
facebook4j.internal.json.PostJSONImpl
- All Implemented Interfaces:
- FacebookResponse, Post, java.io.Serializable
final class PostJSONImpl
- extends FacebookResponseImpl
- implements Post, java.io.Serializable
- Author:
- Ryuji Yamashita - roundrop at gmail.com
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
id
private java.lang.String id
from
private Category from
to
private java.util.List<IdNameEntity> to
message
private java.lang.String message
messageTags
private java.util.List<Tag> messageTags
picture
private java.net.URL picture
link
private java.net.URL link
name
private java.lang.String name
caption
private java.lang.String caption
description
private java.lang.String description
source
private java.net.URL source
properties
private java.util.List<Post.Property> properties
icon
private java.net.URL icon
actions
private java.util.List<Post.Action> actions
privacy
private Privacy privacy
type
private java.lang.String type
sharesCount
private java.lang.Integer sharesCount
likes
private PagableList<Like> likes
place
private Place place
statusType
private java.lang.String statusType
story
private java.lang.String story
storyTags
private java.util.Map<java.lang.String,Tag[]> storyTags
withTags
private java.util.List<IdNameEntity> withTags
comments
private PagableList<Comment> comments
objectId
private java.lang.String objectId
application
private Application application
createdTime
private java.util.Date createdTime
updatedTime
private java.util.Date updatedTime
isPublished
private java.lang.Boolean isPublished
scheduledPublishTime
private java.lang.Integer scheduledPublishTime
targeting
private Targeting targeting
PostJSONImpl
PostJSONImpl(HttpResponse res,
Configuration conf)
throws FacebookException
- Throws:
FacebookException
PostJSONImpl
PostJSONImpl(JSONObject json)
throws FacebookException
- Throws:
FacebookException
init
private void init(JSONObject json)
throws FacebookException
- Throws:
FacebookException
getId
public java.lang.String getId()
- Specified by:
getId in interface Post
getFrom
public Category getFrom()
- Specified by:
getFrom in interface Post
getTo
public java.util.List<IdNameEntity> getTo()
- Specified by:
getTo in interface Post
getMessage
public java.lang.String getMessage()
- Specified by:
getMessage in interface Post
getMessageTags
public java.util.List<Tag> getMessageTags()
- Specified by:
getMessageTags in interface Post
getPicture
public java.net.URL getPicture()
- Specified by:
getPicture in interface Post
getLink
public java.net.URL getLink()
- Specified by:
getLink in interface Post
getName
public java.lang.String getName()
- Specified by:
getName in interface Post
getCaption
public java.lang.String getCaption()
- Specified by:
getCaption in interface Post
getDescription
public java.lang.String getDescription()
- Specified by:
getDescription in interface Post
getSource
public java.net.URL getSource()
- Specified by:
getSource in interface Post
getProperties
public java.util.List<Post.Property> getProperties()
- Specified by:
getProperties in interface Post
getIcon
public java.net.URL getIcon()
- Specified by:
getIcon in interface Post
getActions
public java.util.List<Post.Action> getActions()
- Specified by:
getActions in interface Post
getPrivacy
public Privacy getPrivacy()
- Specified by:
getPrivacy in interface Post
getType
public java.lang.String getType()
- Specified by:
getType in interface Post
getSharesCount
public java.lang.Integer getSharesCount()
- Specified by:
getSharesCount in interface Post
getLikes
public PagableList<Like> getLikes()
- Specified by:
getLikes in interface Post
getPlace
public Place getPlace()
- Specified by:
getPlace in interface Post
getStatusType
public java.lang.String getStatusType()
- Specified by:
getStatusType in interface Post
getStory
public java.lang.String getStory()
- Specified by:
getStory in interface Post
getStoryTags
public java.util.Map<java.lang.String,Tag[]> getStoryTags()
- Specified by:
getStoryTags in interface Post
getWithTags
public java.util.List<IdNameEntity> getWithTags()
- Specified by:
getWithTags in interface Post
getComments
public PagableList<Comment> getComments()
- Specified by:
getComments in interface Post
getObjectId
public java.lang.String getObjectId()
- Specified by:
getObjectId in interface Post
getApplication
public Application getApplication()
- Specified by:
getApplication in interface Post
getCreatedTime
public java.util.Date getCreatedTime()
- Specified by:
getCreatedTime in interface Post
getUpdatedTime
public java.util.Date getUpdatedTime()
- Specified by:
getUpdatedTime in interface Post
isPublished
public java.lang.Boolean isPublished()
- Specified by:
isPublished in interface Post
getScheduledPublishTime
public java.util.Date getScheduledPublishTime()
- Specified by:
getScheduledPublishTime in interface Post
getTargeting
public Targeting getTargeting()
- Specified by:
getTargeting in interface Post
createPostList
static ResponseList<Post> createPostList(HttpResponse res,
Configuration conf)
throws FacebookException
- Throws:
FacebookException
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object