A - as AreaTypeC - as CONTEXT app specificpublic interface AreaStrategy<A extends AreaType,C> extends Strategy
| Modifier and Type | Method and Description |
|---|---|
A |
getArea(String id,
String type,
C context)
For an
AreaType.getId() return the AreaType |
<O> O |
getAreas(String type,
C context)
Get a Map of all the areas, where the Key is defined by key for Area
#getKey(AreaType) |
AreaService<A> |
getAreaService() |
getVersion<O> O getAreas(String type, C context)
#getKey(AreaType)type - as String. An optional parameter that specifies area of which type/level to be fetched. Like region, country, state, zip etc.context - as C. See ContextProviderStrategyA getArea(String id, String type, C context)
AreaType.getId() return the AreaTypeid - as Stringtype - as String. An optional parameter that specifies area of which type/level to be fetched. Like region, country, state, zip etc.context - as C. See ContextProviderStrategyAreaTypeAreaService<A> getAreaService()
Copyright © 2018. All rights reserved.