Package dev.reuss.tmdb.domain.collection
Interface CollectionService
- All Known Implementing Classes:
DefaultCollectionService
public interface CollectionService
Service for loading TMDB collection data.
-
Method Summary
Modifier and TypeMethodDescriptiondetails(CollectionId collectionId) Loads collection details.details(CollectionId collectionId, CollectionDetailsQuery query) Loads collection details using explicit query parameters.details(CollectionId collectionId, Language language) Loads collection details using a specific language.images(CollectionId collectionId) Loads images for a collection.images(CollectionId collectionId, ImageQuery query) Loads images for a collection using query parameters.translations(CollectionId collectionId) Loads translations for a collection.
-
Method Details
-
details
Loads collection details.- Parameters:
collectionId- collection id- Returns:
- collection details
-
details
Loads collection details using a specific language.- Parameters:
collectionId- collection idlanguage- response language- Returns:
- localized collection details
-
details
Loads collection details using explicit query parameters.- Parameters:
collectionId- collection idquery- details query- Returns:
- collection details
-
images
Loads images for a collection.- Parameters:
collectionId- TMDB collection id- Returns:
- collection images
-
images
Loads images for a collection using query parameters.- Parameters:
collectionId- TMDB collection idquery- image query- Returns:
- collection images
-
translations
Loads translations for a collection.- Parameters:
collectionId- the collection id- Returns:
- collection translations
-