Table of Contents

Class LogViewerTreeController

Namespace
Umbraco.Cms.Web.BackOffice.Trees
Assembly
Umbraco.Web.BackOffice.dll
[Authorize(Policy = "TreeAccessLogs")]
[Tree("settings", "logViewer", SortOrder = 9, TreeGroup = "settingsGroup")]
public class LogViewerTreeController : TreeController, ITree
Inheritance
LogViewerTreeController
Implements
ITree
Inherited Members

Constructors

LogViewerTreeController(ILocalizedTextService, UmbracoApiControllerTypeCollection, IEventAggregator, IMenuItemCollectionFactory)

public LogViewerTreeController(ILocalizedTextService localizedTextService, UmbracoApiControllerTypeCollection umbracoApiControllerTypeCollection, IEventAggregator eventAggregator, IMenuItemCollectionFactory menuItemCollectionFactory)

Parameters

localizedTextService ILocalizedTextService
umbracoApiControllerTypeCollection UmbracoApiControllerTypeCollection
eventAggregator IEventAggregator
menuItemCollectionFactory IMenuItemCollectionFactory

Methods

CreateRootNode(FormCollection)

Helper method to create a root model for a tree

protected override ActionResult<TreeNode?> CreateRootNode(FormCollection queryStrings)

Parameters

queryStrings FormCollection

Returns

ActionResult<TreeNode>

GetMenuForNode(string, FormCollection)

protected override ActionResult<MenuItemCollection> GetMenuForNode(string id, FormCollection queryStrings)

Parameters

id string
queryStrings FormCollection

Returns

ActionResult<MenuItemCollection>

GetTreeNodes(string, FormCollection)

protected override ActionResult<TreeNodeCollection> GetTreeNodes(string id, FormCollection queryStrings)

Parameters

id string
queryStrings FormCollection

Returns

ActionResult<TreeNodeCollection>