public final class ProductQuery extends Object implements QueryProperties.ApplicationCriteria, QueryProperties.Bounds, QueryProperties.Cost, QueryProperties.Hosting, QueryProperties.WithVersion
Products.find(ProductQuery).| Modifier and Type | Class and Description |
|---|---|
static class |
ProductQuery.Builder
Builder class for
ProductQuery. |
| Modifier and Type | Method and Description |
|---|---|
static ProductQuery |
any()
Returns a ProductQuery with no criteria, which will match any available product.
|
static ProductQuery.Builder |
builder()
Returns a new
ProductQuery.Builder for constructing a ProductQuery. |
static ProductQuery.Builder |
builder(ProductQuery query)
Returns a new
ProductQuery.Builder for constructing a ProductQuery based on an existing ProductQuery. |
boolean |
equals(Object other) |
com.atlassian.fugue.Option<Integer> |
getAppBuildNumber()
The application build number, if any, that the client is using to restrict the query results.
|
com.atlassian.fugue.Option<ApplicationKey> |
getApplication()
The key of the application, if any, that the client is using to restrict the query results.
|
QueryBounds |
getBounds()
The offset/limit parameters attached to this query.
|
com.atlassian.fugue.Option<Cost> |
getCost()
The
Cost filter, if any, that the client is using to restrict the query results. |
com.atlassian.fugue.Option<HostingType> |
getHosting()
The hosting type that the client is using to restrict the query, if any.
|
int |
hashCode() |
boolean |
isWithVersion()
True if the client is requesting version-level detail in the result set.
|
String |
toString() |
public static ProductQuery.Builder builder()
ProductQuery.Builder for constructing a ProductQuery.public static ProductQuery any()
public static ProductQuery.Builder builder(ProductQuery query)
ProductQuery.Builder for constructing a ProductQuery based on an existing ProductQuery.public com.atlassian.fugue.Option<ApplicationKey> getApplication()
QueryProperties.ApplicationCriteriagetApplication in interface QueryProperties.ApplicationCriteriaQueryBuilderProperties.ApplicationCriteria.application(Option)public com.atlassian.fugue.Option<Integer> getAppBuildNumber()
QueryProperties.ApplicationCriteriagetAppBuildNumber in interface QueryProperties.ApplicationCriteriaQueryBuilderProperties.ApplicationCriteria.appBuildNumber(Option)public com.atlassian.fugue.Option<Cost> getCost()
QueryProperties.CostCost filter, if any, that the client is using to restrict the query results.getCost in interface QueryProperties.CostQueryBuilderProperties.Cost.cost(Option)public com.atlassian.fugue.Option<HostingType> getHosting()
QueryProperties.HostinggetHosting in interface QueryProperties.HostingQueryBuilderProperties.Hosting.hosting(Option)public boolean isWithVersion()
QueryProperties.WithVersionisWithVersion in interface QueryProperties.WithVersionQueryBuilderProperties.WithVersion.withVersion(boolean)public QueryBounds getBounds()
QueryProperties.BoundsgetBounds in interface QueryProperties.BoundsQueryBuilderProperties.Bounds.bounds(QueryBounds)Copyright © 2016 Atlassian. All rights reserved.