public class StoresController extends BaseController
DEFAULT_CURRENT_PAGE, DEFAULT_FIELD_SET, DEFAULT_PAGE_SIZE, HEADER_TOTAL_COUNT| Constructor and Description |
|---|
StoresController() |
| Modifier and Type | Method and Description |
|---|---|
void |
countLocationSearch(java.lang.String query,
java.lang.Double latitude,
java.lang.Double longitude,
double radius,
double accuracy,
HttpServletResponse response)
Returns "X-Total-Count" header with the number of all store locations that are near the
location specified in a query, or based on latitude and longitude.
|
PointOfServiceWsDTO |
locationDetails(java.lang.String storeId,
java.lang.String fields)
Returns store location based on its unique name.
|
StoreFinderSearchPageWsDTO |
locationSearch(java.lang.String query,
java.lang.Double latitude,
java.lang.Double longitude,
int currentPage,
int pageSize,
java.lang.String sort,
double radius,
double accuracy,
java.lang.String fields,
HttpServletResponse response)
Lists all store locations that are near the location specified in a query or based on latitude and longitude.
|
addPaginationField, getDataMapper, handleErrorInternal, handleModelNotFoundException, logParam, logParam, logParam, logValue, sanitize, setDataMapper, setTotalCountHeader, setTotalCountHeader, validatepublic StoreFinderSearchPageWsDTO locationSearch(java.lang.String query, java.lang.Double latitude, java.lang.Double longitude, int currentPage, int pageSize, java.lang.String sort, double radius, double accuracy, java.lang.String fields, HttpServletResponse response) throws RequestParameterException
RequestParameterExceptionpublic void countLocationSearch(java.lang.String query,
java.lang.Double latitude,
java.lang.Double longitude,
double radius,
double accuracy,
HttpServletResponse response)
throws RequestParameterException
RequestParameterExceptionpublic PointOfServiceWsDTO locationDetails(java.lang.String storeId, java.lang.String fields)
Copyright © 2017 SAP SE. All Rights Reserved.