Interface CacheItem
- All Known Subinterfaces:
CategoryCi,CompetitionCi,CompetitorCi,DrawCi,LotteryCi,MatchCi,PlayerProfileCi,SportCi,SportEventCi,StageCi,TournamentCi
- All Known Implementing Classes:
DrawCiImpl,LotteryCiImpl
public interface CacheItem
Base interface of cached entities
-
Method Summary
Modifier and TypeMethodDescriptiongetId()Returns theUrnrepresenting id of the related entityReturns theMapcontaining translated names of the itembooleanhasTranslationsLoadedFor(List<Locale> localeList) Determines whether the current instance has translations for the specified languages<T> void
-
Method Details
-
getId
Urn getId()Returns theUrnrepresenting id of the related entity- Returns:
- the
Urnrepresenting id of the related entity
-
getNames
Returns theMapcontaining translated names of the item -
hasTranslationsLoadedFor
Determines whether the current instance has translations for the specified languages- Parameters:
localeList- aListspecifying the required languages- Returns:
trueif the current instance contains data in the required locals, otherwisefalse.
-
merge
-