Class SearchPlace

All Implemented Interfaces:
HasCover, HasProfilePicture, Serializable

public class SearchPlace extends NamedFacebookType implements HasProfilePicture, HasCover
Represents the SearchPlace
See Also:
  • Constructor Details

  • Method Details

    • fillProfilePicture

      protected void fillProfilePicture(JsonMapper jsonMapper)
    • getCategoryList

      The Place's categories.
      Returns:
      The Place's categories.
    • addCategory

      public boolean addCategory(Category category)
    • removeCategory

      public boolean removeCategory(Category category)
    • getAbout

      public String getAbout()
      Information about the Place provided by the Page administrator.
      Returns:
      Information about the Place provided by the Page administrator.
    • setAbout

      public void setAbout(String about)
      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

      public void setAppLinks(AppLinks appLinks)
      AppLinks to the Place on various devices.
    • getCheckins

      public Long getCheckins()
      The number of checkins at this Place.
      Returns:
      The number of checkins at this Place.
    • setCheckins

      public void setCheckins(Long checkins)
      The number of checkins at this Place.
    • getCover

      public CoverPhoto getCover()
      Information about the cover photo.
      Specified by:
      getCover in interface HasCover
      Returns:
      Information about the cover photo.
    • setCover

      public void setCover(CoverPhoto cover)
      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

      public void setDescription(String description)
      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

      public void setEngagement(Page.Engagement engagement)
      The social sentence and the like count information for this Place. This is the same information used for the like button.
    • getHours

      public String getHours()
    • setHours

      public void setHours(String hours)
    • getIsAlwaysOpen

      Indicates whether this Place is always open.
      Returns:
      Indicates whether this Place is always open.
    • setIsAlwaysOpen

      public void setIsAlwaysOpen(Boolean isAlwaysOpen)
      Indicates whether this Place is always open.
    • getIsPermanentlyClosed

      Indicates whether this Place is permanently closed.
      Returns:
      Indicates whether this Place is permanently closed.
    • setIsPermanentlyClosed

      public void setIsPermanentlyClosed(Boolean isPermanentlyClosed)
      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

      public void setIsVerified(Boolean isVerified)
      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

      public String getLink()
      The URL of the Facebook Page.
      Returns:
      The URL of the Facebook Page.
    • setLink

      public void setLink(String link)
      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

      public void setLocation(Location location)
      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

      public void setOverallStarRating(Double overallStarRating)
      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

      public Page getPage()
      The Page node corresponding to the Place.
      Returns:
      The Page node corresponding to the Place.
    • setPage

      public void setPage(Page page)
      The Page node corresponding to the Place.
    • getParking

      Parking information about the Place.
      Returns:
      Parking information about the Place.
    • setParking

      public void setParking(Page.PageParking parking)
      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

      public void setPaymentOptions(Page.PagePaymentOptions paymentOptions)
      Payment options accepted by the Place. Applicable to restaurants and nightlife.
    • getPhone

      public String getPhone()
      The Place's telephone number.
      Returns:
      The Place's telephone number.
    • setPhone

      public void setPhone(String phone)
      The Place's telephone number.
    • getPicture

      The pages's profile picture, if provided. To force Facebook to fill the picture field you have to fetch the page with the fields=picture parameter, otherwise the picture is null.
      Specified by:
      getPicture in interface HasProfilePicture
      Returns:
      the page's profile picture as ProfilePictureSource object
    • setPicture

      public void setPicture(ProfilePictureSource picture)
      The pages's profile picture, if provided. To force Facebook to fill the picture field you have to fetch the page with the fields=picture parameter, otherwise the picture is null.
    • 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

      public void setPriceRange(String priceRange)
      Price range of the business. Applicable to Restaurants or Nightlife. Can be one of $ (0-10), $$ (10-30), $$$ (30-50), $$$$ (50+), or Unspecified
    • getRatingCount

      public Long getRatingCount()
      Number of ratings for the Place
      Returns:
      Number of ratings for the Place
    • setRatingCount

      public void setRatingCount(Long ratingCount)
      Number of ratings for the Place
    • getRestaurantServices

      The services that the restaurant provides.
      Returns:
      The services that the restaurant provides.
    • setRestaurantServices

      public void setRestaurantServices(Page.PageRestaurantServices restaurantServices)
      The services that the restaurant provides.
    • getRestaurantSpecialties

      The restaurant's specialties.
      Returns:
      The restaurant's specialties.
    • setRestaurantSpecialties

      public void setRestaurantSpecialties(Page.PageRestaurantSpecialties restaurantSpecialties)
      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

      public void setSingleLineAddress(String singleLineAddress)
      The Place's complete postal address, on a single line.
    • getWebsite

      public String getWebsite()
      The URL of the Place's website.
      Returns:
      The URL of the Place's website.
    • setWebsite

      public void setWebsite(String website)
      The URL of the Place's website.
    • getPhotos

      public List<Photo> 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

      public void setPhotos(List<Photo> photos)
      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