com.jakewharton.trakt.services
Class ShoutService

java.lang.Object
  extended by com.jakewharton.apibuilder.ApiService
      extended by com.jakewharton.trakt.TraktApiService
          extended by com.jakewharton.trakt.services.ShoutService

public class ShoutService
extends TraktApiService


Nested Class Summary
static class ShoutService.EpisodeBuilder
           
static class ShoutService.MovieBuilder
           
static class ShoutService.ShowBuilder
           
 
Field Summary
 
Fields inherited from class com.jakewharton.apibuilder.ApiService
CONTENT_ENCODING
 
Constructor Summary
ShoutService()
           
 
Method Summary
 ShoutService.EpisodeBuilder episode(int tvdbId)
          Add a shout to an episode on trakt.
 ShoutService.EpisodeBuilder episode(String imdbId)
          Add a shout to an episode on trakt.
 ShoutService.EpisodeBuilder episode(String title, int year)
          Add a shout to an episode on trakt.
 ShoutService.MovieBuilder movie(int tmdbId)
          Add a shout to a movie on trakt.
 ShoutService.MovieBuilder movie(String imdbId)
          Add a shout to a movie on trakt.
 ShoutService.MovieBuilder movie(String title, int year)
          Add a shout to a movie on trakt.
 ShoutService.ShowBuilder show(int tvdbId)
          Add a shout to a show on trakt.
 ShoutService.ShowBuilder show(String imdbId)
          Add a shout to a show on trakt.
 ShoutService.ShowBuilder show(String title, int year)
          Add a shout to a show on trakt.
 
Methods inherited from class com.jakewharton.trakt.TraktApiService
get, post, setApiKey, setAuthentication, setMediaCenterDate, setMediaCenterVersion, setPluginVersion, setUseSsl, unmarshall, unmarshall, unmarshall
 
Methods inherited from class com.jakewharton.apibuilder.ApiService
acceptGzip, addRequestHeader, closeConnection, closeStream, convertStreamToString, executeDelete, executeDelete, executeGet, executeGet, executeMethod, executePost, executePost, getConnectTimeout, getParametersString, getReadTimeout, getRequestHeader, getRequestHeaderNames, getWrappedInputStream, removeRequestHeader, setConnectTimeout, setReadTimeout
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShoutService

public ShoutService()
Method Detail

episode

public ShoutService.EpisodeBuilder episode(String imdbId)
Add a shout to an episode on trakt.

Parameters:
imdbId - IMDB ID for the show.
Returns:
Builder instance.

episode

public ShoutService.EpisodeBuilder episode(int tvdbId)
Add a shout to an episode on trakt.

Parameters:
tvdbId - TVDB ID (thetvdb.com) for the show.
Returns:
Builder instance.

episode

public ShoutService.EpisodeBuilder episode(String title,
                                           int year)
Add a shout to an episode on trakt.

Parameters:
title - Show title.
year - Show title.
Returns:
Builder instance.

movie

public ShoutService.MovieBuilder movie(String imdbId)
Add a shout to a movie on trakt.

Parameters:
imdbId - IMDB ID for the movie.
Returns:
Builder instance.

movie

public ShoutService.MovieBuilder movie(int tmdbId)
Add a shout to a movie on trakt.

Parameters:
tmdbId - TMDB (themoviedb.org) ID for the movie.
Returns:
Builder instance.

movie

public ShoutService.MovieBuilder movie(String title,
                                       int year)
Add a shout to a movie on trakt.

Parameters:
title - Movie title.
year - Movie year.
Returns:
Builder instance.

show

public ShoutService.ShowBuilder show(String imdbId)
Add a shout to a show on trakt.

Parameters:
imdbId - IMDB ID for the show.
Returns:
Builder instance.

show

public ShoutService.ShowBuilder show(int tvdbId)
Add a shout to a show on trakt.

Parameters:
tvdbId - TVDB ID (thetvdb.com) for the show.
Returns:
Builder instance.

show

public ShoutService.ShowBuilder show(String title,
                                     int year)
Add a shout to a show on trakt.

Parameters:
title - Show title.
year - Show year.
Returns:
Builder instance.


Copyright © 2011 Jake Wharton. All Rights Reserved.