Class DataTypeTreeController
- Namespace
- Umbraco.Cms.Web.BackOffice.Trees
- Assembly
- Umbraco.Web.BackOffice.dll
[Authorize(Policy = "TreeAccessDataTypes")]
[Tree("settings", "dataTypes", SortOrder = 3, TreeGroup = "settingsGroup")]
public class DataTypeTreeController : TreeController, ITree, ISearchableTree, IDiscoverable
- Inheritance
-
DataTypeTreeController
- Implements
-
ITreeISearchableTreeIDiscoverable
- Inherited Members
Constructors
DataTypeTreeController(ILocalizedTextService, UmbracoApiControllerTypeCollection, UmbracoTreeSearcher, IMenuItemCollectionFactory, IEntityService, IDataTypeService, IEventAggregator)
public DataTypeTreeController(ILocalizedTextService localizedTextService, UmbracoApiControllerTypeCollection umbracoApiControllerTypeCollection, UmbracoTreeSearcher treeSearcher, IMenuItemCollectionFactory menuItemCollectionFactory, IEntityService entityService, IDataTypeService dataTypeService, IEventAggregator eventAggregator)
Parameters
localizedTextServiceILocalizedTextServiceumbracoApiControllerTypeCollectionUmbracoApiControllerTypeCollectiontreeSearcherUmbracoTreeSearchermenuItemCollectionFactoryIMenuItemCollectionFactoryentityServiceIEntityServicedataTypeServiceIDataTypeServiceeventAggregatorIEventAggregator
Methods
GetMenuForNode(string, FormCollection)
protected override ActionResult<MenuItemCollection> GetMenuForNode(string id, FormCollection queryStrings)
Parameters
idstringqueryStringsFormCollection
Returns
- ActionResult<MenuItemCollection>
GetTreeNodes(string, FormCollection)
protected override ActionResult<TreeNodeCollection> GetTreeNodes(string id, FormCollection queryStrings)
Parameters
idstringqueryStringsFormCollection
Returns
- ActionResult<TreeNodeCollection>
SearchAsync(string, int, long, string?)
public Task<EntitySearchResults> SearchAsync(string query, int pageSize, long pageIndex, string? searchFrom = null)
Parameters
Returns
- Task<EntitySearchResults>