2014-03-07 15:53:23 +00:00
|
|
|
|
|
2015-06-29 01:10:45 +00:00
|
|
|
|
using System.Runtime.Serialization;
|
|
|
|
|
|
2013-02-21 01:33:05 +00:00
|
|
|
|
namespace MediaBrowser.Controller.Entities
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Plugins derive from and export this class to create a folder that will appear in the root along
|
|
|
|
|
/// with all the other actual physical folders in the system.
|
|
|
|
|
/// </summary>
|
2013-03-15 19:08:49 +00:00
|
|
|
|
public abstract class BasePluginFolder : Folder, ICollectionFolder, IByReferenceItem
|
2013-02-21 01:33:05 +00:00
|
|
|
|
{
|
2014-06-22 05:52:31 +00:00
|
|
|
|
public virtual string CollectionType
|
2014-06-14 23:13:09 +00:00
|
|
|
|
{
|
2014-07-30 03:31:35 +00:00
|
|
|
|
get { return null; }
|
2014-06-14 23:13:09 +00:00
|
|
|
|
}
|
2015-02-06 05:39:07 +00:00
|
|
|
|
|
|
|
|
|
public override bool CanDelete()
|
|
|
|
|
{
|
|
|
|
|
return false;
|
|
|
|
|
}
|
2015-02-19 19:00:56 +00:00
|
|
|
|
|
|
|
|
|
public override bool IsSaveLocalMetadataEnabled()
|
|
|
|
|
{
|
|
|
|
|
return true;
|
|
|
|
|
}
|
2015-06-29 01:10:45 +00:00
|
|
|
|
|
|
|
|
|
[IgnoreDataMember]
|
|
|
|
|
public override bool SupportsPeople
|
|
|
|
|
{
|
|
|
|
|
get
|
|
|
|
|
{
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
}
|
2013-02-21 01:33:05 +00:00
|
|
|
|
}
|
|
|
|
|
}
|