From 48facb797ed912e4ea6b04b17d1ff190ac2daac4 Mon Sep 17 00:00:00 2001 From: stefan Date: Wed, 12 Sep 2018 19:26:21 +0200 Subject: Update to 3.5.2 and .net core 2.1 --- .../Persistence/IItemRepository.cs | 173 --------------------- 1 file changed, 173 deletions(-) delete mode 100644 MediaBrowser.Controller/Persistence/IItemRepository.cs (limited to 'MediaBrowser.Controller/Persistence/IItemRepository.cs') diff --git a/MediaBrowser.Controller/Persistence/IItemRepository.cs b/MediaBrowser.Controller/Persistence/IItemRepository.cs deleted file mode 100644 index 4cb3e2bb6..000000000 --- a/MediaBrowser.Controller/Persistence/IItemRepository.cs +++ /dev/null @@ -1,173 +0,0 @@ -using MediaBrowser.Controller.Entities; -using MediaBrowser.Model.Entities; -using System; -using System.Collections.Generic; -using System.Threading; -using MediaBrowser.Model.Dto; -using MediaBrowser.Model.Querying; - -namespace MediaBrowser.Controller.Persistence -{ - /// - /// Provides an interface to implement an Item repository - /// - public interface IItemRepository : IRepository - { - /// - /// Saves an item - /// - /// The item. - /// The cancellation token. - void SaveItem(BaseItem item, CancellationToken cancellationToken); - - /// - /// Deletes the item. - /// - /// The identifier. - /// The cancellation token. - void DeleteItem(Guid id, CancellationToken cancellationToken); - - /// - /// Gets the critic reviews. - /// - /// The item id. - /// Task{IEnumerable{ItemReview}}. - List GetCriticReviews(Guid itemId); - - /// - /// Saves the critic reviews. - /// - /// The item id. - /// The critic reviews. - void SaveCriticReviews(Guid itemId, IEnumerable criticReviews); - - /// - /// Saves the items. - /// - /// The items. - /// The cancellation token. - void SaveItems(List items, CancellationToken cancellationToken); - - void SaveImages(BaseItem item); - - /// - /// Retrieves the item. - /// - /// The id. - /// BaseItem. - BaseItem RetrieveItem(Guid id); - - /// - /// Gets chapters for an item - /// - /// - /// - List GetChapters(Guid id); - - /// - /// Gets a single chapter for an item - /// - /// - /// - /// - ChapterInfo GetChapter(Guid id, int index); - - /// - /// Saves the chapters. - /// - void SaveChapters(Guid id, List chapters); - - /// - /// Gets the media streams. - /// - /// The query. - /// IEnumerable{MediaStream}. - List GetMediaStreams(MediaStreamQuery query); - - /// - /// Saves the media streams. - /// - /// The identifier. - /// The streams. - /// The cancellation token. - void SaveMediaStreams(Guid id, List streams, CancellationToken cancellationToken); - - /// - /// Gets the item ids. - /// - /// The query. - /// IEnumerable<Guid>. - QueryResult GetItemIds(InternalItemsQuery query); - /// - /// Gets the items. - /// - /// The query. - /// QueryResult<BaseItem>. - QueryResult GetItems(InternalItemsQuery query); - - /// - /// Gets the item ids list. - /// - /// The query. - /// List<Guid>. - List GetItemIdsList(InternalItemsQuery query); - - /// - /// Gets the people. - /// - /// The query. - /// List<PersonInfo>. - List GetPeople(InternalPeopleQuery query); - - /// - /// Updates the people. - /// - /// The item identifier. - /// The people. - void UpdatePeople(Guid itemId, List people); - - /// - /// Gets the people names. - /// - /// The query. - /// List<System.String>. - List GetPeopleNames(InternalPeopleQuery query); - - /// - /// Gets the item ids with path. - /// - /// The query. - /// QueryResult<Tuple<Guid, System.String>>. - List> GetItemIdsWithPath(InternalItemsQuery query); - - /// - /// Gets the item list. - /// - /// The query. - /// List<BaseItem>. - List GetItemList(InternalItemsQuery query); - - /// - /// Updates the inherited values. - /// - /// The cancellation token. - void UpdateInheritedValues(CancellationToken cancellationToken); - - int GetCount(InternalItemsQuery query); - - QueryResult> GetGenres(InternalItemsQuery query); - QueryResult> GetMusicGenres(InternalItemsQuery query); - QueryResult> GetGameGenres(InternalItemsQuery query); - QueryResult> GetStudios(InternalItemsQuery query); - QueryResult> GetArtists(InternalItemsQuery query); - QueryResult> GetAlbumArtists(InternalItemsQuery query); - QueryResult> GetAllArtists(InternalItemsQuery query); - - List GetGameGenreNames(); - List GetMusicGenreNames(); - List GetStudioNames(); - List GetGenreNames(); - List GetAllArtistNames(); - } -} - -- cgit v1.2.3