public class LotteryCiImpl extends Object implements LotteryCi, ExportableCacheItem
| Modifier and Type | Method and Description | 
|---|---|
ExportableCi | 
export()
Export item's properties 
 | 
BonusInfoCi | 
getBonusInfo()
Returns the associated bonus info 
 | 
Urn | 
getCategoryId()
Returns the associated category id 
 | 
DrawInfoCi | 
getDrawInfo()
Returns the associated draw info 
 | 
Urn | 
getId()
Returns the  
Urn representing id of the related entity | 
Map<Locale,String> | 
getNames(List<Locale> locales)
Returns the  
Map containing translated names of the item | 
Urn | 
getReplacedBy()
Returns the  
Urn specifying the replacement sport event for the current instance | 
Date | 
getScheduled()
Returns the  
Date specifying when the sport event associated with the current
 instance was scheduled | 
List<Urn> | 
getScheduledDraws()
Returns the lottery draws schedule 
 | 
Date | 
getScheduledEnd()
Returns the  
Date specifying when the sport event associated with the current
 instance was scheduled to end | 
Date | 
getScheduledEndRaw()
Returns the  
Date specifying when the sport event associated with the current
 instance was scheduled to end (no api request is invoked) | 
Date | 
getScheduledRaw()
Returns the  
Date specifying when the sport event associated with the current
 instance was scheduled (no api request is invoked) | 
boolean | 
hasTranslationsLoadedFor(List<Locale> localeList)
Determines whether the current instance has translations for the specified languages 
 | 
Optional<Boolean> | 
isStartTimeTbd()
Returns the  
Boolean specifying if the start time to be determined is set for the current instance | 
<T> void | 
merge(T endpointData,
     Locale dataLocale)
Merges the new provided data into the cache item 
 | 
public Map<Locale,String> getNames(List<Locale> locales)
Map containing translated names of the itempublic Urn getCategoryId()
getCategoryId in interface LotteryCipublic BonusInfoCi getBonusInfo()
getBonusInfo in interface LotteryCipublic DrawInfoCi getDrawInfo()
getDrawInfo in interface LotteryCipublic List<Urn> getScheduledDraws()
getScheduledDraws in interface LotteryCipublic Date getScheduled()
Date specifying when the sport event associated with the current
 instance was scheduledgetScheduled in interface SportEventCiDate specifying when the sport event associated with the current
 instance was scheduled; otherwise null;public Date getScheduledEnd()
Date specifying when the sport event associated with the current
 instance was scheduled to endgetScheduledEnd in interface SportEventCiDate specifying when the sport event associated with the current
 instance was scheduled to end; otherwise null;public Date getScheduledRaw()
Date specifying when the sport event associated with the current
 instance was scheduled (no api request is invoked)getScheduledRaw in interface SportEventCiDate specifying when the sport event associated with the current
 instance was scheduled; otherwise null;public Date getScheduledEndRaw()
Date specifying when the sport event associated with the current
 instance was scheduled to end (no api request is invoked)getScheduledEndRaw in interface SportEventCiDate specifying when the sport event associated with the current
 instance was scheduled to end; otherwise null;public Optional<Boolean> isStartTimeTbd()
Boolean specifying if the start time to be determined is set for the current instanceisStartTimeTbd in interface SportEventCiBoolean specifying if the start time to be determined is set for the current instancepublic Urn getReplacedBy()
Urn specifying the replacement sport event for the current instancegetReplacedBy in interface SportEventCiUrn specifying the replacement sport event for the current instancepublic boolean hasTranslationsLoadedFor(List<Locale> localeList)
hasTranslationsLoadedFor in interface CacheItemlocaleList - a List specifying the required languagestrue if the current instance contains data in the required locals, otherwise false.public <T> void merge(T endpointData,
                      Locale dataLocale)
public ExportableCi export()
ExportableCacheItemexport in interface ExportableCacheItemExportableCi instance containing all relevant propertiesCopyright © 2016–2025. All rights reserved.