|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jgd.BaseJGDQuery jgd.JGDQuery
public class JGDQuery
Field Summary | |
---|---|
static java.lang.String[] |
ALL_GD_PROPERTIES
All GD properties |
static java.lang.String |
CAT_CALENDAR
|
static java.lang.String |
CAT_CONTACT
|
static java.lang.String |
CAT_EMAIL
|
static java.lang.String |
CAT_FILE
|
static java.lang.String |
CAT_IM
|
static java.lang.String |
CAT_JOURNAL
|
static java.lang.String |
CAT_NOTE
|
static java.lang.String |
CAT_TASK
|
static java.lang.String |
CAT_WEB
|
static java.lang.String |
PROP_actual_work
Property actual_work |
static java.lang.String |
PROP_album_title
Property album_title |
static java.lang.String |
PROP_artist
Property artist |
static java.lang.String |
PROP_assistant
Property assistant |
static java.lang.String |
PROP_attendees
Property attendees |
static java.lang.String |
PROP_author
Property author |
static java.lang.String |
PROP_bcc
Property bcc |
static java.lang.String |
PROP_birthday
Property birthday |
static java.lang.String |
PROP_bit_rate
Property bit_rate |
static java.lang.String |
PROP_bookmarked
Property bookmarked |
static java.lang.String |
PROP_buddy_name
Property buddy_name |
static java.lang.String |
PROP_business_address
Property business_address |
static java.lang.String |
PROP_business_fax
Property business_fax |
static java.lang.String |
PROP_business_home_page
Property business_home_page |
static java.lang.String |
PROP_business_phone
Property business_phone |
static java.lang.String |
PROP_categories
Property categories |
static java.lang.String |
PROP_cc
Property cc |
static java.lang.String |
PROP_channels
Property channels |
static java.lang.String |
PROP_children_names
Property children_names |
static java.lang.String |
PROP_comment
Property comment |
static java.lang.String |
PROP_companies
Property companies |
static java.lang.String |
PROP_company
Property company |
static java.lang.String |
PROP_company_name
Property company_name |
static java.lang.String |
PROP_company_phone
Property company_phone |
static java.lang.String |
PROP_component_guid
Property component_guid |
static java.lang.String |
PROP_component_id
Property component_id |
static java.lang.String |
PROP_content
Property content |
static java.lang.String |
PROP_conversation_id
Property conversation_id |
static java.lang.String |
PROP_cookie
Property cookie |
static java.lang.String |
PROP_cookie_raw
Property cookie_raw |
static java.lang.String |
PROP_country
Property country |
static java.lang.String |
PROP_data_rate
Property data_rate |
static java.lang.String |
PROP_date
Property date |
static java.lang.String |
PROP_date_completed
Property date_completed |
static java.lang.String |
PROP_department
Property department |
static java.lang.String |
PROP_display_name
Property display_name |
static java.lang.String |
PROP_doc_id
Property doc_id |
static java.lang.String |
PROP_due_date
Property due_date |
static java.lang.String |
PROP_duration
Property duration |
static java.lang.String |
PROP_email1
Property email1 |
static java.lang.String |
PROP_email2
Property email2 |
static java.lang.String |
PROP_email3
Property email3 |
static java.lang.String |
PROP_end_date
Property end_date |
static java.lang.String |
PROP_event_id
Property event_id |
static java.lang.String |
PROP_extra_binary_data
Property extra_binary_data |
static java.lang.String |
PROP_extra_data
Property extra_data |
static java.lang.String |
PROP_flags
Property flags |
static java.lang.String |
PROP_folder_name
Property folder_name |
static java.lang.String |
PROP_format
Property format |
static java.lang.String |
PROP_from
Property from |
static java.lang.String |
PROP_genre
Property genre |
static java.lang.String |
PROP_height
Property height |
static java.lang.String |
PROP_hobbies
Property hobbies |
static java.lang.String |
PROP_home_address
Property home_address |
static java.lang.String |
PROP_home_fax
Property home_fax |
static java.lang.String |
PROP_home_phone
Property home_phone |
static java.lang.String |
PROP_im_address
Property im_address |
static java.lang.String |
PROP_importance
Property importance |
static java.lang.String |
PROP_info_tip
Property info_tip |
static java.lang.String |
PROP_interaction_period
Property interaction_period |
static java.lang.String |
PROP_internet_shortcut_name
Property internet_shortcut_name |
static java.lang.String |
PROP_job_title
Property job_title |
static java.lang.String |
PROP_keywords
Property keywords |
static java.lang.String |
PROP_language
Property language |
static java.lang.String |
PROP_last_modified_time
Property last_modified_time |
static java.lang.String |
PROP_length
Property length |
static java.lang.String |
PROP_location
Property location |
static java.lang.String |
PROP_lyrics
Property lyrics |
static java.lang.String |
PROP_machine_name
Property machine_name |
static java.lang.String |
PROP_mail_flags
Property mail_flags |
static java.lang.String |
PROP_mail_header
Property mail_header |
static java.lang.String |
PROP_mail_id
Property mail_id |
static java.lang.String |
PROP_manager_name
Property manager_name |
static java.lang.String |
PROP_message_time
Property message_time |
static java.lang.String |
PROP_mobile_phone
Property mobile_phone |
static java.lang.String |
PROP_native_size
Property native_size |
static java.lang.String |
PROP_nickname
Property nickname |
static java.lang.String |
PROP_notes
|
static java.lang.String |
PROP_office_location
Property office_location |
static java.lang.String |
PROP_organizer
Property organizer |
static java.lang.String |
PROP_original_date
Property original_date |
static java.lang.String |
PROP_other_address
Property other_address |
static java.lang.String |
PROP_other_indexed_data
Property other_indexed_data |
static java.lang.String |
PROP_other_phone
Property other_phone |
static java.lang.String |
PROP_owner
Property owner |
static java.lang.String |
PROP_pager
Property pager |
static java.lang.String |
PROP_participants
Property participants |
static java.lang.String |
PROP_percent_complete
Property percent_complete |
static java.lang.String |
PROP_personal_home_page
Property personal_home_page |
static java.lang.String |
PROP_primary_fax
Property primary_fax |
static java.lang.String |
PROP_primary_phone
Property primary_phone |
static java.lang.String |
PROP_profession
Property profession |
static java.lang.String |
PROP_received
Property received |
static java.lang.String |
PROP_recurrence_pattern
Property recurrence_pattern |
static java.lang.String |
PROP_replyto
Property replyto |
static java.lang.String |
PROP_shortcut_target
Property shortcut_target |
static java.lang.String |
PROP_spouse
Property spouse |
static java.lang.String |
PROP_start_date
Property start_date |
static java.lang.String |
PROP_start_time
Property start_time |
static java.lang.String |
PROP_status
Property status |
static java.lang.String |
PROP_subject
Property subject |
static java.lang.String |
PROP_text_content
Property text_content |
static java.lang.String |
PROP_thumbnail
Property thumbnail |
static java.lang.String |
PROP_thumbnail_format
Property thumbnail_format |
static java.lang.String |
PROP_timestamp
Property timestamp |
static java.lang.String |
PROP_title
Property title |
static java.lang.String |
PROP_to
Property to |
static java.lang.String |
PROP_total_work
Property total_work |
static java.lang.String |
PROP_track_number
Property track_number |
static java.lang.String |
PROP_type
Property type |
static java.lang.String |
PROP_uri
Property uri |
static java.lang.String |
PROP_user_name
Property user_name |
static java.lang.String |
PROP_web_page
Property web_page |
static java.lang.String |
PROP_wedding_anniversary
Property wedding_anniversary |
static java.lang.String |
PROP_width
Property width |
static java.lang.String |
PROP_year_published
Property year_published |
(package private) QueryCOM |
query
|
(package private) JGDRegister |
register
|
Fields inherited from class jgd.BaseJGDQuery |
---|
desktopURL, fileType, FLAG_FILTER_BY_ALL, FLAG_FILTER_BY_CHATS, FLAG_FILTER_BY_FILES, FLAG_FILTER_BY_MAILS, FLAG_FILTER_BY_WEB, FLAG_SORTED_BY_DATE, FLAG_SORTED_BY_RELEVANCE, flags, num, queryString, results, start |
Constructor Summary | |
---|---|
JGDQuery(java.lang.String queryString)
|
Method Summary | |
---|---|
private java.lang.String |
calculateQueryString()
|
IJGDResults |
execute()
|
IJGDResultsIterator |
executeIterator()
|
java.lang.String |
executeXML()
Deprecated. Method not implemented since version 2 |
java.lang.String |
getCategory()
See http://desktop.google.com/queryapi.html#queryobjects |
java.lang.String |
getDesktopURL()
Deprecated. Method not implemented since version 2 |
java.lang.String |
getURL()
Deprecated. Method not implemented since version 2 |
protected void |
resetFlags()
Reset a initial flags value |
void |
setCategory(java.lang.String category)
See http://desktop.google.com/queryapi.html#queryobjects |
void |
setDesktopURL(java.lang.String desktopURL)
Deprecated. Method not implemented since version 2 |
void |
setFileType(java.lang.String fileType)
File type for GDS. |
void |
setFilterByAll()
Filter by all, this is, reset any filter. |
void |
setFilterByChats()
Filter by chats |
void |
setFilterByFiles()
Filter by files |
void |
setFilterByMails()
Filter by mails |
void |
setFilterByWeb()
Filter by web history |
void |
setFlags(java.lang.Integer flags)
flags used in GDS for filtering search results. |
void |
setNum(java.lang.Integer integer)
maximum number of results you'd like returned, to your query. |
void |
setQueryString(java.lang.String string)
Query string |
void |
setSortedByDate()
Sorted By Date |
void |
setSortedByRelevance()
Sorted By Relevance |
void |
setStart(java.lang.Integer integer)
position you want the results to start from. |
void |
writeLastResultInXML(java.io.OutputStream o)
Deprecated. Method not implemented since version 2 |
Methods inherited from class jgd.BaseJGDQuery |
---|
getFileType, getFlags, getLastResult, getNum, getQueryString, getStart |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String CAT_EMAIL
public static final java.lang.String CAT_WEB
public static final java.lang.String CAT_IM
public static final java.lang.String CAT_FILE
public static final java.lang.String CAT_CONTACT
public static final java.lang.String CAT_CALENDAR
public static final java.lang.String CAT_TASK
public static final java.lang.String CAT_NOTE
public static final java.lang.String CAT_JOURNAL
public static final java.lang.String PROP_actual_work
public static final java.lang.String PROP_album_title
public static final java.lang.String PROP_artist
public static final java.lang.String PROP_assistant
public static final java.lang.String PROP_attendees
public static final java.lang.String PROP_author
public static final java.lang.String PROP_bcc
public static final java.lang.String PROP_birthday
public static final java.lang.String PROP_bit_rate
public static final java.lang.String PROP_bookmarked
public static final java.lang.String PROP_buddy_name
public static final java.lang.String PROP_business_address
public static final java.lang.String PROP_business_fax
public static final java.lang.String PROP_business_home_page
public static final java.lang.String PROP_business_phone
public static final java.lang.String PROP_categories
public static final java.lang.String PROP_cc
public static final java.lang.String PROP_channels
public static final java.lang.String PROP_children_names
public static final java.lang.String PROP_comment
public static final java.lang.String PROP_companies
public static final java.lang.String PROP_company
public static final java.lang.String PROP_company_name
public static final java.lang.String PROP_company_phone
public static final java.lang.String PROP_component_guid
public static final java.lang.String PROP_component_id
public static final java.lang.String PROP_content
public static final java.lang.String PROP_conversation_id
public static final java.lang.String PROP_cookie
public static final java.lang.String PROP_cookie_raw
public static final java.lang.String PROP_country
public static final java.lang.String PROP_data_rate
public static final java.lang.String PROP_date
public static final java.lang.String PROP_date_completed
public static final java.lang.String PROP_department
public static final java.lang.String PROP_display_name
public static final java.lang.String PROP_doc_id
public static final java.lang.String PROP_due_date
public static final java.lang.String PROP_duration
public static final java.lang.String PROP_email1
public static final java.lang.String PROP_email2
public static final java.lang.String PROP_email3
public static final java.lang.String PROP_end_date
public static final java.lang.String PROP_event_id
public static final java.lang.String PROP_extra_binary_data
public static final java.lang.String PROP_extra_data
public static final java.lang.String PROP_flags
public static final java.lang.String PROP_folder_name
public static final java.lang.String PROP_format
public static final java.lang.String PROP_from
public static final java.lang.String PROP_genre
public static final java.lang.String PROP_height
public static final java.lang.String PROP_hobbies
public static final java.lang.String PROP_home_address
public static final java.lang.String PROP_home_fax
public static final java.lang.String PROP_home_phone
public static final java.lang.String PROP_im_address
public static final java.lang.String PROP_importance
public static final java.lang.String PROP_info_tip
public static final java.lang.String PROP_interaction_period
public static final java.lang.String PROP_internet_shortcut_name
public static final java.lang.String PROP_job_title
public static final java.lang.String PROP_keywords
public static final java.lang.String PROP_language
public static final java.lang.String PROP_last_modified_time
public static final java.lang.String PROP_length
public static final java.lang.String PROP_location
public static final java.lang.String PROP_lyrics
public static final java.lang.String PROP_machine_name
public static final java.lang.String PROP_mail_flags
public static final java.lang.String PROP_mail_header
public static final java.lang.String PROP_mail_id
public static final java.lang.String PROP_manager_name
public static final java.lang.String PROP_message_time
public static final java.lang.String PROP_mobile_phone
public static final java.lang.String PROP_native_size
public static final java.lang.String PROP_nickname
public static final java.lang.String PROP_office_location
public static final java.lang.String PROP_organizer
public static final java.lang.String PROP_original_date
public static final java.lang.String PROP_other_address
public static final java.lang.String PROP_other_phone
public static final java.lang.String PROP_owner
public static final java.lang.String PROP_pager
public static final java.lang.String PROP_participants
public static final java.lang.String PROP_percent_complete
public static final java.lang.String PROP_personal_home_page
public static final java.lang.String PROP_primary_fax
public static final java.lang.String PROP_primary_phone
public static final java.lang.String PROP_profession
public static final java.lang.String PROP_received
public static final java.lang.String PROP_recurrence_pattern
public static final java.lang.String PROP_replyto
public static final java.lang.String PROP_shortcut_target
public static final java.lang.String PROP_spouse
public static final java.lang.String PROP_start_date
public static final java.lang.String PROP_start_time
public static final java.lang.String PROP_status
public static final java.lang.String PROP_subject
public static final java.lang.String PROP_text_content
public static final java.lang.String PROP_thumbnail
public static final java.lang.String PROP_thumbnail_format
public static final java.lang.String PROP_timestamp
public static final java.lang.String PROP_title
public static final java.lang.String PROP_to
public static final java.lang.String PROP_total_work
public static final java.lang.String PROP_track_number
public static final java.lang.String PROP_type
public static final java.lang.String PROP_uri
public static final java.lang.String PROP_user_name
public static final java.lang.String PROP_web_page
public static final java.lang.String PROP_wedding_anniversary
public static final java.lang.String PROP_width
public static final java.lang.String PROP_year_published
public static final java.lang.String PROP_other_indexed_data
public static final java.lang.String PROP_notes
public static final java.lang.String[] ALL_GD_PROPERTIES
QueryCOM query
JGDRegister register
Constructor Detail |
---|
public JGDQuery(java.lang.String queryString) throws JGDError
queryString
-
JGDError
Method Detail |
---|
private java.lang.String calculateQueryString()
public IJGDResults execute() throws JGDError
execute
in interface IJGDQuery
execute
in class BaseJGDQuery
JGDError
BaseJGDQuery.execute()
public IJGDResultsIterator executeIterator() throws JGDError
JGDError
BaseJGDQuery.execute()
public java.lang.String executeXML() throws JGDError
executeXML
in class BaseJGDQuery
JGDError
BaseJGDQuery.executeXML()
public java.lang.String getDesktopURL()
getDesktopURL
in class BaseJGDQuery
BaseJGDQuery.getDesktopURL()
public java.lang.String getURL() throws JGDError
getURL
in class BaseJGDQuery
JGDError
BaseJGDQuery.getURL()
public void setDesktopURL(java.lang.String desktopURL)
setDesktopURL
in class BaseJGDQuery
BaseJGDQuery.setDesktopURL(java.lang.String)
public void writeLastResultInXML(java.io.OutputStream o) throws JGDError
writeLastResultInXML
in class BaseJGDQuery
JGDError
BaseJGDQuery.writeLastResultInXML(java.io.OutputStream)
protected void resetFlags()
BaseJGDQuery
resetFlags
in class BaseJGDQuery
public void setFileType(java.lang.String fileType)
BaseJGDQuery
setFileType
in class BaseJGDQuery
public void setFilterByAll()
BaseJGDQuery
setFilterByAll
in class BaseJGDQuery
public void setFilterByChats()
BaseJGDQuery
setFilterByChats
in class BaseJGDQuery
public void setFilterByFiles()
BaseJGDQuery
setFilterByFiles
in class BaseJGDQuery
public void setFilterByMails()
BaseJGDQuery
setFilterByMails
in class BaseJGDQuery
public void setFilterByWeb()
BaseJGDQuery
setFilterByWeb
in class BaseJGDQuery
public void setCategory(java.lang.String category)
public java.lang.String getCategory()
public void setFlags(java.lang.Integer flags)
BaseJGDQuery
setFlags
in class BaseJGDQuery
public void setNum(java.lang.Integer integer)
IJGDQuery
setNum
in interface IJGDQuery
setNum
in class BaseJGDQuery
public void setQueryString(java.lang.String string)
IJGDQuery
setQueryString
in interface IJGDQuery
setQueryString
in class BaseJGDQuery
public void setSortedByDate()
BaseJGDQuery
setSortedByDate
in class BaseJGDQuery
public void setSortedByRelevance()
BaseJGDQuery
setSortedByRelevance
in class BaseJGDQuery
public void setStart(java.lang.Integer integer)
IJGDQuery
setStart
in interface IJGDQuery
setStart
in class BaseJGDQuery
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |