Class MovieAPIImpl
java.lang.Object
com.espacogeek.geek.data.api.impl.MovieAPIImpl
- 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.movies.MovieDb movieDb) 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, getSeason, getUpdateBasicAttributes
-
Constructor Details
-
MovieAPIImpl
public MovieAPIImpl()
-
-
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
-
getTrailer
-
getArtwork
- 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)
-