Interface PointOfServiceService
-
- All Known Implementing Classes:
DefaultPointOfServiceService
public interface PointOfServiceService
Interface for point of service look up functionality.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<StoreCountInfo>
getPointOfServiceCounts(BaseStoreModel baseStore)
Returns a list ofStoreCountInfo
for all countries that have storesPointOfServiceModel
and a list ofStoreCountInfo
for each region (if any) within a country case that region have storesPointOfServiceModel
PointOfServiceModel
getPointOfServiceForName(java.lang.String name)
Returns point of service by its name.
-
-
-
Method Detail
-
getPointOfServiceForName
PointOfServiceModel getPointOfServiceForName(java.lang.String name) throws UnknownIdentifierException, java.lang.IllegalArgumentException
Returns point of service by its name.- Parameters:
name
- the name of POS- Returns:
- the point of service
- Throws:
UnknownIdentifierException
- the unknown identifier exception when no POS with given name was foundjava.lang.IllegalArgumentException
- the illegal argument exception when given name is null
-
getPointOfServiceCounts
java.util.List<StoreCountInfo> getPointOfServiceCounts(BaseStoreModel baseStore)
Returns a list ofStoreCountInfo
for all countries that have storesPointOfServiceModel
and a list ofStoreCountInfo
for each region (if any) within a country case that region have storesPointOfServiceModel
- Parameters:
baseStore
-BaseStoreModel
- Returns:
- the count of the stores per Country and Region if any
-
-