2016-04-30 16:05:21 -07:00
|
|
|
|
using System.Collections.Generic;
|
2016-06-18 23:18:29 -07:00
|
|
|
|
using System.Threading.Tasks;
|
2016-04-30 16:05:21 -07:00
|
|
|
|
using MediaBrowser.Model.Dto;
|
2014-07-03 19:22:57 -07:00
|
|
|
|
|
2013-12-19 14:51:32 -07:00
|
|
|
|
namespace MediaBrowser.Controller.Entities
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Interface IHasUserData
|
|
|
|
|
/// </summary>
|
2015-06-01 10:07:55 -07:00
|
|
|
|
public interface IHasUserData : IHasId
|
2013-12-19 14:51:32 -07:00
|
|
|
|
{
|
2016-04-30 16:05:21 -07:00
|
|
|
|
List<string> GetUserDataKeys();
|
|
|
|
|
|
2014-07-03 19:22:57 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Fills the user data dto values.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="dto">The dto.</param>
|
|
|
|
|
/// <param name="userData">The user data.</param>
|
|
|
|
|
/// <param name="user">The user.</param>
|
2016-06-18 23:18:29 -07:00
|
|
|
|
Task FillUserDataDtoValues(UserItemDataDto dto, UserItemData userData, BaseItemDto itemDto, User user);
|
2016-04-27 11:44:08 -07:00
|
|
|
|
|
|
|
|
|
bool EnableRememberingTrackSelections { get; }
|
2013-12-19 14:51:32 -07:00
|
|
|
|
}
|
|
|
|
|
}
|