diff --git a/src/main/java/com/omertron/themoviedbapi/TheMovieDbApi.java b/src/main/java/com/omertron/themoviedbapi/TheMovieDbApi.java index d1a2c6258..955c97f2f 100644 --- a/src/main/java/com/omertron/themoviedbapi/TheMovieDbApi.java +++ b/src/main/java/com/omertron/themoviedbapi/TheMovieDbApi.java @@ -80,7 +80,7 @@ import com.omertron.themoviedbapi.model.person.PersonFind; import com.omertron.themoviedbapi.model.review.Review; import com.omertron.themoviedbapi.model.tv.TVBasic; import com.omertron.themoviedbapi.model.tv.TVInfo; -import com.omertron.themoviedbapi.results.TmdbResultsList; +import com.omertron.themoviedbapi.results.ResultList; import com.omertron.themoviedbapi.results.TmdbResultsMap; import com.omertron.themoviedbapi.tools.HttpTools; import com.omertron.themoviedbapi.tools.MethodBase; @@ -206,7 +206,7 @@ public class TheMovieDbApi { * @return * @throws MovieDbException */ - public TmdbResultsList getFavoriteMovies(String sessionId, int accountId) throws MovieDbException { + public ResultList getFavoriteMovies(String sessionId, int accountId) throws MovieDbException { return tmdbAccount.getFavoriteMovies(sessionId, accountId); } @@ -236,7 +236,7 @@ public class TheMovieDbApi { * @return * @throws MovieDbException */ - public TmdbResultsList getRatedMovies(String sessionId, int accountId, Integer page, String sortBy, String language) throws MovieDbException { + public ResultList getRatedMovies(String sessionId, int accountId, Integer page, String sortBy, String language) throws MovieDbException { return tmdbAccount.getRatedMovies(sessionId, accountId, page, sortBy, language); } @@ -251,7 +251,7 @@ public class TheMovieDbApi { * @return * @throws MovieDbException */ - public TmdbResultsList getRatedTV(String sessionId, int accountId, Integer page, String sortBy, String language) throws MovieDbException { + public ResultList getRatedTV(String sessionId, int accountId, Integer page, String sortBy, String language) throws MovieDbException { return tmdbAccount.getRatedTV(sessionId, accountId, page, sortBy, language); } @@ -266,7 +266,7 @@ public class TheMovieDbApi { * @return The watchlist of the user * @throws MovieDbException */ - public TmdbResultsList getWatchListMovie(String sessionId, int accountId, Integer page, String sortBy, String language) throws MovieDbException { + public ResultList getWatchListMovie(String sessionId, int accountId, Integer page, String sortBy, String language) throws MovieDbException { return tmdbAccount.getWatchListMovie(sessionId, accountId, page, sortBy, language); } @@ -281,7 +281,7 @@ public class TheMovieDbApi { * @return The watchlist of the user * @throws MovieDbException */ - public TmdbResultsList getWatchListTV(String sessionId, int accountId, Integer page, String sortBy, String language) throws MovieDbException { + public ResultList getWatchListTV(String sessionId, int accountId, Integer page, String sortBy, String language) throws MovieDbException { return tmdbAccount.getWatchListTV(sessionId, accountId, page, sortBy, language); } @@ -321,7 +321,7 @@ public class TheMovieDbApi { * @return * @throws MovieDbException */ - public TmdbResultsList getFavoriteTv(String sessionId, int accountId) throws MovieDbException { + public ResultList getFavoriteTv(String sessionId, int accountId) throws MovieDbException { return tmdbAccount.getFavoriteTv(sessionId, accountId); } @@ -335,7 +335,7 @@ public class TheMovieDbApi { * @return * @throws MovieDbException */ - public TmdbResultsList getGuestRatedMovies(String guestSessionId, String language, Integer page, SortBy sortBy) throws MovieDbException { + public ResultList getGuestRatedMovies(String guestSessionId, String language, Integer page, SortBy sortBy) throws MovieDbException { return tmdbAccount.getGuestRatedMovies(guestSessionId, language, page, sortBy); } // @@ -449,7 +449,7 @@ public class TheMovieDbApi { * @return List of changed movie * @throws MovieDbException */ - public TmdbResultsList getMovieChangeList(Integer page, String startDate, String endDate) throws MovieDbException { + public ResultList getMovieChangeList(Integer page, String startDate, String endDate) throws MovieDbException { return tmdbChanges.getChangeList(MethodBase.MOVIE, page, startDate, endDate); } @@ -465,7 +465,7 @@ public class TheMovieDbApi { * @return List of changed movie * @throws MovieDbException */ - public TmdbResultsList getTvChangeList(Integer page, String startDate, String endDate) throws MovieDbException { + public ResultList getTvChangeList(Integer page, String startDate, String endDate) throws MovieDbException { return tmdbChanges.getChangeList(MethodBase.TV, page, startDate, endDate); } @@ -481,7 +481,7 @@ public class TheMovieDbApi { * @return List of changed movie * @throws MovieDbException */ - public TmdbResultsList getPersonChangeList(Integer page, String startDate, String endDate) throws MovieDbException { + public ResultList getPersonChangeList(Integer page, String startDate, String endDate) throws MovieDbException { return tmdbChanges.getChangeList(MethodBase.PERSON, page, startDate, endDate); } // @@ -511,7 +511,7 @@ public class TheMovieDbApi { * @return * @throws MovieDbException */ - public TmdbResultsList getCollectionImages(int collectionId, String language) throws MovieDbException { + public ResultList getCollectionImages(int collectionId, String language) throws MovieDbException { return tmdbCollections.getCollectionImages(collectionId, language); } // @@ -575,7 +575,7 @@ public class TheMovieDbApi { * @return * @throws MovieDbException */ - public TmdbResultsList getJobs() throws MovieDbException { + public ResultList getJobs() throws MovieDbException { return tmdbConfiguration.getJobs(); } @@ -678,7 +678,7 @@ public class TheMovieDbApi { * @return * @throws MovieDbException */ - public TmdbResultsList getGenreMovieList(String language) throws MovieDbException { + public ResultList getGenreMovieList(String language) throws MovieDbException { return tmdbGenre.getGenreMovieList(language); } @@ -689,7 +689,7 @@ public class TheMovieDbApi { * @return * @throws MovieDbException */ - public TmdbResultsList getGenreTVList(String language) throws MovieDbException { + public ResultList getGenreTVList(String language) throws MovieDbException { return tmdbGenre.getGenreTVList(language); } @@ -736,7 +736,7 @@ public class TheMovieDbApi { * @return List of movies with the keyword * @throws MovieDbException */ - public TmdbResultsList getKeywordMovies(String keywordId, String language, Integer page) throws MovieDbException { + public ResultList getKeywordMovies(String keywordId, String language, Integer page) throws MovieDbException { return tmdbKeywords.getKeywordMovies(keywordId, language, page); } // @@ -884,7 +884,7 @@ public class TheMovieDbApi { * @return * @throws MovieDbException */ - public TmdbResultsList getMovieAlternativeTitles(int movieId, String country, String... appendToResponse) throws MovieDbException { + public ResultList getMovieAlternativeTitles(int movieId, String country, String... appendToResponse) throws MovieDbException { return tmdbMovies.getMovieAlternativeTitles(movieId, country, appendToResponse); } @@ -910,7 +910,7 @@ public class TheMovieDbApi { * @return * @throws MovieDbException */ - public TmdbResultsList getMovieImages(int movieId, String language, String... appendToResponse) throws MovieDbException { + public ResultList getMovieImages(int movieId, String language, String... appendToResponse) throws MovieDbException { return tmdbMovies.getMovieImages(movieId, language, appendToResponse); } @@ -925,7 +925,7 @@ public class TheMovieDbApi { * @return * @throws MovieDbException */ - public TmdbResultsList getMovieKeywords(int movieId, String... appendToResponse) throws MovieDbException { + public ResultList getMovieKeywords(int movieId, String... appendToResponse) throws MovieDbException { return tmdbMovies.getMovieKeywords(movieId, appendToResponse); } @@ -939,7 +939,7 @@ public class TheMovieDbApi { * @return * @throws MovieDbException */ - public TmdbResultsList getMovieReleaseInfo(int movieId, String language, String... appendToResponse) throws MovieDbException { + public ResultList getMovieReleaseInfo(int movieId, String language, String... appendToResponse) throws MovieDbException { return tmdbMovies.getMovieReleaseInfo(movieId, language, appendToResponse); } @@ -955,7 +955,7 @@ public class TheMovieDbApi { * @return * @throws MovieDbException */ - public TmdbResultsList