public interface SportsDataCache
| Modifier and Type | Method and Description |
|---|---|
CategoryCi |
getCategory(Urn categoryId,
List<Locale> locales)
Returns the associated category cache item
|
SportData |
getSport(Urn sportId,
List<Locale> locales)
|
List<SportData> |
getSports(List<Locale> locales)
Returns a
List sports supported by the feed. |
List<SportData> getSports(List<Locale> locales) throws IllegalCacheStateException
List sports supported by the feed.locales - a List of Locale specifying the languages in which the data is returnedList sports supported by the feedIllegalCacheStateExceptionSportData getSport(Urn sportId, List<Locale> locales) throws IllegalCacheStateException, CacheItemNotFoundException
sportId - a Urn specifying the id of the sportlocales - a List of Locale specifying the languages in which the data is returnedSportData containing information about the requested sportIllegalCacheStateExceptionCacheItemNotFoundExceptionCategoryCi getCategory(Urn categoryId, List<Locale> locales) throws IllegalCacheStateException, CacheItemNotFoundException
categoryId - the identifier of the categorylocales - the locales in which to provide the dataIllegalCacheStateException - if the cache load failedCacheItemNotFoundException - if the cache item could not be found - category does not exists in the cache/apiCopyright © 2016–2025. All rights reserved.