Search Results for

    Show / Hide Table of Contents
    View Source

    Class FolderTreeControllerBase<TItem>

    Inheritance
    System.Object
    ManagementApiControllerBase
    EntityTreeControllerBase<TItem>
    Namespace: Umbraco.Cms.ManagementApi.Controllers.Tree
    Assembly: Umbraco.Cms.ManagementApi.dll
    Syntax
    public abstract class FolderTreeControllerBase<TItem> : EntityTreeControllerBase<TItem> where TItem : FolderTreeItemViewModel, new()
    Type Parameters
    Name Description
    TItem

    Constructors

    View Source

    FolderTreeControllerBase(IEntityService)

    Declaration
    protected FolderTreeControllerBase(IEntityService entityService)
    Parameters
    Type Name Description
    IEntityService entityService

    Properties

    View Source

    FolderObjectType

    Declaration
    protected abstract UmbracoObjectTypes FolderObjectType { get; }
    Property Value
    Type Description
    UmbracoObjectTypes

    Methods

    View Source

    GetPagedChildEntities(Guid, Int64, Int32, out Int64)

    Declaration
    protected override IEntitySlim[] GetPagedChildEntities(Guid parentKey, long pageNumber, int pageSize, out long totalItems)
    Parameters
    Type Name Description
    Guid parentKey
    System.Int64 pageNumber
    System.Int32 pageSize
    System.Int64 totalItems
    Returns
    Type Description
    IEntitySlim[]
    View Source

    GetPagedRootEntities(Int64, Int32, out Int64)

    Declaration
    protected override IEntitySlim[] GetPagedRootEntities(long pageNumber, int pageSize, out long totalItems)
    Parameters
    Type Name Description
    System.Int64 pageNumber
    System.Int32 pageSize
    System.Int64 totalItems
    Returns
    Type Description
    IEntitySlim[]
    View Source

    MapTreeItemViewModel(Nullable<Guid>, IEntitySlim)

    Declaration
    protected override TItem MapTreeItemViewModel(Guid? parentKey, IEntitySlim entity)
    Parameters
    Type Name Description
    System.Nullable<Guid> parentKey
    IEntitySlim entity
    Returns
    Type Description
    TItem
    View Source

    RenderFoldersOnly(Boolean)

    Declaration
    protected void RenderFoldersOnly(bool foldersOnly)
    Parameters
    Type Name Description
    System.Boolean foldersOnly
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • FolderTreeControllerBase(IEntityService)
    • Properties
      • FolderObjectType
    • Methods
      • GetPagedChildEntities(Guid, Int64, Int32, out Int64)
      • GetPagedRootEntities(Int64, Int32, out Int64)
      • MapTreeItemViewModel(Nullable<Guid>, IEntitySlim)
      • RenderFoldersOnly(Boolean)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX