2014-06-07 12:46:24 -07:00
|
|
|
|
using MediaBrowser.Controller.Entities;
|
|
|
|
|
using MediaBrowser.Model.Library;
|
2015-01-26 09:47:15 -07:00
|
|
|
|
using MediaBrowser.Model.Querying;
|
|
|
|
|
using System;
|
2014-06-07 12:46:24 -07:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Threading;
|
|
|
|
|
using System.Threading.Tasks;
|
2017-05-21 00:25:49 -07:00
|
|
|
|
using MediaBrowser.Controller.Dto;
|
2014-06-07 12:46:24 -07:00
|
|
|
|
|
|
|
|
|
namespace MediaBrowser.Controller.Library
|
|
|
|
|
{
|
|
|
|
|
public interface IUserViewManager
|
|
|
|
|
{
|
2017-08-19 12:43:35 -07:00
|
|
|
|
Task<Folder[]> GetUserViews(UserViewQuery query, CancellationToken cancellationToken);
|
2014-08-14 06:24:30 -07:00
|
|
|
|
|
2015-08-14 11:00:26 -07:00
|
|
|
|
Task<UserView> GetUserSubView(string name, string parentId, string type, string sortName, CancellationToken cancellationToken);
|
2014-11-10 20:41:55 -07:00
|
|
|
|
|
2015-08-14 11:00:26 -07:00
|
|
|
|
Task<UserView> GetUserSubView(string category, string type, string sortName, CancellationToken cancellationToken);
|
2015-01-26 09:47:15 -07:00
|
|
|
|
|
2017-05-21 00:25:49 -07:00
|
|
|
|
List<Tuple<BaseItem, List<BaseItem>>> GetLatestItems(LatestItemsQuery request, DtoOptions options);
|
2014-06-07 12:46:24 -07:00
|
|
|
|
}
|
|
|
|
|
}
|