|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.gdata.client.Query
com.google.gdata.client.DocumentQuery
public class DocumentQuery
Simple class for document-based queries, i.e. things that have titles.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.google.gdata.client.Query |
---|
Query.CategoryFilter, Query.CustomParameter, Query.ResultFormat |
Field Summary | |
---|---|
static java.lang.String |
DEFAULT_SORT_MODE
|
static java.lang.String |
LAST_MODIFIED_SORT
|
static java.lang.String |
LAST_VIEWED_SORT
|
static java.lang.String |
ORDERBY
The URI parameter for how the query should be sorted, can sort by last-modified, last-accessed, title and starred; will default to last-modified. |
static java.lang.String |
STARRED_SORT
|
static java.lang.String |
TITLE
The URI parameter for querying the title or name of a document. |
static java.lang.String |
TITLE_EXACT
The URI parameter for a boolean flag for whether the title should be matched exactly (case-insensitive or sensitive depending on service). |
static java.lang.String |
TITLE_SORT
|
Fields inherited from class com.google.gdata.client.Query |
---|
UNDEFINED |
Constructor Summary | |
---|---|
DocumentQuery(java.net.URL feedUrl)
Constructs a query for querying spreadsheets that you have access to. |
Method Summary | |
---|---|
java.lang.String |
getSortMode()
Gets the sort mode |
java.lang.String |
getTitleQuery()
Gets full-text title query. |
boolean |
isTitleExact()
Gets whether the query should be exact (rather than keyword-based). |
void |
setSortMode(java.lang.String orderby)
Sets the sort mode of the query. |
void |
setTitleExact(boolean exact)
Sets whether the title match should be exact (instead of keyword-based). |
void |
setTitleQuery(java.lang.String titleQuery)
Sets the full-text title search. |
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 TITLE
public static final java.lang.String TITLE_EXACT
public static final java.lang.String ORDERBY
public static final java.lang.String LAST_MODIFIED_SORT
public static final java.lang.String LAST_VIEWED_SORT
public static final java.lang.String TITLE_SORT
public static final java.lang.String STARRED_SORT
public static final java.lang.String DEFAULT_SORT_MODE
Constructor Detail |
---|
public DocumentQuery(java.net.URL feedUrl)
feedUrl
- the feed's URIMethod Detail |
---|
public void setTitleQuery(java.lang.String titleQuery)
titleQuery
- the title querypublic java.lang.String getTitleQuery()
public void setTitleExact(boolean exact)
exact
- whether the results should be exactpublic boolean isTitleExact()
public void setSortMode(java.lang.String orderby)
orderby
- the sort modepublic java.lang.String getSortMode()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |