Class TvSeriesApiImpl
java.lang.Object
com.espacogeek.geek.data.api.impl.TvSeriesApiImpl
- All Implemented Interfaces:
MediaApi
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.espacogeek.geek.data.api.MediaApi
MediaApi.ApiKey, MediaApi.ExternalCDN -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoSearch(String search, MediaCategoryModel mediaCategoryModel) getArtwork(Integer id) getDetails(Integer id) List<info.movito.themoviedbapi.model.keywords.Keyword> getKeyword(Integer id) getTrailer(info.movito.themoviedbapi.model.tv.series.TvSeriesDb rawSerieDetails) org.json.simple.JSONArrayMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.espacogeek.geek.data.api.MediaApi
doSearch, getUpdateBasicAttributes
-
Constructor Details
-
TvSeriesApiImpl
public TvSeriesApiImpl()
-
-
Method Details
-
updateTitles
@Retryable(maxAttempts=2, backoff=@Backoff(delay=2000L), retryFor=RequestException.class) public org.json.simple.JSONArray updateTitles()- Specified by:
updateTitlesin interfaceMediaApi- See Also:
-
updateTitlesStream
@Retryable(maxAttempts=2, backoff=@Backoff(delay=2000L), retryFor=RequestException.class) public InputStream updateTitlesStream()- Specified by:
updateTitlesStreamin interfaceMediaApi
-
doSearch
@Retryable(maxAttempts=2, backoff=@Backoff(delay=2000L), retryFor=RequestException.class) public List<MediaModel> doSearch(String search, MediaCategoryModel mediaCategoryModel) -
getDetails
@Retryable(maxAttempts=2, backoff=@Backoff(delay=2000L), retryFor=RequestException.class) public MediaModel getDetails(Integer id) - Specified by:
getDetailsin interfaceMediaApi- See Also:
-
getTrailer
public ExternalReferenceModel getTrailer(info.movito.themoviedbapi.model.tv.series.TvSeriesDb rawSerieDetails) -
getArtwork
@Retryable(maxAttempts=2, backoff=@Backoff(delay=2000L), retryFor=RequestException.class) public MediaModel getArtwork(Integer id) - Specified by:
getArtworkin interfaceMediaApi- See Also:
-
getKeyword
@Retryable(maxAttempts=2, backoff=@Backoff(delay=2000L), retryFor=RequestException.class) public List<info.movito.themoviedbapi.model.keywords.Keyword> getKeyword(Integer id) - Specified by:
getKeywordin interfaceMediaApi- See Also:
-
getAlternativeTitles
@Retryable(maxAttempts=2, backoff=@Backoff(delay=2000L), retryFor=RequestException.class) public List<AlternativeTitleModel> getAlternativeTitles(Integer id) - Specified by:
getAlternativeTitlesin interfaceMediaApi- See Also:
-
getExternalReference
@Retryable(maxAttempts=2, backoff=@Backoff(delay=2000L), retryFor=RequestException.class) public List<ExternalReferenceModel> getExternalReference(Integer id) - Specified by:
getExternalReferencein interfaceMediaApi- See Also:
-
getGenre
@Retryable(maxAttempts=2, backoff=@Backoff(delay=2000L), retryFor=RequestException.class) public List<GenreModel> getGenre(Integer id) -
getSeason
@Retryable(maxAttempts=2, backoff=@Backoff(delay=2000L), retryFor=RequestException.class) public List<SeasonModel> getSeason(Integer id)
-