using MediaBrowser.Controller.Entities; using MediaBrowser.Controller.Entities.Movies; using System; using System.Collections.Generic; using System.Threading.Tasks; namespace MediaBrowser.Controller.Collections { public interface ICollectionManager { /// /// Creates the collection. /// /// The options. /// Task. Task CreateCollection(CollectionCreationOptions options); /// /// Adds to collection. /// /// The collection identifier. /// The item ids. /// Task. Task AddToCollection(Guid collectionId, IEnumerable itemIds); /// /// Removes from collection. /// /// The collection identifier. /// The item ids. /// Task. Task RemoveFromCollection(Guid collectionId, IEnumerable itemIds); /// /// Collapses the items within box sets. /// /// The items. /// The user. /// IEnumerable{BaseItem}. IEnumerable CollapseItemsWithinBoxSets(IEnumerable items, User user); } }