| Package | Description |
|---|---|
| uk.co.visalia.brightpearl.apiclient.request |
| Modifier and Type | Method and Description |
|---|---|
protected ServiceSearchRequestBuilder<T> |
ServiceSearchRequestBuilder.getThis() |
static <T> ServiceSearchRequestBuilder<T> |
ServiceSearchRequestBuilder.newSearchRequest(ServiceName service,
String path,
Class<T> responseType)
Creates a new search request builder configured with the URL to call and expected response type.
|
static <T> ServiceSearchRequestBuilder<T> |
ServiceSearchRequestBuilder.newSearchRequest(ServiceName service,
String path,
Type responseType)
Creates a new search request builder configured with the URL to call and expected response type.
|
ServiceSearchRequestBuilder<T> |
ServiceSearchRequestBuilder.withAddedColumn(String column)
Adds a column to be included in search results.
|
ServiceSearchRequestBuilder<T> |
ServiceSearchRequestBuilder.withAddedFilter(String column,
String value)
Add an additional column value filter to be applied to the search.
|
ServiceSearchRequestBuilder<T> |
ServiceSearchRequestBuilder.withAddedFilters(Map<String,String> filters)
Add additional column value filters to be applied to the search, preserving previous filters set on this builder.
|
ServiceSearchRequestBuilder<T> |
ServiceSearchRequestBuilder.withAddedSort(String column,
SortDirection direction)
Add an additional column sort to be applied to the search.
|
ServiceSearchRequestBuilder<T> |
ServiceSearchRequestBuilder.withColumns(List<String> columns)
Sets the columns to be included in search results, replacing any previously set.
|
ServiceSearchRequestBuilder<T> |
ServiceSearchRequestBuilder.withColumns(String... columns)
Sets the columns to be included in search results, replacing any previously set.
|
ServiceSearchRequestBuilder<T> |
ServiceSearchRequestBuilder.withFilters(Map<String,String> filters)
Set the column value filters to be applied to the search, replacing any previous filters set on this builder.
|
ServiceSearchRequestBuilder<T> |
ServiceSearchRequestBuilder.withFirstResult(Integer firstResult)
Sets the first result to return, allowing paging through large result sets.
|
ServiceSearchRequestBuilder<T> |
ServiceSearchRequestBuilder.withPage(Integer pageSize,
Integer firstResult)
Set paging parameters in one call.
|
ServiceSearchRequestBuilder<T> |
ServiceSearchRequestBuilder.withPageSize(Integer pageSize)
Sets the number of results to return per page, allowing paging through large result sets.
|
ServiceSearchRequestBuilder<T> |
ServiceSearchRequestBuilder.withSorts(Map<String,SortDirection> sorts)
Set the sort columns and directions, replacing any previously added.
|
Copyright © 2014. All Rights Reserved.