Package dev.reuss.tmdb.domain.collection
Class DefaultCollectionService
java.lang.Object
dev.reuss.tmdb.domain.collection.DefaultCollectionService
- All Implemented Interfaces:
CollectionService
Default collection service implementation.
-
Constructor Summary
Constructors -
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.
-
Constructor Details
-
DefaultCollectionService
-
-
Method Details
-
details
Description copied from interface:CollectionServiceLoads collection details.- Specified by:
detailsin interfaceCollectionService- Parameters:
collectionId- collection id- Returns:
- collection details
-
details
Description copied from interface:CollectionServiceLoads collection details using a specific language.- Specified by:
detailsin interfaceCollectionService- Parameters:
collectionId- collection idlanguage- response language- Returns:
- localized collection details
-
details
Description copied from interface:CollectionServiceLoads collection details using explicit query parameters.- Specified by:
detailsin interfaceCollectionService- Parameters:
collectionId- collection idquery- details query- Returns:
- collection details
-
images
Description copied from interface:CollectionServiceLoads images for a collection.- Specified by:
imagesin interfaceCollectionService- Parameters:
collectionId- TMDB collection id- Returns:
- collection images
-
images
Description copied from interface:CollectionServiceLoads images for a collection using query parameters.- Specified by:
imagesin interfaceCollectionService- Parameters:
collectionId- TMDB collection idquery- image query- Returns:
- collection images
-
translations
Description copied from interface:CollectionServiceLoads translations for a collection.- Specified by:
translationsin interfaceCollectionService- Parameters:
collectionId- the collection id- Returns:
- collection translations
-