|
|
|
|
using MediaBrowser.Controller.Entities.Movies;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace MediaBrowser.Controller.Collections
|
|
|
|
|
{
|
|
|
|
|
public interface ICollectionManager
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Creates the collection.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="options">The options.</param>
|
|
|
|
|
/// <returns>Task.</returns>
|
|
|
|
|
Task<BoxSet> CreateCollection(CollectionCreationOptions options);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Adds to collection.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="collectionId">The collection identifier.</param>
|
|
|
|
|
/// <param name="itemIds">The item ids.</param>
|
|
|
|
|
/// <returns>Task.</returns>
|
|
|
|
|
Task AddToCollection(Guid collectionId, IEnumerable<Guid> itemIds);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Removes from collection.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="collectionId">The collection identifier.</param>
|
|
|
|
|
/// <param name="itemIds">The item ids.</param>
|
|
|
|
|
/// <returns>Task.</returns>
|
|
|
|
|
Task RemoveFromCollection(Guid collectionId, IEnumerable<Guid> itemIds);
|
|
|
|
|
}
|
|
|
|
|
}
|