2014-06-07 19:46:24 +00:00
|
|
|
|
using MediaBrowser.Controller.Entities;
|
|
|
|
|
using MediaBrowser.Model.Library;
|
2015-01-26 16:47:15 +00:00
|
|
|
|
using MediaBrowser.Model.Querying;
|
|
|
|
|
using System;
|
2014-06-07 19:46:24 +00:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Threading;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace MediaBrowser.Controller.Library
|
|
|
|
|
{
|
|
|
|
|
public interface IUserViewManager
|
|
|
|
|
{
|
|
|
|
|
Task<IEnumerable<Folder>> GetUserViews(UserViewQuery query, CancellationToken cancellationToken);
|
2014-08-14 13:24:30 +00:00
|
|
|
|
|
2015-03-14 04:50:23 +00:00
|
|
|
|
Task<UserView> GetUserSubView(string name, string parentId, string type, User user, string sortName,
|
2014-11-11 03:41:55 +00:00
|
|
|
|
CancellationToken cancellationToken);
|
|
|
|
|
|
2015-03-14 04:50:23 +00:00
|
|
|
|
Task<UserView> GetUserSubView(string category, string type, User user, string sortName, CancellationToken cancellationToken);
|
2015-01-26 16:47:15 +00:00
|
|
|
|
|
|
|
|
|
List<Tuple<BaseItem, List<BaseItem>>> GetLatestItems(LatestItemsQuery request);
|
2014-06-07 19:46:24 +00:00
|
|
|
|
}
|
|
|
|
|
}
|