Added Notification System, Renamed Repository to Entities

This commit is contained in:
Keivan
2010-10-07 20:35:04 -07:00
parent 9c7355f3fb
commit 27d86a8540
43 changed files with 351 additions and 760 deletions

View File

@@ -1,24 +1,23 @@
using System;
using System.Collections.Generic;
using NzbDrone.Core.Repository;
using NzbDrone.Core.Repository.Episode;
using NzbDrone.Core.Entities.Episode;
namespace NzbDrone.Core.Providers
{
public interface IEpisodeProvider
{
Episode GetEpisode(long id);
Episode UpdateEpisode(Episode episode);
IList<Episode> GetEpisodesBySeason(long seasonId);
IList<Episode> GetEpisodeBySeries(long seriesId);
String GetSabTitle(Episode episode);
BasicEpisode GetEpisode(long id);
BasicEpisode UpdateEpisode(BasicEpisode episode);
IList<BasicEpisode> GetEpisodesBySeason(long seasonId);
IList<BasicEpisode> GetEpisodeBySeries(long seriesId);
String GetSabTitle(BasicEpisode episode);
/// <summary>
/// Comprehensive check on whether or not this episode is needed.
/// </summary>
/// <param name="episode">Episode that needs to be checked</param>
/// <returns></returns>
bool IsNeeded(Episode episode);
bool IsNeeded(BasicEpisode episode);
void RefreshSeries(int seriesId);
}