com.google.code.facebookapi
Enum PageProfileField

java.lang.Object
  extended by java.lang.Enum<PageProfileField>
      extended by com.google.code.facebookapi.PageProfileField
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<PageProfileField>

public enum PageProfileField
extends java.lang.Enum<PageProfileField>

Enum describing the profile fields of Facebook Pages.

See Also:
IFacebookRestClient.pages_getInfo(java.util.Collection, java.util.Collection)

Enum Constant Summary
AFFILIATION
          Affiliation field of person or team, may be blank
ARTISTS_WE_LIKE
           
ATTIRE
          Restaurant recommended attire, may be one of Unspecfied, Casual, or Dressy
AWARDS
           
BAND_INTERESTS
          Band interests, may be blank
BAND_MEMBERS
           
BIO
          biography field, may be blank.
BIRTHDAY
          Birthday field, may be blank.
BOOKING_AGENT
          Boooking agent, may be blank
BUILT
          when automotive was built, may be blank
COMPANY_OVERVIEW
          Summary of the subject of the Page being queried.
CULINARY_TEAM
          The team of people preparing the food at the restaurant at the Page being queried.
CURRENT_LOCATION
           
DIRECTED_BY
           
FAN_COUNT
           
FEATURES
          features of automotive, may be blank
FOUNDED
          The date when the subject of the Page being queried was founded.
GENERAL_INFO
          general info field, may be blank
GENERAL_MANAGER
          The general manager of the Page being queried.
GENRE
           
HAS_ADDED_APP
          Indicates whether a calling application has been added by the Page being queried.
HOMETOWN
           
HOURS
          Contains the operating hours.
INFLUENCES
          influences, may be blank
LOCATION
          The location of the Page being queried, including the street, city, state, country and zip (or post code).
MEMBERS
          members of team, may be blank
MISSION
          The mission statement of the organization that is the subject of the Page being queried.
MPG
          mpg of automotive, may be blank
NAME
          The name of the Page being queried.
NETWORK
           
PAGE_ID
          The ID of the Page being queried.
PAGE_URL
          The profile URL for the Page being queried.
PARKING
          Parking options available.
PAYMENT_OPTIONS
          Payment options accepted.
PERSONAL_INFO
          Personal information of public figure, may be blank
PERSONAL_INTERESTS
          Personal interests of public figure, may be blank
PIC
          The URL to the medium-sized profile picture for the Page being queried.
PIC_BIG
          The URL to the large-sized profile picture for the Page being queried.
PIC_LARGE
          The URL to the largest-sized profile picture for the Page being queried.
PIC_SMALL
          The URL to the small-sized picture for the Page being queried.
PIC_SQUARE
          The URL to the square profile picture for the Page being queried.
PLOT_OUTLINE
           
PRESS_CONTACT
           
PRICE_RANGE
           
PRODUCED_BY
           
PRODUCTS
          The products offered by the company on the Page being queried.
PUBLIC_TRANSIT
          Public transit details, e.g.
RECORD_LABEL
           
RELEASE_DATE
           
RESTAURANT_SERVICES
           
RESTAURANT_SPECIALTIES
           
SCHEDULE
           
SCREENPLAY_BY
           
SEASON
           
STARRING
           
STUDIO
           
TYPE
          Contains the type of the page.
USERNAME
           
WEBSITE
          Contains the website of the page.
WRITTEN_BY
           
 
Method Summary
 java.lang.String fieldName()
           
 boolean isName(java.lang.String name)
          Returns true if this field has a particular name.
 java.lang.String toString()
           
static PageProfileField valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static PageProfileField[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

PAGE_ID

public static final PageProfileField PAGE_ID
The ID of the Page being queried.


NAME

public static final PageProfileField NAME
The name of the Page being queried.


PIC_SMALL

public static final PageProfileField PIC_SMALL
The URL to the small-sized picture for the Page being queried. The image can have a maximum width of 50px and a maximum height of 150px. This URL may be blank.


PIC_BIG

public static final PageProfileField PIC_BIG
The URL to the large-sized profile picture for the Page being queried. The image can have a maximum width of 200px and a maximum height of 600px. This URL may be blank.


PIC_SQUARE

public static final PageProfileField PIC_SQUARE
The URL to the square profile picture for the Page being queried. The image can have a maximum width and height of 50px. This URL may be blank.


PIC

public static final PageProfileField PIC
The URL to the medium-sized profile picture for the Page being queried. The image can have a maximum width of 100px and a maximum height of 300px. This URL may be blank.


PIC_LARGE

public static final PageProfileField PIC_LARGE
The URL to the largest-sized profile picture for the Page being queried. The image can have a maximum width of 396px and a maximum height of 1188px. This URL may be blank.


PAGE_URL

public static final PageProfileField PAGE_URL
The profile URL for the Page being queried. If the Page admin specified a username for the Page, page_url contains the username.


TYPE

public static final PageProfileField TYPE
Contains the type of the page.


WEBSITE

public static final PageProfileField WEBSITE
Contains the website of the page.


HAS_ADDED_APP

public static final PageProfileField HAS_ADDED_APP
Indicates whether a calling application has been added by the Page being queried.


FOUNDED

public static final PageProfileField FOUNDED
The date when the subject of the Page being queried was founded. This field may be blank.


COMPANY_OVERVIEW

public static final PageProfileField COMPANY_OVERVIEW
Summary of the subject of the Page being queried. This field may be blank.


MISSION

public static final PageProfileField MISSION
The mission statement of the organization that is the subject of the Page being queried. This field may be blank.


PRODUCTS

public static final PageProfileField PRODUCTS
The products offered by the company on the Page being queried. This field may be blank.


LOCATION

public static final PageProfileField LOCATION
The location of the Page being queried, including the street, city, state, country and zip (or post code). Some of the fields may be blank.


PARKING

public static final PageProfileField PARKING
Parking options available.
Contains three children: street, lot, and valet. Each field returned is a boolean value (1 or 0) indicating if the Page has the specified parking option.


PUBLIC_TRANSIT

public static final PageProfileField PUBLIC_TRANSIT
Public transit details, e.g. "Take Caltrain to Palo Alto station. Walk down University Ave one block."


HOURS

public static final PageProfileField HOURS
Contains the operating hours. Each local business will be allowed to specify up to two sets of operating hours per day. Contains the following children:
mon_1_open, mon_1_close, tue_1_open, tue_1_close, wed_1_open, wed_1_close, thu_1_open, thu_1_close, fri_1_open, fri_1_close, sat_1_open, sat_1_close, sun_1_open, sun_1_close,
mon_2_open, mon_2_close, tue_2_open, tue_2_close, wed_2_open, wed_2_close, thu_2_open, thu_2_close, fri_2_open, fri_2_close, sat_2_open, sat_2_close, sun_2_open, sun_2_close.
Each field is returned with time (in seconds since epoch). For example, 9:00 AM is represented as 406800


ATTIRE

public static final PageProfileField ATTIRE
Restaurant recommended attire, may be one of Unspecfied, Casual, or Dressy


PAYMENT_OPTIONS

public static final PageProfileField PAYMENT_OPTIONS
Payment options accepted. Contains five children: cash_only, visa, amex, master_card, and discover. Notes on the children:


CULINARY_TEAM

public static final PageProfileField CULINARY_TEAM
The team of people preparing the food at the restaurant at the Page being queried. This field may be blank.


GENERAL_MANAGER

public static final PageProfileField GENERAL_MANAGER
The general manager of the Page being queried. This field may be blank.


PRICE_RANGE

public static final PageProfileField PRICE_RANGE

RESTAURANT_SERVICES

public static final PageProfileField RESTAURANT_SERVICES

RESTAURANT_SPECIALTIES

public static final PageProfileField RESTAURANT_SPECIALTIES

RELEASE_DATE

public static final PageProfileField RELEASE_DATE

GENRE

public static final PageProfileField GENRE

STARRING

public static final PageProfileField STARRING

SCREENPLAY_BY

public static final PageProfileField SCREENPLAY_BY

DIRECTED_BY

public static final PageProfileField DIRECTED_BY

PRODUCED_BY

public static final PageProfileField PRODUCED_BY

STUDIO

public static final PageProfileField STUDIO

AWARDS

public static final PageProfileField AWARDS

PLOT_OUTLINE

public static final PageProfileField PLOT_OUTLINE

NETWORK

public static final PageProfileField NETWORK

SEASON

public static final PageProfileField SEASON

SCHEDULE

public static final PageProfileField SCHEDULE

WRITTEN_BY

public static final PageProfileField WRITTEN_BY

BAND_MEMBERS

public static final PageProfileField BAND_MEMBERS

HOMETOWN

public static final PageProfileField HOMETOWN

CURRENT_LOCATION

public static final PageProfileField CURRENT_LOCATION

RECORD_LABEL

public static final PageProfileField RECORD_LABEL

BOOKING_AGENT

public static final PageProfileField BOOKING_AGENT
Boooking agent, may be blank


PRESS_CONTACT

public static final PageProfileField PRESS_CONTACT

ARTISTS_WE_LIKE

public static final PageProfileField ARTISTS_WE_LIKE

INFLUENCES

public static final PageProfileField INFLUENCES
influences, may be blank


BAND_INTERESTS

public static final PageProfileField BAND_INTERESTS
Band interests, may be blank


BIO

public static final PageProfileField BIO
biography field, may be blank.


AFFILIATION

public static final PageProfileField AFFILIATION
Affiliation field of person or team, may be blank


BIRTHDAY

public static final PageProfileField BIRTHDAY
Birthday field, may be blank. In the format mm/dd/yyyy


PERSONAL_INFO

public static final PageProfileField PERSONAL_INFO
Personal information of public figure, may be blank


PERSONAL_INTERESTS

public static final PageProfileField PERSONAL_INTERESTS
Personal interests of public figure, may be blank


MEMBERS

public static final PageProfileField MEMBERS
members of team, may be blank


BUILT

public static final PageProfileField BUILT
when automotive was built, may be blank


FEATURES

public static final PageProfileField FEATURES
features of automotive, may be blank


MPG

public static final PageProfileField MPG
mpg of automotive, may be blank


GENERAL_INFO

public static final PageProfileField GENERAL_INFO
general info field, may be blank


FAN_COUNT

public static final PageProfileField FAN_COUNT

USERNAME

public static final PageProfileField USERNAME
Method Detail

values

public static PageProfileField[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (PageProfileField c : PageProfileField.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static PageProfileField valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

fieldName

public java.lang.String fieldName()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Enum<PageProfileField>

isName

public boolean isName(java.lang.String name)
Returns true if this field has a particular name.



Copyright © 2010. All Rights Reserved.