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