001package net.filebot.web;
002
003import java.net.URI;
004import java.util.List;
005import java.util.Locale;
006
007public interface EpisodeListProvider extends Datasource {
008
009        public boolean hasSeasonSupport();
010
011        public List<SearchResult> search(String query, Locale locale) throws Exception;
012
013        public List<Episode> getEpisodeList(SearchResult searchResult, SortOrder order, Locale locale) throws Exception;
014
015        public List<Episode> getEpisodeList(int id, SortOrder order, Locale locale) throws Exception;
016
017        public SeriesInfo getSeriesInfo(SearchResult searchResult, Locale locale) throws Exception;
018
019        public SeriesInfo getSeriesInfo(int id, Locale locale) throws Exception;
020
021        public URI getEpisodeListLink(SearchResult searchResult);
022
023        public SortOrder vetoRequestParameter(SortOrder order);
024
025        public Locale vetoRequestParameter(Locale language);
026
027}