public interface PointOfServiceDao extends Dao
PointOfService type| Modifier and Type | Method and Description |
|---|---|
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
|
java.util.Map<CountryModel,java.lang.Integer> |
getPointOfServiceCountPerCountryForStore(BaseStoreModel baseStore)
Get the count of PointOfServiceModel per country
CountryModel given a BaseStoreModel |
java.util.Map<RegionModel,java.lang.Integer> |
getPointOfServiceRegionCountForACountryAndStore(CountryModel country,
BaseStoreModel baseStore)
Get the count of
PointOfServiceModel in each region for a given country CountryModel
and BaseStoreModel |
PointOfServiceModel |
getPosByName(java.lang.String name)
Returns a Point of Service with the name given
|
java.util.List<PointOfServiceModel> |
getPosForCountry(java.lang.String countryIsoCode,
BaseStoreModel baseStore)
Gets a list of
PointOfServiceModel in a given country |
java.util.List<PointOfServiceModel> |
getPosForRegion(java.lang.String countryIsoCode,
java.lang.String regionIsoCode,
BaseStoreModel baseStore)
Gets a list of
PointOfServiceModel in a given country and region |
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.
|
java.util.Collection<PointOfServiceModel> getAllPos()
PointOfServiceModeljava.util.Collection<PointOfServiceModel> getAllGeocodedPOS(GPS center, double radius, BaseStoreModel baseStore)
center - of neighborhoodradius - of neighborhood in kilometersbaseStore - BaseStoreModelPointOfServiceModelPointOfServiceDaoExceptionjava.util.Collection<PointOfServiceModel> getAllGeocodedPOS(GPS center, double radius)
center - of neighborhoodradius - of neighborhood in kilometersPointOfServiceModelPointOfServiceDaoExceptionPointOfServiceModel getPosByName(java.lang.String name)
name - PointOfServiceModelPointOfServiceDaoExceptionjava.util.Collection<PointOfServiceModel> getPosToGeocode(int size)
size - determines how many entries are takenPointOfServiceModelPointOfServiceDaoExceptionjava.util.Collection<PointOfServiceModel> getPosToGeocode()
PointOfServiceModeljava.util.Map<CountryModel,java.lang.Integer> getPointOfServiceCountPerCountryForStore(BaseStoreModel baseStore)
CountryModel given a BaseStoreModelbaseStore - given BaseStoreModelPointOfServiceModel countsjava.util.Map<RegionModel,java.lang.Integer> getPointOfServiceRegionCountForACountryAndStore(CountryModel country, BaseStoreModel baseStore)
PointOfServiceModel in each region for a given country CountryModel
and BaseStoreModelcountry - given CountryModelbaseStore - given BaseStoreModelPointOfServiceModel counts per region RegionModel
for the given country CountryModel and BaseStoreModeljava.util.List<PointOfServiceModel> getPosForCountry(java.lang.String countryIsoCode, BaseStoreModel baseStore)
PointOfServiceModel in a given countrycountryIsoCode - CountryModel:ISOCODEbaseStore - the active BaseStoreModelPointOfServiceModeljava.util.List<PointOfServiceModel> getPosForRegion(java.lang.String countryIsoCode, java.lang.String regionIsoCode, BaseStoreModel baseStore)
PointOfServiceModel in a given country and regioncountryIsoCode - CountryModel:ISOCODEregionIsoCode - RegionModel:ISOCODEbaseStore - the active BaseStoreModelPointOfServiceModelCopyright © 2018 SAP SE. All Rights Reserved.