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.EnumSet)

Enum Constant Summary
AFFILIATION
          Affiliation field of person or team, may be blank
ARTISTS_WE_LIKE
          Artists also liked by the musician, may be blank
ATTIRE
          Restaurant recommended attire, may be one of Unspecfied, Casual, or Dressy
AWARDS
          Awards received by TV/Film, may be blank
BAND_INTERESTS
          Band interests, may be blank
BAND_MEMBERS
          Members of the band, may be blank.
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
          overview of company, may be blank
CURRENT_LOCATION
          Current location, may be blank
DIRECTED_BY
          Who directed TV/Film, may be blank
FEATURES
          features of automotive, may be blank
FOUNDED
          When company was founded, may be blank
GENERAL_INFO
          general info field, may be blank
GENRE
          genre of music.
HAS_ADDED_APP
          Bool (0 or 1) indicating whether the page has added the calling application to their Facebook account.
HOMETOWN
          hometown field, may be blank.
HOURS
          Contains the operating hours.
INFLUENCES
          influences, may be blank
LOCATION
          Contains the location of the entity.
MEMBERS
          members of team, may be blank
MISSION
          Mission of company, may be blank
MPG
          mpg of automotive, may be blank
NAME
          Page entered profile field.
NETWORK
          Network of TV show, may be blank
PAGE_ID
          The id corresponding to the page returned.
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
          URL of profile picture with max width 100px and max height 300px.
PIC_BIG
          URL of profile picture with max width 200px and max height 600px.
PIC_LARGE
          URL of profile picture with max width 396px and max height 1188px.
PIC_SMALL
          URL of profile picture, with max width 50px and max height 150px.
PIC_SQUARE
          URL of a square section of the profile picture, with width 50px and height 50px.
PLOT_OUTLINE
          Plot outline of TV/Film, may be blank
PRODUCED_BY
          Who produced TV/Film, may be blank
PRODUCTS
          Company's products, may be blank
PUBLIC_TRANSIT
          Public transit details, e.g.
RECORD_LABEL
          record label, may be blank
RELEASE_DATE
          Release date of film, may be blank
SCHEDULE
          Schedule of TV show, may be blank
SEASON
          Season of TV show, may be blank
STARRING
          Who's starring in TV/Film, may be blank
STUDIO
          Studio Film was produced, may be blank
TYPE
          Contains the type of the page.
WEBSITE
          Contains the website of the page.
WRITTEN_BY
          Who wrote TV/Film, may be blank
 
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're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

PAGE_ID

public static final PageProfileField PAGE_ID
The id corresponding to the page returned. This is always returned (whether included in fields or not, and always as the first subelement.


NAME

public static final PageProfileField NAME
Page entered profile field. May not be blank.


PIC_SMALL

public static final PageProfileField PIC_SMALL
URL of profile picture, with max width 50px and max height 150px. May be blank.


PIC_SQUARE

public static final PageProfileField PIC_SQUARE
URL of a square section of the profile picture, with width 50px and height 50px. May be blank.


PIC_BIG

public static final PageProfileField PIC_BIG
URL of profile picture with max width 200px and max height 600px. May be blank.


PIC

public static final PageProfileField PIC
URL of profile picture with max width 100px and max height 300px. May be blank.


PIC_LARGE

public static final PageProfileField PIC_LARGE
URL of profile picture with max width 396px and max height 1188px. May be blank.


TYPE

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


WEBSITE

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


LOCATION

public static final PageProfileField LOCATION
Contains the location of the entity. Applies to Local Businesses. Contains five children: street - may be blank, city - may be blank, state - well-defined two-letter American state or Canadian province abbreviation, and may be blank, country - well-defined, may be blank, zip - an integer, 0 if unspecified.


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


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."


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:


BAND_MEMBERS

public static final PageProfileField BAND_MEMBERS
Members of the band, may be blank.


BIO

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


HOMETOWN

public static final PageProfileField HOMETOWN
hometown field, may be blank.


GENRE

public static final PageProfileField GENRE
genre of music. Contains the following children: dance, party, relax, talk, think, workout, sing, intimate, raunchy, headphones . Notes on the children: Zero or more of them may be set May be 1 or 0.


RECORD_LABEL

public static final PageProfileField RECORD_LABEL
record label, may be blank


INFLUENCES

public static final PageProfileField INFLUENCES
influences, may be blank


HAS_ADDED_APP

public static final PageProfileField HAS_ADDED_APP
Bool (0 or 1) indicating whether the page has added the calling application to their Facebook account.


FOUNDED

public static final PageProfileField FOUNDED
When company was founded, may be blank


COMPANY_OVERVIEW

public static final PageProfileField COMPANY_OVERVIEW
overview of company, may be blank


MISSION

public static final PageProfileField MISSION
Mission of company, may be blank


PRODUCTS

public static final PageProfileField PRODUCTS
Company's products, may be blank


RELEASE_DATE

public static final PageProfileField RELEASE_DATE
Release date of film, may be blank


STARRING

public static final PageProfileField STARRING
Who's starring in TV/Film, may be blank


WRITTEN_BY

public static final PageProfileField WRITTEN_BY
Who wrote TV/Film, may be blank


DIRECTED_BY

public static final PageProfileField DIRECTED_BY
Who directed TV/Film, may be blank


PRODUCED_BY

public static final PageProfileField PRODUCED_BY
Who produced TV/Film, may be blank


STUDIO

public static final PageProfileField STUDIO
Studio Film was produced, may be blank


AWARDS

public static final PageProfileField AWARDS
Awards received by TV/Film, may be blank


PLOT_OUTLINE

public static final PageProfileField PLOT_OUTLINE
Plot outline of TV/Film, may be blank


NETWORK

public static final PageProfileField NETWORK
Network of TV show, may be blank


SEASON

public static final PageProfileField SEASON
Season of TV show, may be blank


SCHEDULE

public static final PageProfileField SCHEDULE
Schedule of TV show, may be blank


CURRENT_LOCATION

public static final PageProfileField CURRENT_LOCATION
Current location, may be blank


BOOKING_AGENT

public static final PageProfileField BOOKING_AGENT
Boooking agent, may be blank


ARTISTS_WE_LIKE

public static final PageProfileField ARTISTS_WE_LIKE
Artists also liked by the musician, may be blank


BAND_INTERESTS

public static final PageProfileField BAND_INTERESTS
Band interests, 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

Method Detail

values

public static final PageProfileField[] values()
Returns an array containing the constants of this enum type, in the order they're 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're 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

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 © 2008. All Rights Reserved.