Package dev.reuss.tmdb.domain.people
Class DefaultPersonService
java.lang.Object
dev.reuss.tmdb.domain.people.DefaultPersonService
- All Implemented Interfaces:
PersonService
Default
PersonService implementation backed by the TMDB HTTP client.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionLoads recent changes for a person.changes(PersonId personId, ChangesQuery query) Loads recent changes for a person using query parameters.combinedCredits(PersonId personId) Loads combined movie and TV credits for a person.combinedCredits(PersonId personId, Language language) Loads combined movie and TV credits for a person using a specific language.Loads top level person details.details(PersonId personId, AppendToResponse<PersonAppend> appendToResponse) Loads top level person details with appended responses.Loads top level person details using a specific language.details(PersonId personId, Language language, AppendToResponse<PersonAppend> appendToResponse) Loads top level person details using a specific language and appended responses.externalIds(PersonId personId) Loads external IDs for a person.latest()Loads the newest created TMDB person.movieCredits(PersonId personId) Loads movie credits for a person.movieCredits(PersonId personId, Language language) Loads movie credits for a person using a specific language.popular()Loads popular people.popular(int page) Loads popular people using a specific page.popular(PopularPeopleQuery query) Loads popular people using query parameters.Loads popular people using a specific language.translations(PersonId personId) Loads translations for a person.Loads TV credits for a person.Loads TV credits for a person using a specific language.
-
Constructor Details
-
DefaultPersonService
-
-
Method Details
-
details
Description copied from interface:PersonServiceLoads top level person details.- Specified by:
detailsin interfacePersonService- Parameters:
personId- the person id- Returns:
- person details
-
details
Description copied from interface:PersonServiceLoads top level person details using a specific language.- Specified by:
detailsin interfacePersonService- Parameters:
personId- the person idlanguage- response language- Returns:
- localized person details
-
details
Description copied from interface:PersonServiceLoads top level person details with appended responses.- Specified by:
detailsin interfacePersonService- Parameters:
personId- the person idappendToResponse- appended response sections- Returns:
- person details with appended responses
-
details
public PersonDetails details(PersonId personId, Language language, AppendToResponse<PersonAppend> appendToResponse) Description copied from interface:PersonServiceLoads top level person details using a specific language and appended responses.- Specified by:
detailsin interfacePersonService- Parameters:
personId- the person idlanguage- response languageappendToResponse- appended response sections- Returns:
- localized person details with appended responses
-
changes
Description copied from interface:PersonServiceLoads recent changes for a person.- Specified by:
changesin interfacePersonService- Parameters:
personId- the person id- Returns:
- person changes
-
changes
Description copied from interface:PersonServiceLoads recent changes for a person using query parameters.- Specified by:
changesin interfacePersonService- Parameters:
personId- the person idquery- changes query- Returns:
- person changes
-
combinedCredits
Description copied from interface:PersonServiceLoads combined movie and TV credits for a person.- Specified by:
combinedCreditsin interfacePersonService- Parameters:
personId- the person id- Returns:
- combined person credits
-
combinedCredits
Description copied from interface:PersonServiceLoads combined movie and TV credits for a person using a specific language.- Specified by:
combinedCreditsin interfacePersonService- Parameters:
personId- the person idlanguage- response language- Returns:
- localized combined person credits
-
externalIds
Description copied from interface:PersonServiceLoads external IDs for a person.- Specified by:
externalIdsin interfacePersonService- Parameters:
personId- the person id- Returns:
- external person IDs
-
latest
Description copied from interface:PersonServiceLoads the newest created TMDB person.This is a live response and can change continuously.
- Specified by:
latestin interfacePersonService- Returns:
- latest created person
-
movieCredits
Description copied from interface:PersonServiceLoads movie credits for a person.- Specified by:
movieCreditsin interfacePersonService- Parameters:
personId- the person id- Returns:
- movie credits
-
movieCredits
Description copied from interface:PersonServiceLoads movie credits for a person using a specific language.- Specified by:
movieCreditsin interfacePersonService- Parameters:
personId- the person idlanguage- response language- Returns:
- localized movie credits
-
tvCredits
Description copied from interface:PersonServiceLoads TV credits for a person.- Specified by:
tvCreditsin interfacePersonService- Parameters:
personId- the person id- Returns:
- TV credits
-
tvCredits
Description copied from interface:PersonServiceLoads TV credits for a person using a specific language.- Specified by:
tvCreditsin interfacePersonService- Parameters:
personId- the person idlanguage- response language- Returns:
- localized TV credits
-
translations
Description copied from interface:PersonServiceLoads translations for a person.- Specified by:
translationsin interfacePersonService- Parameters:
personId- the person id- Returns:
- person translations
-
popular
Description copied from interface:PersonServiceLoads popular people.- Specified by:
popularin interfacePersonService- Returns:
- popular people
-
popular
Description copied from interface:PersonServiceLoads popular people using a specific language.- Specified by:
popularin interfacePersonService- Parameters:
language- response language- Returns:
- localized popular people
-
popular
Description copied from interface:PersonServiceLoads popular people using a specific page.- Specified by:
popularin interfacePersonService- Parameters:
page- page number- Returns:
- popular people page
-
popular
Description copied from interface:PersonServiceLoads popular people using query parameters.- Specified by:
popularin interfacePersonService- Parameters:
query- popular people query- Returns:
- popular people
-
images
- Specified by:
imagesin interfacePersonService
-