All Superinterfaces:
CacheItem, CompetitionCi, SportEventCi

public interface MatchCi extends CompetitionCi
Defines methods used to access match type properties
  • Method Details

    • getNames

      Map<Locale,String> getNames(List<Locale> locales)
      Returns a Map of translated sport event names The match object name is composed from the home and away team(eg. Home vs Away)
      Specified by:
      getNames in interface CacheItem
      Parameters:
      locales - the Locales in which the name should be provided
      Returns:
      the sport event name if available; otherwise null
    • getTournamentId

      Urn getTournamentId()
      Returns the Urn specifying the id of the tournament to which the sport event belongs to
      Returns:
      - the Urn specifying the id of the tournament to which the sport event belongs to
    • getTournamentRound

      RoundCi getTournamentRound(List<Locale> locales)
      Returns a RoundCi instance describing the tournament round to which the sport event associated with current instance belongs to
      Parameters:
      locales - - a List of Locale specifying the languages to which the returned instance should be translated
      Returns:
      - a RoundCi instance describing the tournament round
    • getSeason

      SeasonCi getSeason(List<Locale> locales)
      Returns a SeasonCi instance providing basic information about the season to which the sport event associated with the current instance belongs to
      Parameters:
      locales - - a List of Locale specifying the languages to which the returned instance should be translated
      Returns:
      - SeasonCi instance providing basic information about the associated season
    • getFixture

      Fixture getFixture(List<Locale> locales)
      Returns the Fixture instance containing information about the arranged sport event A Fixture is a sport event that has been arranged for a particular time and place
      Parameters:
      locales - - a List of Locale specifying the languages to which the returned instance should be translated
      Returns:
      - the Fixture instance containing information about the arranged sport event
    • getDelayedInfo

      DelayedInfoCi getDelayedInfo(List<Locale> locales)
      Returns a DelayedInfoCi instance describing possible information about a delay
      Parameters:
      locales - the Locales in which the data should be provided
      Returns:
      a DelayedInfoCi instance describing information about a possible delay
    • getCoverageInfo

      CoverageInfoCi getCoverageInfo(List<Locale> locales)
      Returns a CoverageInfo instance
      Parameters:
      locales - the Locales in which the data should be provided
      Returns:
      a CoverageInfo instance
    • getEventTimeline

      EventTimelineCi getEventTimeline(Locale locale, boolean makeApiCall)
      Returns the associated event timeline (the timeline is cached only after the event status indicates that the event has finished)
      Parameters:
      locale - the locale in which the timeline should be provided
      makeApiCall - should the API call be made if necessary
      Returns:
      the associated event timeline
    • getCompetitorsQualifiers

      Map<Urn,String> getCompetitorsQualifiers()
      Returns list of Urn of Competitor and associated qualifier for this sport event
      Returns:
      list of Urn of Competitor and associated qualifier for this sport event
    • getCompetitorsDivisions

      Map<Urn,Integer> getCompetitorsDivisions()
      Returns list of Urn of CompetitorCi and associated division for this sport event
      Returns:
      list of Urn of CompetitorCi and associated division for this sport event
    • requestMissingSummaryData

      void requestMissingSummaryData(List<Locale> requiredLocales, boolean forceFetch, RequestOptions requestOptions)
      Request Summary API Call and store its result to the cache
      Parameters:
      requiredLocales - the List of Locales in which the data should be provided
      forceFetch - if set to true, the data will be fetched from the API even if it is already cached
      requestOptions - the RequestOptions used to specify the execution path