jgd
Class JGDQuery

java.lang.Object
  extended by jgd.BaseJGDQuery
      extended by jgd.JGDQuery
All Implemented Interfaces:
IJGDQuery

public class JGDQuery
extends BaseJGDQuery
implements IJGDQuery

Author:
UF784048

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

CAT_EMAIL

public static final java.lang.String CAT_EMAIL
See Also:
Constant Field Values

CAT_WEB

public static final java.lang.String CAT_WEB
See Also:
Constant Field Values

CAT_IM

public static final java.lang.String CAT_IM
See Also:
Constant Field Values

CAT_FILE

public static final java.lang.String CAT_FILE
See Also:
Constant Field Values

CAT_CONTACT

public static final java.lang.String CAT_CONTACT
See Also:
Constant Field Values

CAT_CALENDAR

public static final java.lang.String CAT_CALENDAR
See Also:
Constant Field Values

CAT_TASK

public static final java.lang.String CAT_TASK
See Also:
Constant Field Values

CAT_NOTE

public static final java.lang.String CAT_NOTE
See Also:
Constant Field Values

CAT_JOURNAL

public static final java.lang.String CAT_JOURNAL
See Also:
Constant Field Values

PROP_actual_work

public static final java.lang.String PROP_actual_work
Property actual_work

See Also:
Constant Field Values

PROP_album_title

public static final java.lang.String PROP_album_title
Property album_title

See Also:
Constant Field Values

PROP_artist

public static final java.lang.String PROP_artist
Property artist

See Also:
Constant Field Values

PROP_assistant

public static final java.lang.String PROP_assistant
Property assistant

See Also:
Constant Field Values

PROP_attendees

public static final java.lang.String PROP_attendees
Property attendees

See Also:
Constant Field Values

PROP_author

public static final java.lang.String PROP_author
Property author

See Also:
Constant Field Values

PROP_bcc

public static final java.lang.String PROP_bcc
Property bcc

See Also:
Constant Field Values

PROP_birthday

public static final java.lang.String PROP_birthday
Property birthday

See Also:
Constant Field Values

PROP_bit_rate

public static final java.lang.String PROP_bit_rate
Property bit_rate

See Also:
Constant Field Values

PROP_bookmarked

public static final java.lang.String PROP_bookmarked
Property bookmarked

See Also:
Constant Field Values

PROP_buddy_name

public static final java.lang.String PROP_buddy_name
Property buddy_name

See Also:
Constant Field Values

PROP_business_address

public static final java.lang.String PROP_business_address
Property business_address

See Also:
Constant Field Values

PROP_business_fax

public static final java.lang.String PROP_business_fax
Property business_fax

See Also:
Constant Field Values

PROP_business_home_page

public static final java.lang.String PROP_business_home_page
Property business_home_page

See Also:
Constant Field Values

PROP_business_phone

public static final java.lang.String PROP_business_phone
Property business_phone

See Also:
Constant Field Values

PROP_categories

public static final java.lang.String PROP_categories
Property categories

See Also:
Constant Field Values

PROP_cc

public static final java.lang.String PROP_cc
Property cc

See Also:
Constant Field Values

PROP_channels

public static final java.lang.String PROP_channels
Property channels

See Also:
Constant Field Values

PROP_children_names

public static final java.lang.String PROP_children_names
Property children_names

See Also:
Constant Field Values

PROP_comment

public static final java.lang.String PROP_comment
Property comment

See Also:
Constant Field Values

PROP_companies

public static final java.lang.String PROP_companies
Property companies

See Also:
Constant Field Values

PROP_company

public static final java.lang.String PROP_company
Property company

See Also:
Constant Field Values

PROP_company_name

public static final java.lang.String PROP_company_name
Property company_name

See Also:
Constant Field Values

PROP_company_phone

public static final java.lang.String PROP_company_phone
Property company_phone

See Also:
Constant Field Values

PROP_component_guid

public static final java.lang.String PROP_component_guid
Property component_guid

See Also:
Constant Field Values

PROP_component_id

public static final java.lang.String PROP_component_id
Property component_id

See Also:
Constant Field Values

PROP_content

public static final java.lang.String PROP_content
Property content

See Also:
Constant Field Values

PROP_conversation_id

public static final java.lang.String PROP_conversation_id
Property conversation_id

See Also:
Constant Field Values

PROP_cookie

public static final java.lang.String PROP_cookie
Property cookie

See Also:
Constant Field Values

PROP_cookie_raw

public static final java.lang.String PROP_cookie_raw
Property cookie_raw

See Also:
Constant Field Values

PROP_country

public static final java.lang.String PROP_country
Property country

See Also:
Constant Field Values

PROP_data_rate

public static final java.lang.String PROP_data_rate
Property data_rate

See Also:
Constant Field Values

PROP_date

public static final java.lang.String PROP_date
Property date

See Also:
Constant Field Values

PROP_date_completed

public static final java.lang.String PROP_date_completed
Property date_completed

See Also:
Constant Field Values

PROP_department

public static final java.lang.String PROP_department
Property department

See Also:
Constant Field Values

PROP_display_name

public static final java.lang.String PROP_display_name
Property display_name

See Also:
Constant Field Values

PROP_doc_id

public static final java.lang.String PROP_doc_id
Property doc_id

See Also:
Constant Field Values

PROP_due_date

public static final java.lang.String PROP_due_date
Property due_date

See Also:
Constant Field Values

PROP_duration

public static final java.lang.String PROP_duration
Property duration

See Also:
Constant Field Values

PROP_email1

public static final java.lang.String PROP_email1
Property email1

See Also:
Constant Field Values

PROP_email2

public static final java.lang.String PROP_email2
Property email2

See Also:
Constant Field Values

PROP_email3

public static final java.lang.String PROP_email3
Property email3

See Also:
Constant Field Values

PROP_end_date

public static final java.lang.String PROP_end_date
Property end_date

See Also:
Constant Field Values

PROP_event_id

public static final java.lang.String PROP_event_id
Property event_id

See Also:
Constant Field Values

PROP_extra_binary_data

public static final java.lang.String PROP_extra_binary_data
Property extra_binary_data

See Also:
Constant Field Values

PROP_extra_data

public static final java.lang.String PROP_extra_data
Property extra_data

See Also:
Constant Field Values

PROP_flags

public static final java.lang.String PROP_flags
Property flags

See Also:
Constant Field Values

PROP_folder_name

public static final java.lang.String PROP_folder_name
Property folder_name

See Also:
Constant Field Values

PROP_format

public static final java.lang.String PROP_format
Property format

See Also:
Constant Field Values

PROP_from

public static final java.lang.String PROP_from
Property from

See Also:
Constant Field Values

PROP_genre

public static final java.lang.String PROP_genre
Property genre

See Also:
Constant Field Values

PROP_height

public static final java.lang.String PROP_height
Property height

See Also:
Constant Field Values

PROP_hobbies

public static final java.lang.String PROP_hobbies
Property hobbies

See Also:
Constant Field Values

PROP_home_address

public static final java.lang.String PROP_home_address
Property home_address

See Also:
Constant Field Values

PROP_home_fax

public static final java.lang.String PROP_home_fax
Property home_fax

See Also:
Constant Field Values

PROP_home_phone

public static final java.lang.String PROP_home_phone
Property home_phone

See Also:
Constant Field Values

PROP_im_address

public static final java.lang.String PROP_im_address
Property im_address

See Also:
Constant Field Values

PROP_importance

public static final java.lang.String PROP_importance
Property importance

See Also:
Constant Field Values

PROP_info_tip

public static final java.lang.String PROP_info_tip
Property info_tip

See Also:
Constant Field Values

PROP_interaction_period

public static final java.lang.String PROP_interaction_period
Property interaction_period

See Also:
Constant Field Values

PROP_internet_shortcut_name

public static final java.lang.String PROP_internet_shortcut_name
Property internet_shortcut_name

See Also:
Constant Field Values

PROP_job_title

public static final java.lang.String PROP_job_title
Property job_title

See Also:
Constant Field Values

PROP_keywords

public static final java.lang.String PROP_keywords
Property keywords

See Also:
Constant Field Values

PROP_language

public static final java.lang.String PROP_language
Property language

See Also:
Constant Field Values

PROP_last_modified_time

public static final java.lang.String PROP_last_modified_time
Property last_modified_time

See Also:
Constant Field Values

PROP_length

public static final java.lang.String PROP_length
Property length

See Also:
Constant Field Values

PROP_location

public static final java.lang.String PROP_location
Property location

See Also:
Constant Field Values

PROP_lyrics

public static final java.lang.String PROP_lyrics
Property lyrics

See Also:
Constant Field Values

PROP_machine_name

public static final java.lang.String PROP_machine_name
Property machine_name

See Also:
Constant Field Values

PROP_mail_flags

public static final java.lang.String PROP_mail_flags
Property mail_flags

See Also:
Constant Field Values

PROP_mail_header

public static final java.lang.String PROP_mail_header
Property mail_header

See Also:
Constant Field Values

PROP_mail_id

public static final java.lang.String PROP_mail_id
Property mail_id

See Also:
Constant Field Values

PROP_manager_name

public static final java.lang.String PROP_manager_name
Property manager_name

See Also:
Constant Field Values

PROP_message_time

public static final java.lang.String PROP_message_time
Property message_time

See Also:
Constant Field Values

PROP_mobile_phone

public static final java.lang.String PROP_mobile_phone
Property mobile_phone

See Also:
Constant Field Values

PROP_native_size

public static final java.lang.String PROP_native_size
Property native_size

See Also:
Constant Field Values

PROP_nickname

public static final java.lang.String PROP_nickname
Property nickname

See Also:
Constant Field Values

PROP_office_location

public static final java.lang.String PROP_office_location
Property office_location

See Also:
Constant Field Values

PROP_organizer

public static final java.lang.String PROP_organizer
Property organizer

See Also:
Constant Field Values

PROP_original_date

public static final java.lang.String PROP_original_date
Property original_date

See Also:
Constant Field Values

PROP_other_address

public static final java.lang.String PROP_other_address
Property other_address

See Also:
Constant Field Values

PROP_other_phone

public static final java.lang.String PROP_other_phone
Property other_phone

See Also:
Constant Field Values

PROP_owner

public static final java.lang.String PROP_owner
Property owner

See Also:
Constant Field Values

PROP_pager

public static final java.lang.String PROP_pager
Property pager

See Also:
Constant Field Values

PROP_participants

public static final java.lang.String PROP_participants
Property participants

See Also:
Constant Field Values

PROP_percent_complete

public static final java.lang.String PROP_percent_complete
Property percent_complete

See Also:
Constant Field Values

PROP_personal_home_page

public static final java.lang.String PROP_personal_home_page
Property personal_home_page

See Also:
Constant Field Values

PROP_primary_fax

public static final java.lang.String PROP_primary_fax
Property primary_fax

See Also:
Constant Field Values

PROP_primary_phone

public static final java.lang.String PROP_primary_phone
Property primary_phone

See Also:
Constant Field Values

PROP_profession

public static final java.lang.String PROP_profession
Property profession

See Also:
Constant Field Values

PROP_received

public static final java.lang.String PROP_received
Property received

See Also:
Constant Field Values

PROP_recurrence_pattern

public static final java.lang.String PROP_recurrence_pattern
Property recurrence_pattern

See Also:
Constant Field Values

PROP_replyto

public static final java.lang.String PROP_replyto
Property replyto

See Also:
Constant Field Values

PROP_shortcut_target

public static final java.lang.String PROP_shortcut_target
Property shortcut_target

See Also:
Constant Field Values

PROP_spouse

public static final java.lang.String PROP_spouse
Property spouse

See Also:
Constant Field Values

PROP_start_date

public static final java.lang.String PROP_start_date
Property start_date

See Also:
Constant Field Values

PROP_start_time

public static final java.lang.String PROP_start_time
Property start_time

See Also:
Constant Field Values

PROP_status

public static final java.lang.String PROP_status
Property status

See Also:
Constant Field Values

PROP_subject

public static final java.lang.String PROP_subject
Property subject

See Also:
Constant Field Values

PROP_text_content

public static final java.lang.String PROP_text_content
Property text_content

See Also:
Constant Field Values

PROP_thumbnail

public static final java.lang.String PROP_thumbnail
Property thumbnail

See Also:
Constant Field Values

PROP_thumbnail_format

public static final java.lang.String PROP_thumbnail_format
Property thumbnail_format

See Also:
Constant Field Values

PROP_timestamp

public static final java.lang.String PROP_timestamp
Property timestamp

See Also:
Constant Field Values

PROP_title

public static final java.lang.String PROP_title
Property title

See Also:
Constant Field Values

PROP_to

public static final java.lang.String PROP_to
Property to

See Also:
Constant Field Values

PROP_total_work

public static final java.lang.String PROP_total_work
Property total_work

See Also:
Constant Field Values

PROP_track_number

public static final java.lang.String PROP_track_number
Property track_number

See Also:
Constant Field Values

PROP_type

public static final java.lang.String PROP_type
Property type

See Also:
Constant Field Values

PROP_uri

public static final java.lang.String PROP_uri
Property uri

See Also:
Constant Field Values

PROP_user_name

public static final java.lang.String PROP_user_name
Property user_name

See Also:
Constant Field Values

PROP_web_page

public static final java.lang.String PROP_web_page
Property web_page

See Also:
Constant Field Values

PROP_wedding_anniversary

public static final java.lang.String PROP_wedding_anniversary
Property wedding_anniversary

See Also:
Constant Field Values

PROP_width

public static final java.lang.String PROP_width
Property width

See Also:
Constant Field Values

PROP_year_published

public static final java.lang.String PROP_year_published
Property year_published

See Also:
Constant Field Values

PROP_other_indexed_data

public static final java.lang.String PROP_other_indexed_data
Property other_indexed_data

See Also:
Constant Field Values

PROP_notes

public static final java.lang.String PROP_notes
See Also:
Constant Field Values

ALL_GD_PROPERTIES

public static final java.lang.String[] ALL_GD_PROPERTIES
All GD properties


query

QueryCOM query

register

JGDRegister register
Constructor Detail

JGDQuery

public JGDQuery(java.lang.String queryString)
         throws JGDError
Parameters:
queryString -
Throws:
JGDError
Method Detail

calculateQueryString

private java.lang.String calculateQueryString()

execute

public IJGDResults execute()
                    throws JGDError
Specified by:
execute in interface IJGDQuery
Specified by:
execute in class BaseJGDQuery
Throws:
JGDError
See Also:
BaseJGDQuery.execute()

executeIterator

public IJGDResultsIterator executeIterator()
                                    throws JGDError
Throws:
JGDError
See Also:
BaseJGDQuery.execute()

executeXML

public java.lang.String executeXML()
                            throws JGDError
Deprecated. Method not implemented since version 2

Specified by:
executeXML in class BaseJGDQuery
Throws:
JGDError
See Also:
BaseJGDQuery.executeXML()

getDesktopURL

public java.lang.String getDesktopURL()
Deprecated. Method not implemented since version 2

Specified by:
getDesktopURL in class BaseJGDQuery
See Also:
BaseJGDQuery.getDesktopURL()

getURL

public java.lang.String getURL()
                        throws JGDError
Deprecated. Method not implemented since version 2

Specified by:
getURL in class BaseJGDQuery
Throws:
JGDError
See Also:
BaseJGDQuery.getURL()

setDesktopURL

public void setDesktopURL(java.lang.String desktopURL)
Deprecated. Method not implemented since version 2

Specified by:
setDesktopURL in class BaseJGDQuery
See Also:
BaseJGDQuery.setDesktopURL(java.lang.String)

writeLastResultInXML

public void writeLastResultInXML(java.io.OutputStream o)
                          throws JGDError
Deprecated. Method not implemented since version 2

Specified by:
writeLastResultInXML in class BaseJGDQuery
Throws:
JGDError
See Also:
BaseJGDQuery.writeLastResultInXML(java.io.OutputStream)

resetFlags

protected void resetFlags()
Description copied from class: BaseJGDQuery
Reset a initial flags value

Overrides:
resetFlags in class BaseJGDQuery

setFileType

public void setFileType(java.lang.String fileType)
Description copied from class: BaseJGDQuery
File type for GDS. Example: "doc"

Overrides:
setFileType in class BaseJGDQuery

setFilterByAll

public void setFilterByAll()
Description copied from class: BaseJGDQuery
Filter by all, this is, reset any filter.

Overrides:
setFilterByAll in class BaseJGDQuery

setFilterByChats

public void setFilterByChats()
Description copied from class: BaseJGDQuery
Filter by chats

Overrides:
setFilterByChats in class BaseJGDQuery

setFilterByFiles

public void setFilterByFiles()
Description copied from class: BaseJGDQuery
Filter by files

Overrides:
setFilterByFiles in class BaseJGDQuery

setFilterByMails

public void setFilterByMails()
Description copied from class: BaseJGDQuery
Filter by mails

Overrides:
setFilterByMails in class BaseJGDQuery

setFilterByWeb

public void setFilterByWeb()
Description copied from class: BaseJGDQuery
Filter by web history

Overrides:
setFilterByWeb in class BaseJGDQuery

setCategory

public void setCategory(java.lang.String category)
See http://desktop.google.com/queryapi.html#queryobjects

Since:
2.0

getCategory

public java.lang.String getCategory()
See http://desktop.google.com/queryapi.html#queryobjects

Since:
2.0

setFlags

public void setFlags(java.lang.Integer flags)
Description copied from class: BaseJGDQuery
flags used in GDS for filtering search results.
Document at http://sourceforge.net/docman/display_doc.php?docid=29090&group_id=124229

Examples:
8 sorted by date (default - if not given)
40 sorted by relevance

Overrides:
setFlags in class BaseJGDQuery

setNum

public void setNum(java.lang.Integer integer)
Description copied from interface: IJGDQuery
maximum number of results you'd like returned, to your query.
By default, an search response will only return the first ten results.

Specified by:
setNum in interface IJGDQuery
Overrides:
setNum in class BaseJGDQuery

setQueryString

public void setQueryString(java.lang.String string)
Description copied from interface: IJGDQuery
Query string

Specified by:
setQueryString in interface IJGDQuery
Overrides:
setQueryString in class BaseJGDQuery

setSortedByDate

public void setSortedByDate()
Description copied from class: BaseJGDQuery
Sorted By Date

Overrides:
setSortedByDate in class BaseJGDQuery

setSortedByRelevance

public void setSortedByRelevance()
Description copied from class: BaseJGDQuery
Sorted By Relevance

Overrides:
setSortedByRelevance in class BaseJGDQuery

setStart

public void setStart(java.lang.Integer integer)
Description copied from interface: IJGDQuery
position you want the results to start from. First item is 0

Specified by:
setStart in interface IJGDQuery
Overrides:
setStart in class BaseJGDQuery


Copyright 2007