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
Nested ClassesModifier and TypeClassDescriptionstatic classNested classes/interfaces inherited from class com.restfb.types.FacebookType
FacebookType.Metadata -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanaddCategory(Category category) protected voidfillProfilePicture(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.booleanremoveCategory(Category category) voidInformation about the Place provided by the Page administrator.voidsetAppLinks(AppLinks appLinks) AppLinks to the Place on various devices.voidsetCheckins(Long checkins) The number of checkins at this Place.voidsetCover(CoverPhoto cover) Information about the cover photo.voidsetDescription(String description) The description of the Place provided by the Page administrator.voidsetEngagement(Page.Engagement engagement) The social sentence and the like count information for this Place.voidvoidsetIsAlwaysOpen(Boolean isAlwaysOpen) Indicates whether this Place is always open.voidsetIsPermanentlyClosed(Boolean isPermanentlyClosed) Indicates whether this Place is permanently closed.voidsetIsVerified(Boolean isVerified) Pages with a large number of followers can be manually verified by Facebook as having an authentic identity.voidThe URL of the Facebook Page.voidsetLocation(Location location) Location information about the Place.voidsetOverallStarRating(Double overallStarRating) The overall page rating, based on rating survey from users, on a scale of 1-5.voidThe Page node corresponding to the Place.voidsetParking(Page.PageParking parking) Parking information about the Place.voidsetPaymentOptions(Page.PagePaymentOptions paymentOptions) Payment options accepted by the Place.voidThe Place's telephone number.voidPhotos for the Place.voidsetPicture(ProfilePictureSource picture) The pages's profile picture, if provided.voidsetPriceRange(String priceRange) Price range of the business.voidsetRatingCount(Long ratingCount) Number of ratings for the PlacevoidsetRestaurantServices(Page.PageRestaurantServices restaurantServices) The services that the restaurant provides.voidsetRestaurantSpecialties(Page.PageRestaurantSpecialties restaurantSpecialties) The restaurant's specialties.voidsetSingleLineAddress(String singleLineAddress) The Place's complete postal address, on a single line.voidsetWebsite(String website) The URL of the Place's website.voidThe native component workflows for this Place.Methods inherited from class com.restfb.types.NamedFacebookType
getName, setNameMethods inherited from class com.restfb.types.FacebookType
getId, getMetadata, getType, setId, setMetadata, setTypeMethods inherited from class com.restfb.types.AbstractFacebookType
equals, hashCode, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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 thepicturefield you have to fetch the page with thefields=pictureparameter, otherwise the picture isnull.- Specified by:
getPicturein interfaceHasProfilePicture- Returns:
- the page's profile picture as ProfilePictureSource object
-
setPicture
The pages's profile picture, if provided. To force Facebook to fill thepicturefield you have to fetch the page with thefields=pictureparameter, 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
-