public class ContactQuery extends Query
| Modifier and Type | Class and Description |
|---|---|
static class |
ContactQuery.OrderBy
Order of entries in a feed.
|
static class |
ContactQuery.SortOrder
Direction of sorting.
|
Query.CategoryFilter, Query.CustomParameter, Query.ResultFormat| Constructor and Description |
|---|
ContactQuery(java.net.URL feedUrl)
Constructs a new query object that targets a feed.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
addCategoryFilter, addCustomParameter, appendQueryParameter, getAuthor, getCategoryFilters, getCustomParameters, getCustomParameters, getFeedUrl, getFields, getFullTextQuery, getIntegerCustomParameter, getMaxResults, getPublishedMax, getPublishedMin, getQueryUri, getResultFormat, getStartIndex, getStringCustomParameter, getUpdatedMax, getUpdatedMin, getUrl, isStrict, isValidState, setAuthor, setFields, setFullTextQuery, setIntegerCustomParameter, setMaxResults, setPublishedMax, setPublishedMin, setResultFormat, setStartIndex, setStrict, setStringCustomParameter, setUpdatedMax, setUpdatedMinpublic ContactQuery(java.net.URL feedUrl)
feedUrl - the URL of the feed against which queries will be executed.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.