Package com.restfb.types
Class SearchPlace
java.lang.Object
com.restfb.types.AbstractFacebookType
com.restfb.types.FacebookType
com.restfb.types.NamedFacebookType
com.restfb.types.SearchPlace
- All Implemented Interfaces:
HasCover
,HasProfilePicture
,Serializable
Represents the SearchPlace
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Nested classes/interfaces inherited from class com.restfb.types.FacebookType
FacebookType.Metadata
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
addCategory
(Category category) protected void
fillProfilePicture
(JsonMapper jsonMapper) getAbout()
Information about the Place provided by the Page administrator.AppLinks to the Place on various devices.The Place's categories.The number of checkins at this Place.getCover()
Information about the cover photo.The description of the Place provided by the Page administrator.The social sentence and the like count information for this Place.getHours()
Indicates whether this Place is always open.Indicates whether this Place is permanently closed.Pages with a large number of followers can be manually verified by Facebook as having an authentic identity.getLink()
The URL of the Facebook Page.Location information about the Place.The overall page rating, based on rating survey from users, on a scale of 1-5.getPage()
The Page node corresponding to the Place.Parking information about the Place.Payment options accepted by the Place.getPhone()
The Place's telephone number.Photos for the Place.The pages's profile picture, if provided.Price range of the business.Number of ratings for the PlaceThe services that the restaurant provides.The restaurant's specialties.The Place's complete postal address, on a single line.The URL of the Place's website.The native component workflows for this Place.boolean
removeCategory
(Category category) void
Information about the Place provided by the Page administrator.void
setAppLinks
(AppLinks appLinks) AppLinks to the Place on various devices.void
setCheckins
(Long checkins) The number of checkins at this Place.void
setCover
(CoverPhoto cover) Information about the cover photo.void
setDescription
(String description) The description of the Place provided by the Page administrator.void
setEngagement
(Page.Engagement engagement) The social sentence and the like count information for this Place.void
void
setIsAlwaysOpen
(Boolean isAlwaysOpen) Indicates whether this Place is always open.void
setIsPermanentlyClosed
(Boolean isPermanentlyClosed) Indicates whether this Place is permanently closed.void
setIsVerified
(Boolean isVerified) Pages with a large number of followers can be manually verified by Facebook as having an authentic identity.void
The URL of the Facebook Page.void
setLocation
(Location location) Location information about the Place.void
setOverallStarRating
(Double overallStarRating) The overall page rating, based on rating survey from users, on a scale of 1-5.void
The Page node corresponding to the Place.void
setParking
(Page.PageParking parking) Parking information about the Place.void
setPaymentOptions
(Page.PagePaymentOptions paymentOptions) Payment options accepted by the Place.void
The Place's telephone number.void
Photos for the Place.void
setPicture
(ProfilePictureSource picture) The pages's profile picture, if provided.void
setPriceRange
(String priceRange) Price range of the business.void
setRatingCount
(Long ratingCount) Number of ratings for the Placevoid
setRestaurantServices
(Page.PageRestaurantServices restaurantServices) The services that the restaurant provides.void
setRestaurantSpecialties
(Page.PageRestaurantSpecialties restaurantSpecialties) The restaurant's specialties.void
setSingleLineAddress
(String singleLineAddress) The Place's complete postal address, on a single line.void
setWebsite
(String website) The URL of the Place's website.void
The native component workflows for this Place.Methods inherited from class com.restfb.types.NamedFacebookType
getName, setName
Methods inherited from class com.restfb.types.FacebookType
getId, getMetadata, getType, setId, setMetadata, setType
Methods inherited from class com.restfb.types.AbstractFacebookType
equals, hashCode, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.restfb.types.features.HasProfilePicture
convertPicture
-
Constructor Details
-
SearchPlace
public SearchPlace()
-
-
Method Details
-
fillProfilePicture
-
getCategoryList
The Place's categories.- Returns:
- The Place's categories.
-
addCategory
-
removeCategory
-
getAbout
Information about the Place provided by the Page administrator.- Returns:
- Information about the Place provided by the Page administrator.
-
setAbout
Information about the Place provided by the Page administrator. -
getAppLinks
AppLinks to the Place on various devices.- Returns:
- AppLinks to the Place on various devices.
-
setAppLinks
AppLinks to the Place on various devices. -
getCheckins
The number of checkins at this Place.- Returns:
- The number of checkins at this Place.
-
setCheckins
The number of checkins at this Place. -
getCover
Information about the cover photo. -
setCover
Information about the cover photo. -
getDescription
The description of the Place provided by the Page administrator.- Returns:
- The description of the Place provided by the Page administrator.
-
setDescription
The description of the Place provided by the Page administrator. -
getEngagement
The social sentence and the like count information for this Place. This is the same information used for the like button.- Returns:
- The social sentence and the like count information for this Place.
-
setEngagement
The social sentence and the like count information for this Place. This is the same information used for the like button. -
getHours
-
setHours
-
getIsAlwaysOpen
Indicates whether this Place is always open.- Returns:
- Indicates whether this Place is always open.
-
setIsAlwaysOpen
Indicates whether this Place is always open. -
getIsPermanentlyClosed
Indicates whether this Place is permanently closed.- Returns:
- Indicates whether this Place is permanently closed.
-
setIsPermanentlyClosed
Indicates whether this Place is permanently closed. -
getIsVerified
Pages with a large number of followers can be manually verified by Facebook as having an authentic identity. This field indicates whether the Page has been verified by this process. -
setIsVerified
Pages with a large number of followers can be manually verified by Facebook as having an authentic identity. This field indicates whether the Page has been verified by this process. -
getLink
The URL of the Facebook Page.- Returns:
- The URL of the Facebook Page.
-
setLink
The URL of the Facebook Page. -
getLocation
Location information about the Place. E.g., latitude and longitude, and address.- Returns:
- Location information about the Place. E.g., latitude and longitude, and address.
-
setLocation
Location information about the Place. E.g., latitude and longitude, and address. -
getOverallStarRating
The overall page rating, based on rating survey from users, on a scale of 1-5. This value is normalized, and is not guaranteed to be a strict average of user ratings.- Returns:
- The overall page rating, based on rating survey from users, on a scale of 1-5.
-
setOverallStarRating
The overall page rating, based on rating survey from users, on a scale of 1-5. This value is normalized, and is not guaranteed to be a strict average of user ratings. -
getPage
The Page node corresponding to the Place.- Returns:
- The Page node corresponding to the Place.
-
setPage
The Page node corresponding to the Place. -
getParking
Parking information about the Place.- Returns:
- Parking information about the Place.
-
setParking
Parking information about the Place. -
getPaymentOptions
Payment options accepted by the Place. Applicable to restaurants and nightlife.- Returns:
- Payment options accepted by the Place.
-
setPaymentOptions
Payment options accepted by the Place. Applicable to restaurants and nightlife. -
getPhone
The Place's telephone number.- Returns:
- The Place's telephone number.
-
setPhone
The Place's telephone number. -
getPicture
The pages's profile picture, if provided. To force Facebook to fill thepicture
field you have to fetch the page with thefields=picture
parameter, otherwise the picture isnull
.- Specified by:
getPicture
in interfaceHasProfilePicture
- Returns:
- the page's profile picture as ProfilePictureSource object
-
setPicture
The pages's profile picture, if provided. To force Facebook to fill thepicture
field you have to fetch the page with thefields=picture
parameter, otherwise the picture isnull
. -
getPriceRange
Price range of the business. Applicable to Restaurants or Nightlife. Can be one of $ (0-10), $$ (10-30), $$$ (30-50), $$$$ (50+), or Unspecified- Returns:
- Price range of the business.
-
setPriceRange
Price range of the business. Applicable to Restaurants or Nightlife. Can be one of $ (0-10), $$ (10-30), $$$ (30-50), $$$$ (50+), or Unspecified -
getRatingCount
Number of ratings for the Place- Returns:
- Number of ratings for the Place
-
setRatingCount
Number of ratings for the Place -
getRestaurantServices
The services that the restaurant provides.- Returns:
- The services that the restaurant provides.
-
setRestaurantServices
The services that the restaurant provides. -
getRestaurantSpecialties
The restaurant's specialties.- Returns:
- The restaurant's specialties.
-
setRestaurantSpecialties
The restaurant's specialties. -
getSingleLineAddress
The Place's complete postal address, on a single line.- Returns:
- The Place's complete postal address, on a single line.
-
setSingleLineAddress
The Place's complete postal address, on a single line. -
getWebsite
The URL of the Place's website.- Returns:
- The URL of the Place's website.
-
setWebsite
The URL of the Place's website. -
getPhotos
Photos for the Place. By default, this edge returns the profile photos for the Place. You can also use an optional type parameter with the value uploaded to get the photos uploaded by the Place. -
setPhotos
Photos for the Place. By default, this edge returns the profile photos for the Place. You can also use an optional type parameter with the value uploaded to get the photos uploaded by the Place. -
getWorkflows
The native component workflows for this Place. Workflows allow people to perform actions like requesting appointments, buying tickets, and ordering from restaurants on Facebook -
setWorkflows
The native component workflows for this Place. Workflows allow people to perform actions like requesting appointments, buying tickets, and ordering from restaurants on Facebook
-