public class StoreFinderController extends BaseController
DEFAULT_CURRENT_PAGE, DEFAULT_PAGE_SIZE| Constructor and Description |
|---|
StoreFinderController() |
| Modifier and Type | Method and Description |
|---|---|
protected PageableData |
createPagaable(int page,
int pageSize,
java.lang.String sort) |
protected java.util.List<PointOfServiceData> |
filterOptions(java.lang.String options,
StoreFinderSearchPageData<PointOfServiceData> result) |
protected double |
getInKilometres(double radius,
double accuracy) |
PointOfServiceData |
locationDetails(java.lang.String name) |
StoreFinderSearchPageData<PointOfServiceData> |
locationSearch(java.lang.String query,
java.lang.Double latitude,
java.lang.Double longitude,
int currentPage,
int pageSize,
java.lang.String sort,
java.lang.String options,
double radius,
double accuracy) |
handleErrorInternal, handleModelNotFoundException, sanitizepublic StoreFinderSearchPageData<PointOfServiceData> locationSearch(java.lang.String query, java.lang.Double latitude, java.lang.Double longitude, int currentPage, int pageSize, java.lang.String sort, java.lang.String options, double radius, double accuracy) throws RequestParameterException
RequestParameterExceptionpublic PointOfServiceData locationDetails(java.lang.String name)
protected double getInKilometres(double radius,
double accuracy)
protected java.util.List<PointOfServiceData> filterOptions(java.lang.String options, StoreFinderSearchPageData<PointOfServiceData> result)
protected PageableData createPagaable(int page, int pageSize, java.lang.String sort)
Copyright © 2018 SAP SE. All Rights Reserved.