Renamed method
This commit is contained in:
@@ -112,7 +112,7 @@ public class TmdbAccount extends AbstractMethod {
|
||||
|
||||
URL url = new ApiUrl(apiKey, MethodBase.ACCOUNT).subMethod(MethodSub.FAVORITE_MOVIES).buildUrl(parameters);
|
||||
WrapperGenericList<MovieBasic> wrapper = processWrapper(getTypeReference(MovieBasic.class), url, "favorite movies");
|
||||
return wrapper.getTmdbResultsList();
|
||||
return wrapper.getResultsList();
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -130,7 +130,7 @@ public class TmdbAccount extends AbstractMethod {
|
||||
|
||||
URL url = new ApiUrl(apiKey, MethodBase.ACCOUNT).subMethod(MethodSub.FAVORITE_TV).buildUrl(parameters);
|
||||
WrapperGenericList<TVBasic> wrapper = processWrapper(getTypeReference(TVBasic.class), url, "favorite TV shows");
|
||||
return wrapper.getTmdbResultsList();
|
||||
return wrapper.getResultsList();
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -186,7 +186,7 @@ public class TmdbAccount extends AbstractMethod {
|
||||
|
||||
URL url = new ApiUrl(apiKey, MethodBase.ACCOUNT).subMethod(MethodSub.RATED_MOVIES).buildUrl(parameters);
|
||||
WrapperGenericList<MovieBasic> wrapper = processWrapper(getTypeReference(MovieBasic.class), url, "rated movies");
|
||||
return wrapper.getTmdbResultsList();
|
||||
return wrapper.getResultsList();
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -210,7 +210,7 @@ public class TmdbAccount extends AbstractMethod {
|
||||
|
||||
URL url = new ApiUrl(apiKey, MethodBase.ACCOUNT).subMethod(MethodSub.RATED_TV).buildUrl(parameters);
|
||||
WrapperGenericList<TVBasic> wrapper = processWrapper(getTypeReference(TVBasic.class), url, "rated TV shows");
|
||||
return wrapper.getTmdbResultsList();
|
||||
return wrapper.getResultsList();
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -234,7 +234,7 @@ public class TmdbAccount extends AbstractMethod {
|
||||
|
||||
URL url = new ApiUrl(apiKey, MethodBase.ACCOUNT).subMethod(MethodSub.WATCHLIST_MOVIES).buildUrl(parameters);
|
||||
WrapperGenericList<MovieBasic> wrapper = processWrapper(getTypeReference(MovieBasic.class), url, "movie watch list");
|
||||
return wrapper.getTmdbResultsList();
|
||||
return wrapper.getResultsList();
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -258,7 +258,7 @@ public class TmdbAccount extends AbstractMethod {
|
||||
|
||||
URL url = new ApiUrl(apiKey, MethodBase.ACCOUNT).subMethod(MethodSub.WATCHLIST_TV).buildUrl(parameters);
|
||||
WrapperGenericList<TVBasic> wrapper = processWrapper(getTypeReference(TVBasic.class), url, "TV watch list");
|
||||
return wrapper.getTmdbResultsList();
|
||||
return wrapper.getResultsList();
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -321,6 +321,6 @@ public class TmdbAccount extends AbstractMethod {
|
||||
|
||||
URL url = new ApiUrl(apiKey, MethodBase.GUEST_SESSION).subMethod(MethodSub.RATED_MOVIES_GUEST).buildUrl(parameters);
|
||||
WrapperGenericList<MovieBasic> wrapper = processWrapper(getTypeReference(MovieBasic.class), url, "Guest Session Movies");
|
||||
return wrapper.getTmdbResultsList();
|
||||
return wrapper.getResultsList();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -68,7 +68,7 @@ public class TmdbChanges extends AbstractMethod {
|
||||
|
||||
URL url = new ApiUrl(apiKey, method).subMethod(MethodSub.CHANGES).buildUrl(params);
|
||||
WrapperGenericList<ChangeListItem> wrapper = processWrapper(getTypeReference(ChangeListItem.class), url, "changes");
|
||||
return wrapper.getTmdbResultsList();
|
||||
return wrapper.getResultsList();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -92,7 +92,7 @@ public class TmdbCompanies extends AbstractMethod {
|
||||
URL url = new ApiUrl(apiKey, MethodBase.COMPANY).subMethod(MethodSub.MOVIES).buildUrl(parameters);
|
||||
String webpage = httpTools.getRequest(url);
|
||||
WrapperGenericList<MovieBasic> wrapper = processWrapper(getTypeReference(MovieBasic.class), url, webpage);
|
||||
return wrapper.getTmdbResultsList();
|
||||
return wrapper.getResultsList();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -90,7 +90,7 @@ public class TmdbKeywords extends AbstractMethod {
|
||||
|
||||
URL url = new ApiUrl(apiKey, MethodBase.KEYWORD).subMethod(MethodSub.MOVIES).buildUrl(parameters);
|
||||
WrapperGenericList<MovieBasic> wrapper = processWrapper(getTypeReference(MovieBasic.class), url, "keyword movies");
|
||||
return wrapper.getTmdbResultsList();
|
||||
return wrapper.getResultsList();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -386,7 +386,7 @@ public class TmdbMovies extends AbstractMethod {
|
||||
|
||||
URL url = new ApiUrl(apiKey, MethodBase.MOVIE).subMethod(MethodSub.SIMILAR).buildUrl(parameters);
|
||||
WrapperGenericList<MovieInfo> wrapper = processWrapper(getTypeReference(MovieInfo.class), url, "similar movies");
|
||||
return wrapper.getTmdbResultsList();
|
||||
return wrapper.getResultsList();
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -408,7 +408,7 @@ public class TmdbMovies extends AbstractMethod {
|
||||
|
||||
URL url = new ApiUrl(apiKey, MethodBase.MOVIE).subMethod(MethodSub.REVIEWS).buildUrl(parameters);
|
||||
WrapperGenericList<Review> wrapper = processWrapper(getTypeReference(Review.class), url, "review");
|
||||
return wrapper.getTmdbResultsList();
|
||||
return wrapper.getResultsList();
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -430,7 +430,7 @@ public class TmdbMovies extends AbstractMethod {
|
||||
|
||||
URL url = new ApiUrl(apiKey, MethodBase.MOVIE).subMethod(MethodSub.LISTS).buildUrl(parameters);
|
||||
WrapperGenericList<UserList> wrapper = processWrapper(getTypeReference(UserList.class), url, "movie lists");
|
||||
return wrapper.getTmdbResultsList();
|
||||
return wrapper.getResultsList();
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -539,7 +539,7 @@ public class TmdbMovies extends AbstractMethod {
|
||||
|
||||
URL url = new ApiUrl(apiKey, MethodBase.MOVIE).subMethod(MethodSub.UPCOMING).buildUrl(parameters);
|
||||
WrapperGenericList<MovieInfo> wrapper = processWrapper(getTypeReference(MovieInfo.class), url, "upcoming movies");
|
||||
return wrapper.getTmdbResultsList();
|
||||
return wrapper.getResultsList();
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -560,7 +560,7 @@ public class TmdbMovies extends AbstractMethod {
|
||||
|
||||
URL url = new ApiUrl(apiKey, MethodBase.MOVIE).subMethod(MethodSub.NOW_PLAYING).buildUrl(parameters);
|
||||
WrapperGenericList<MovieInfo> wrapper = processWrapper(getTypeReference(MovieInfo.class), url, "now playing movies");
|
||||
return wrapper.getTmdbResultsList();
|
||||
return wrapper.getResultsList();
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -580,7 +580,7 @@ public class TmdbMovies extends AbstractMethod {
|
||||
|
||||
URL url = new ApiUrl(apiKey, MethodBase.MOVIE).subMethod(MethodSub.POPULAR).buildUrl(parameters);
|
||||
WrapperGenericList<MovieInfo> wrapper = processWrapper(getTypeReference(MovieInfo.class), url, "popular movie list");
|
||||
return wrapper.getTmdbResultsList();
|
||||
return wrapper.getResultsList();
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -601,7 +601,7 @@ public class TmdbMovies extends AbstractMethod {
|
||||
|
||||
URL url = new ApiUrl(apiKey, MethodBase.MOVIE).subMethod(MethodSub.TOP_RATED).buildUrl(parameters);
|
||||
WrapperGenericList<MovieInfo> wrapper = processWrapper(getTypeReference(MovieInfo.class), url, "top rated movies");
|
||||
return wrapper.getTmdbResultsList();
|
||||
return wrapper.getResultsList();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -247,7 +247,7 @@ public class TmdbPeople extends AbstractMethod {
|
||||
|
||||
URL url = new ApiUrl(apiKey, MethodBase.PERSON).subMethod(MethodSub.TAGGED_IMAGES).buildUrl(parameters);
|
||||
WrapperGenericList<ArtworkMedia> wrapper = processWrapper(getTypeReference(ArtworkMedia.class), url, "tagged images");
|
||||
return wrapper.getTmdbResultsList();
|
||||
return wrapper.getResultsList();
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -299,7 +299,7 @@ public class TmdbPeople extends AbstractMethod {
|
||||
|
||||
URL url = new ApiUrl(apiKey, MethodBase.PERSON).subMethod(MethodSub.POPULAR).buildUrl(parameters);
|
||||
WrapperGenericList<PersonFind> wrapper = processWrapper(getTypeReference(PersonFind.class), url, "person popular");
|
||||
return wrapper.getTmdbResultsList();
|
||||
return wrapper.getResultsList();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -80,7 +80,7 @@ public class TmdbSearch extends AbstractMethod {
|
||||
|
||||
URL url = new ApiUrl(apiKey, MethodBase.SEARCH).subMethod(MethodSub.COMPANY).buildUrl(parameters);
|
||||
WrapperGenericList<Company> wrapper = processWrapper(getTypeReference(Company.class), url, "company");
|
||||
return wrapper.getTmdbResultsList();
|
||||
return wrapper.getResultsList();
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -100,7 +100,7 @@ public class TmdbSearch extends AbstractMethod {
|
||||
|
||||
URL url = new ApiUrl(apiKey, MethodBase.SEARCH).subMethod(MethodSub.COLLECTION).buildUrl(parameters);
|
||||
WrapperGenericList<Collection> wrapper = processWrapper(getTypeReference(Collection.class), url, "collection");
|
||||
return wrapper.getTmdbResultsList();
|
||||
return wrapper.getResultsList();
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -118,7 +118,7 @@ public class TmdbSearch extends AbstractMethod {
|
||||
|
||||
URL url = new ApiUrl(apiKey, MethodBase.SEARCH).subMethod(MethodSub.KEYWORD).buildUrl(parameters);
|
||||
WrapperGenericList<Keyword> wrapper = processWrapper(getTypeReference(Keyword.class), url, "keyword");
|
||||
return wrapper.getTmdbResultsList();
|
||||
return wrapper.getResultsList();
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -138,7 +138,7 @@ public class TmdbSearch extends AbstractMethod {
|
||||
|
||||
URL url = new ApiUrl(apiKey, MethodBase.SEARCH).subMethod(MethodSub.LIST).buildUrl(parameters);
|
||||
WrapperGenericList<UserList> wrapper = processWrapper(getTypeReference(UserList.class), url, "list");
|
||||
return wrapper.getTmdbResultsList();
|
||||
return wrapper.getResultsList();
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -174,7 +174,7 @@ public class TmdbSearch extends AbstractMethod {
|
||||
URL url = new ApiUrl(apiKey, MethodBase.SEARCH).subMethod(MethodSub.MOVIE).buildUrl(parameters);
|
||||
|
||||
WrapperGenericList<MovieInfo> wrapper = processWrapper(getTypeReference(MovieInfo.class), url, "movie");
|
||||
return wrapper.getTmdbResultsList();
|
||||
return wrapper.getResultsList();
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -233,7 +233,7 @@ public class TmdbSearch extends AbstractMethod {
|
||||
}
|
||||
URL url = new ApiUrl(apiKey, MethodBase.SEARCH).subMethod(MethodSub.PERSON).buildUrl(parameters);
|
||||
WrapperGenericList<PersonFind> wrapper = processWrapper(getTypeReference(PersonFind.class), url, "person");
|
||||
return wrapper.getTmdbResultsList();
|
||||
return wrapper.getResultsList();
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -258,7 +258,7 @@ public class TmdbSearch extends AbstractMethod {
|
||||
}
|
||||
URL url = new ApiUrl(apiKey, MethodBase.SEARCH).subMethod(MethodSub.MOVIE).buildUrl(parameters);
|
||||
WrapperGenericList<TVBasic> wrapper = processWrapper(getTypeReference(TVBasic.class), url, "TV Show");
|
||||
return wrapper.getTmdbResultsList();
|
||||
return wrapper.getResultsList();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -134,7 +134,7 @@ public class TmdbTV extends AbstractMethod {
|
||||
|
||||
URL url = new ApiUrl(apiKey, MethodBase.TV).subMethod(MethodSub.ALT_TITLES).buildUrl(parameters);
|
||||
WrapperGenericList<AlternativeTitle> wrapper = processWrapper(getTypeReference(AlternativeTitle.class), url, "alternative titles");
|
||||
return wrapper.getTmdbResultsList();
|
||||
return wrapper.getResultsList();
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -175,7 +175,7 @@ public class TmdbTV extends AbstractMethod {
|
||||
|
||||
URL url = new ApiUrl(apiKey, MethodBase.TV).subMethod(MethodSub.CONTENT_RATINGS).buildUrl(parameters);
|
||||
WrapperGenericList<ContentRating> wrapper = processWrapper(getTypeReference(ContentRating.class), url, "content rating");
|
||||
return wrapper.getTmdbResultsList();
|
||||
return wrapper.getResultsList();
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -268,7 +268,7 @@ public class TmdbTV extends AbstractMethod {
|
||||
|
||||
URL url = new ApiUrl(apiKey, MethodBase.TV).subMethod(MethodSub.KEYWORDS).buildUrl(parameters);
|
||||
WrapperGenericList<Keyword> wrapper = processWrapper(getTypeReference(Keyword.class), url, "keywords");
|
||||
return wrapper.getTmdbResultsList();
|
||||
return wrapper.getResultsList();
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -325,7 +325,7 @@ public class TmdbTV extends AbstractMethod {
|
||||
|
||||
URL url = new ApiUrl(apiKey, MethodBase.TV).subMethod(MethodSub.SIMILAR).buildUrl(parameters);
|
||||
WrapperGenericList<TVInfo> wrapper = processWrapper(getTypeReference(TVInfo.class), url, "similar TV shows");
|
||||
return wrapper.getTmdbResultsList();
|
||||
return wrapper.getResultsList();
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -415,7 +415,7 @@ public class TmdbTV extends AbstractMethod {
|
||||
|
||||
URL url = new ApiUrl(apiKey, MethodBase.TV).subMethod(MethodSub.ON_THE_AIR).buildUrl(parameters);
|
||||
WrapperGenericList<TVBasic> wrapper = processWrapper(getTypeReference(TVBasic.class), url, "on the air");
|
||||
return wrapper.getTmdbResultsList();
|
||||
return wrapper.getResultsList();
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -437,7 +437,7 @@ public class TmdbTV extends AbstractMethod {
|
||||
|
||||
URL url = new ApiUrl(apiKey, MethodBase.TV).subMethod(MethodSub.AIRING_TODAY).buildUrl(parameters);
|
||||
WrapperGenericList<TVBasic> wrapper = processWrapper(getTypeReference(TVBasic.class), url, "airing today");
|
||||
return wrapper.getTmdbResultsList();
|
||||
return wrapper.getResultsList();
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -460,7 +460,7 @@ public class TmdbTV extends AbstractMethod {
|
||||
|
||||
URL url = new ApiUrl(apiKey, MethodBase.TV).subMethod(MethodSub.TOP_RATED).buildUrl(parameters);
|
||||
WrapperGenericList<TVBasic> wrapper = processWrapper(getTypeReference(TVBasic.class), url, "top rated TV shows");
|
||||
return wrapper.getTmdbResultsList();
|
||||
return wrapper.getResultsList();
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -478,6 +478,6 @@ public class TmdbTV extends AbstractMethod {
|
||||
|
||||
URL url = new ApiUrl(apiKey, MethodBase.TV).subMethod(MethodSub.POPULAR).buildUrl(parameters);
|
||||
WrapperGenericList<TVBasic> wrapper = processWrapper(getTypeReference(TVBasic.class), url, "popular TV shows");
|
||||
return wrapper.getTmdbResultsList();
|
||||
return wrapper.getResultsList();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -45,7 +45,7 @@ public class WrapperGenericList<T> extends AbstractWrapperAll implements Seriali
|
||||
this.results = results;
|
||||
}
|
||||
|
||||
public ResultList<T> getTmdbResultsList() {
|
||||
public ResultList<T> getResultsList() {
|
||||
ResultList<T> resultsList = new ResultList<T>(results);
|
||||
resultsList.copyWrapper(this);
|
||||
return resultsList;
|
||||
|
||||
Reference in New Issue
Block a user