Class UserRootFolder
Special class used for User Roots. Children contain actual ones defined for this user PLUS the virtual folders from the physical root (added by plug-ins).
Inherited Members
Namespace: MediaBrowser.Controller.Entities
Assembly: MediaBrowser.Controller.dll
Syntax
public sealed class UserRootFolder : Folder, IHasProviderIds, IHasLookupInfo<ItemLookupInfo>, IHasFolderGrouping
Properties
SupportsAncestors
Declaration
[IgnoreDataMember]
public override bool SupportsAncestors { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Overrides
SupportsCollections
Declaration
[IgnoreDataMember]
public override bool SupportsCollections { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Overrides
SupportsInheritedParentImages
Declaration
[IgnoreDataMember]
public override bool SupportsInheritedParentImages { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Overrides
SupportsOwnedItems
Declaration
[IgnoreDataMember]
public override bool SupportsOwnedItems { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Overrides
SupportsTags
Declaration
[IgnoreDataMember]
public override bool SupportsTags { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Overrides
SupportsThemeMedia
Declaration
[IgnoreDataMember]
public override bool SupportsThemeMedia { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Overrides
SupportsUserData
Declaration
[IgnoreDataMember]
public override bool SupportsUserData { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Overrides
UpdateChildrenOnLockStateChange
Declaration
[IgnoreDataMember]
public override bool UpdateChildrenOnLockStateChange { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Overrides
ValidatesChildren
Declaration
[IgnoreDataMember]
protected override bool ValidatesChildren { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Overrides
Methods
CanDelete()
Declaration
public override bool CanDelete()
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
ClearCachedChildren()
Declaration
public void ClearCachedChildren()
ClearCachedUserPermissions(Int64)
Declaration
public void ClearCachedUserPermissions(long userId)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | userId |
GetItemIdsInternal(InternalItemsQuery, IDataContext)
Declaration
protected override long[] GetItemIdsInternal(InternalItemsQuery query, IDataContext dataContext)
Parameters
Type | Name | Description |
---|---|---|
InternalItemsQuery | query | |
IDataContext | dataContext |
Returns
Type | Description |
---|---|
System.Int64[] |
Overrides
GetItemsInternal(InternalItemsQuery, IDataContext)
Declaration
protected override QueryResult<BaseItem> GetItemsInternal(InternalItemsQuery query, IDataContext dataContext)
Parameters
Type | Name | Description |
---|---|---|
InternalItemsQuery | query | |
IDataContext | dataContext |
Returns
Type | Description |
---|---|
QueryResult<BaseItem> |
Overrides
IsVisible(User)
Declaration
public override bool IsVisible(User user)
Parameters
Type | Name | Description |
---|---|---|
User | user |
Returns
Type | Description |
---|---|
System.Boolean |