|
|||||||||
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.contacts.ContactQuery
public class ContactQuery
Describes a query for the following feeds:
Nested Class Summary | |
---|---|
static class |
ContactQuery.OrderBy
Order of entries in a feed. |
static class |
ContactQuery.SortOrder
Direction of sorting. |
Nested classes/interfaces inherited from class com.google.gdata.client.Query |
---|
Query.CategoryFilter, Query.CustomParameter, Query.ResultFormat |
Field Summary |
---|
Fields inherited from class com.google.gdata.client.Query |
---|
UNDEFINED |
Constructor Summary | |
---|---|
ContactQuery(java.net.URL feedUrl)
Constructs a new query object that targets a feed. |
Method Summary | |
---|---|
java.lang.String |
getGroup()
Returns the group id. |
ContactQuery.OrderBy |
getOrderBy()
Returns the order of entries in a feed. |
java.lang.Boolean |
getShowDeleted()
Returns the should tombstones be returned. |
ContactQuery.SortOrder |
getSortOrder()
Returns the direction of sorting. |
void |
setGroup(java.lang.String group)
Sets the group id. |
void |
setOrderBy(ContactQuery.OrderBy orderBy)
Sets the order of entries in a feed. |
void |
setShowDeleted(java.lang.Boolean showDeleted)
Sets the should tombstones be returned. |
void |
setSortOrder(ContactQuery.SortOrder sortOrder)
Sets the direction of sorting. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ContactQuery(java.net.URL feedUrl)
feedUrl
- the URL of the feed against which queries will be executed.Method Detail |
---|
public java.lang.String getGroup()
null
to indicate that the parameter is not
set.public void setGroup(java.lang.String group)
group
- group id or null
to remove this parameter if set.public ContactQuery.OrderBy getOrderBy()
public void setOrderBy(ContactQuery.OrderBy orderBy)
orderBy
- order of entries in a feed or null
to reset
this parameter to default value ContactQuery.OrderBy.NONE
.public java.lang.Boolean getShowDeleted()
public void setShowDeleted(java.lang.Boolean showDeleted)
showDeleted
- should tombstones be returned or null
to
reset this parameter to default value false
.public ContactQuery.SortOrder getSortOrder()
public void setSortOrder(ContactQuery.SortOrder sortOrder)
sortOrder
- direction of sorting or null
to reset this
parameter to default value ContactQuery.SortOrder.NONE
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |