Search Results for

    Show / Hide Table of Contents
    View Source

    Class FolderManagementControllerBase<TTreeEntity>

    Inheritance
    System.Object
    ManagementApiControllerBase
    Namespace: Umbraco.Cms.Api.Management.Controllers
    Assembly: Umbraco.Cms.Api.Management.dll
    Syntax
    public abstract class FolderManagementControllerBase<TTreeEntity> : ManagementApiControllerBase where TTreeEntity : ITreeEntity
    Type Parameters
    Name Description
    TTreeEntity

    Constructors

    View Source

    FolderManagementControllerBase(IBackOfficeSecurityAccessor, IEntityTypeContainerService<TTreeEntity>)

    Declaration
    protected FolderManagementControllerBase(IBackOfficeSecurityAccessor backOfficeSecurityAccessor, IEntityTypeContainerService<TTreeEntity> treeEntityTypeContainerService)
    Parameters
    Type Name Description
    IBackOfficeSecurityAccessor backOfficeSecurityAccessor
    IEntityTypeContainerService<TTreeEntity> treeEntityTypeContainerService

    Methods

    View Source

    CreateFolderAsync<TCreatedActionController>(CreateFolderRequestModel, Expression<Func<TCreatedActionController, String>>)

    Declaration
    protected async Task<IActionResult> CreateFolderAsync<TCreatedActionController>(CreateFolderRequestModel createFolderRequestModel, Expression<Func<TCreatedActionController, string>> createdAction)
    Parameters
    Type Name Description
    CreateFolderRequestModel createFolderRequestModel
    System.Linq.Expressions.Expression<Func<TCreatedActionController, System.String>> createdAction
    Returns
    Type Description
    Task<IActionResult>
    Type Parameters
    Name Description
    TCreatedActionController
    View Source

    DeleteFolderAsync(Guid)

    Declaration
    protected async Task<IActionResult> DeleteFolderAsync(Guid key)
    Parameters
    Type Name Description
    Guid key
    Returns
    Type Description
    Task<IActionResult>
    View Source

    GetFolderAsync(Guid)

    Declaration
    protected async Task<IActionResult> GetFolderAsync(Guid key)
    Parameters
    Type Name Description
    Guid key
    Returns
    Type Description
    Task<IActionResult>
    View Source

    OperationStatusResult(EntityContainerOperationStatus)

    Declaration
    protected IActionResult OperationStatusResult(EntityContainerOperationStatus status)
    Parameters
    Type Name Description
    EntityContainerOperationStatus status
    Returns
    Type Description
    IActionResult
    View Source

    UpdateFolderAsync(Guid, UpdateFolderResponseModel)

    Declaration
    protected async Task<IActionResult> UpdateFolderAsync(Guid key, UpdateFolderResponseModel updateFolderResponseModel)
    Parameters
    Type Name Description
    Guid key
    UpdateFolderResponseModel updateFolderResponseModel
    Returns
    Type Description
    Task<IActionResult>
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • FolderManagementControllerBase(IBackOfficeSecurityAccessor, IEntityTypeContainerService<TTreeEntity>)
    • Methods
      • CreateFolderAsync<TCreatedActionController>(CreateFolderRequestModel, Expression<Func<TCreatedActionController, String>>)
      • DeleteFolderAsync(Guid)
      • GetFolderAsync(Guid)
      • OperationStatusResult(EntityContainerOperationStatus)
      • UpdateFolderAsync(Guid, UpdateFolderResponseModel)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX