public class DefaultPointOfServiceDao extends AbstractItemDao implements PointOfServiceDao
flexibleSearchService, modelService| Constructor and Description |
|---|
DefaultPointOfServiceDao() |
| Modifier and Type | Method and Description |
|---|---|
protected FlexibleSearchQuery |
buildQuery(GPS center,
double radius) |
protected FlexibleSearchQuery |
buildQuery(GPS center,
double radius,
BaseStoreModel baseStore) |
java.util.Collection<PointOfServiceModel> |
getAllGeocodedPOS(GPS center,
double radius)
return all POS items from the given neighborhood
|
java.util.Collection<PointOfServiceModel> |
getAllGeocodedPOS(GPS center,
double radius,
BaseStoreModel baseStore)
return all POS items from the given neighborhood belonging to given store
|
java.util.Collection<PointOfServiceModel> |
getAllPos()
return all POS items
|
PointOfServiceModel |
getPosByName(java.lang.String name)
Returns a Point of Service with the name given
|
java.util.Collection<PointOfServiceModel> |
getPosToGeocode()
Get collection of PointOfServiceModel that need to be geocoded.
|
java.util.Collection<PointOfServiceModel> |
getPosToGeocode(int size)
Get a size limited collection of PointOfServiceModel that need to be geocoded.
|
getAllSources, getFlexibleSearchService, getModelService, getSource, load, loadAll, search, search, searchUnique, setFlexibleSearchService, setModelServicepublic java.util.Collection<PointOfServiceModel> getAllPos()
PointOfServiceDaogetAllPos in interface PointOfServiceDaoPointOfServiceModelpublic PointOfServiceModel getPosByName(java.lang.String name)
PointOfServiceDaogetPosByName in interface PointOfServiceDaoPointOfServiceModelpublic java.util.Collection<PointOfServiceModel> getPosToGeocode(int size)
PointOfServiceDaogetPosToGeocode in interface PointOfServiceDaosize - determines how many entries are takenPointOfServiceModelpublic java.util.Collection<PointOfServiceModel> getPosToGeocode()
PointOfServiceDaogetPosToGeocode in interface PointOfServiceDaoPointOfServiceModelpublic java.util.Collection<PointOfServiceModel> getAllGeocodedPOS(GPS center, double radius)
PointOfServiceDaogetAllGeocodedPOS in interface PointOfServiceDaocenter - of neighborhoodradius - of neighborhood in kilometersPointOfServiceModelpublic java.util.Collection<PointOfServiceModel> getAllGeocodedPOS(GPS center, double radius, BaseStoreModel baseStore)
PointOfServiceDaogetAllGeocodedPOS in interface PointOfServiceDaocenter - of neighborhoodradius - of neighborhood in kilometersbaseStore - BaseStoreModelPointOfServiceModelprotected FlexibleSearchQuery buildQuery(GPS center, double radius)
center - radius - PointOfServiceDaoExceptionprotected FlexibleSearchQuery buildQuery(GPS center, double radius, BaseStoreModel baseStore)
Copyright © 2018 SAP SE. All Rights Reserved.