|
void
|
addCategoryFilter(Query.CategoryFilter categoryFilter)
Adds a new CategoryFilter to the query.
|
|
void
|
addCustomParameter(Query.CustomParameter customParameter)
Adds a new CustomParameter.
|
|
void
|
appendQueryParameter(StringBuilder queryBuf, String paramName, String paramValue)
Appends specified query (parameter, value) to provided query URL buffer.
|
|
String
|
getAuthor()
Returns the author name or email address used for the query.
|
|
List<Query.CategoryFilter>
|
getCategoryFilters()
Returns the current list of CategoryFilters associated with the query.
|
|
List<Query.CustomParameter>
|
getCustomParameters()
Returns the list of custom parameters.
|
|
List<Query.CustomParameter>
|
getCustomParameters(String name)
Returns the list of custom parameters that match a specified name.
|
|
URL
|
getFeedUrl()
Returns the feed URL of this query.
|
|
String
|
getFields()
Returns the fields query string that will be used for the query.
|
|
String
|
getFullTextQuery()
Returns the full text query string that will be used for the query.
|
|
final
Integer
|
getIntegerCustomParameter(String name)
Gets an existing Integer custom paramter, with null signifying that
the parameter is not specified or not an integer.
|
|
int
|
getMaxResults()
Returns the maximum number of results to return for the query,
or UNDEFINED if max results has not been set.
|
|
DateTime
|
getPublishedMax()
Returns the maximum published timestamp used for this query.
|
|
DateTime
|
getPublishedMin()
Returns the minimum published timestamp used for this query.
|
|
URI
|
getQueryUri()
Returns the relative query URI that represents only the query
parameters without any components related to the target feed.
|
|
Query.ResultFormat
|
getResultFormat()
Returns the query result format.
|
|
int
|
getStartIndex()
Returns the current start index value for the query,
or UNDEFINED if start index has not been set.
|
|
final
String
|
getStringCustomParameter(String name)
Gets an existing String custom parameter, with null signifying that the
parameter is not specified.
|
|
DateTime
|
getUpdatedMax()
Returns the maximum updated timestamp used for this query.
|
|
DateTime
|
getUpdatedMin()
Returns the minimum updated timestamp used for this query.
|
|
URL
|
getUrl()
Returns the Query URL that encapsulates the current state of this
query object.
|
|
boolean
|
isStrict()
Returns the strictness setting for query parameter parsing on the server.
|
|
boolean
|
isValidState()
Check if current query state is supported.
|
|
void
|
setAuthor(String author)
Sets the author name or email address used for the query.
|
|
void
|
setFields(String fields)
Sets the "fields" partial selection query parameter.
|
|
void
|
setFullTextQuery(String query)
Sets the full text query string that will be used for the query.
|
|
final
void
|
setIntegerCustomParameter(String name, Integer value)
Sets an integer custom paramter, with null signifying to clear the
parameter.
|
|
void
|
setMaxResults(int maxResults)
Sets the maximum number of results to return for the query.
|
|
void
|
setPublishedMax(DateTime publishedMax)
Sets the maximum published timestamp used for the query.
|
|
void
|
setPublishedMin(DateTime publishedMin)
Sets the minimum published timestamp used for the query.
|
|
void
|
setResultFormat(Query.ResultFormat resultFormat)
Sets the expected query result format.
|
|
void
|
setStartIndex(int startIndex)
Sets the start index for query results.
|
|
void
|
setStrict(boolean strict)
Sets the strictness of parameter parsing.
|
|
final
void
|
setStringCustomParameter(String name, String value)
Sets a string custom parameter, with null signifying to clear the
parameter.
|
|
void
|
setUpdatedMax(DateTime updatedMax)
Sets the maximum updated timestamp used for the query.
|
|
void
|
setUpdatedMin(DateTime updatedMin)
Sets the minimum updated timestamp used for the query.
|