facebook4j.internal.json
Class PageJSONImpl
java.lang.Object
facebook4j.internal.json.FacebookResponseImpl
facebook4j.internal.json.PageJSONImpl
- All Implemented Interfaces:
- FacebookResponse, Page, java.io.Serializable
final class PageJSONImpl
- extends FacebookResponseImpl
- implements Page, java.io.Serializable
- Since:
- Facebook4J 1.2.0
- 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
name
private java.lang.String name
category
private java.lang.String category
createdTime
private java.util.Date createdTime
link
private java.net.URL link
isPublished
private java.lang.Boolean isPublished
canPost
private java.lang.Boolean canPost
likes
private java.lang.Integer likes
location
private Place.Location location
phone
private java.lang.String phone
checkins
private java.lang.Integer checkins
picture
private java.net.URL picture
cover
private Cover cover
website
private java.lang.String website
talkingAboutCount
private java.lang.Integer talkingAboutCount
accessToken
private java.lang.String accessToken
isCommunityPage
private java.lang.Boolean isCommunityPage
wereHereCount
private java.lang.Integer wereHereCount
PageJSONImpl
PageJSONImpl(HttpResponse res,
Configuration conf)
throws FacebookException
- Throws:
FacebookException
PageJSONImpl
PageJSONImpl(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 Page
getName
public java.lang.String getName()
- Specified by:
getName in interface Page
getCategory
public java.lang.String getCategory()
- Specified by:
getCategory in interface Page
getCreatedTime
public java.util.Date getCreatedTime()
- Specified by:
getCreatedTime in interface Page
getLink
public java.net.URL getLink()
- Specified by:
getLink in interface Page
isPublished
public java.lang.Boolean isPublished()
- Specified by:
isPublished in interface Page
canPost
public java.lang.Boolean canPost()
- Specified by:
canPost in interface Page
getLikes
public java.lang.Integer getLikes()
- Specified by:
getLikes in interface Page
getLocation
public Place.Location getLocation()
- Specified by:
getLocation in interface Page
getPhone
public java.lang.String getPhone()
- Specified by:
getPhone in interface Page
getCheckins
public java.lang.Integer getCheckins()
- Specified by:
getCheckins in interface Page
getPicture
public java.net.URL getPicture()
- Specified by:
getPicture in interface Page
getCover
public Cover getCover()
- Specified by:
getCover in interface Page
getWebsite
public java.lang.String getWebsite()
- Specified by:
getWebsite in interface Page
getTalkingAboutCount
public java.lang.Integer getTalkingAboutCount()
- Specified by:
getTalkingAboutCount in interface Page
getAccessToken
public java.lang.String getAccessToken()
- Specified by:
getAccessToken in interface Page
isCommunityPage
public java.lang.Boolean isCommunityPage()
- Specified by:
isCommunityPage in interface Page
getWereHereCount
public java.lang.Integer getWereHereCount()
- Specified by:
getWereHereCount in interface Page
createPageList
static ResponseList<Page> createPageList(HttpResponse res,
Configuration conf)
throws FacebookException
- Throws:
FacebookException
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object