public static class VendorQuery.Builder extends Object implements QueryBuilderProperties.Bounds<VendorQuery.Builder>
VendorQuery. Use VendorQuery.builder() to create an instance.| Constructor and Description |
|---|
VendorQuery.Builder() |
| Modifier and Type | Method and Description |
|---|---|
VendorQuery.Builder |
bounds(QueryBounds bounds)
Sets the starting offset and/or the maximum result page size for the query, from a
QueryBounds instance. |
VendorQuery |
build()
Returns an immutable
VendorQuery based on the current builder properties. |
VendorQuery.Builder |
forThisUserOnly(boolean forThisUserOnly)
Specifies whether to query only the vendor(s) associated with the current authenticated user
or all vendors.
|
public VendorQuery build()
VendorQuery based on the current builder properties.public VendorQuery.Builder bounds(QueryBounds bounds)
QueryBuilderProperties.BoundsQueryBounds instance.bounds in interface QueryBuilderProperties.Bounds<VendorQuery.Builder>bounds - a QueryBounds specifying an offset and/or limitpublic VendorQuery.Builder forThisUserOnly(boolean forThisUserOnly)
forThisUserOnly - true to query only the vendor(s) associated with the current
authenticated user; false (the default) to query all vendors.VendorQuery.isForThisUserOnly()Copyright © 2016 Atlassian. All rights reserved.