View Source
Class FolderManagementControllerBase<TTreeEntity>
Inheritance
System.Object
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
Returns
Type |
Description |
Task<IActionResult> |
|