public class ContentQuery extends Query
Query.CategoryFilter, Query.CustomParameter, Query.ResultFormat| Constructor and Description |
|---|
ContentQuery(URL feedUrl)
Constructs a new query object that targets a feed.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAncestor()
Returns the content with the given ancestor.
|
Boolean |
getIncludeDeleted()
Returns the include deleted entries.
|
Boolean |
getIncludeDrafts()
Returns the include draft entries.
|
String |
getKind()
Returns the content of a the given kind(s).
|
String |
getParent()
Returns the content with the given parent.
|
String |
getPath()
Returns the content at the given site path.
|
void |
setAncestor(String ancestor)
Sets the content with the given ancestor.
|
void |
setIncludeDeleted(Boolean includeDeleted)
Sets the include deleted entries.
|
void |
setIncludeDrafts(Boolean includeDrafts)
Sets the include draft entries.
|
void |
setKind(String kind)
Sets the content of a the given kind(s).
|
void |
setParent(String parent)
Sets the content with the given parent.
|
void |
setPath(String path)
Sets the content at the given site path.
|
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 ContentQuery(URL feedUrl)
feedUrl - the URL of the feed against which queries will be executed.public String getAncestor()
null to indicate
that the parameter is not set.public void setAncestor(String ancestor)
ancestor - content with the given ancestor or null to
remove this parameter if set.public Boolean getIncludeDeleted()
null to indicate that the
parameter is not set.public void setIncludeDeleted(Boolean includeDeleted)
includeDeleted - include deleted entries or null to
remove this parameter if set.public Boolean getIncludeDrafts()
null to indicate that the
parameter is not set.public void setIncludeDrafts(Boolean includeDrafts)
includeDrafts - include draft entries or null to remove
this parameter if set.public String getKind()
null to indicate
that the parameter is not set.public void setKind(String kind)
kind - content of a the given kind(s) or null to remove
this parameter if set.public String getParent()
null to indicate that
the parameter is not set.public void setParent(String parent)
parent - content with the given parent or null to remove
this parameter if set.public String getPath()
null to indicate
that the parameter is not set.public void setPath(String path)
path - content at the given site path or null to remove
this parameter if set.Copyright © 2012. All Rights Reserved.