A
- as AreaType
C
- 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 ContextProviderStrategy
A getArea(String id, String type, C context)
AreaType.getId()
return the AreaType
id
- 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 ContextProviderStrategy
AreaType
AreaService<A> getAreaService()
Copyright © 2018. All rights reserved.