Метод | Описание | |
---|---|---|
GetEntity ( HiveId nodeId ) : TypedEntity |
Returns an entity given a HiveId
|
|
GetMediaUrl ( HiveId id, System.Guid treeId, string propertyAlias ) : string |
Returns the url for the media item
|
|
GetNodeSelectorItemModel ( HiveId id, System.Guid treeId ) : SelectedItemModel |
Returns the model for each NodeSelector persisted item
|
|
GetPaths ( HiveId id, System.Guid treeId ) : EntityPathCollection |
Returns the paths for the specified HiveId
|
|
GetRootNodeId ( ) : HiveId |
Returns the root node id defined by the tree
|
|
GetTooltipContents ( HiveId id, System.Guid treeId ) : |
Returns the content to display in the tooltip
|
|
NodeSelectorContentTreeController ( IBackOfficeRequestContext requestContext ) : System |
Метод | Описание | |
---|---|---|
CreateRootNode ( System.Web.Mvc.FormCollection queryStrings ) : TreeNode |
Overrides creating the root node so we can ensure the correct metadata is applied to it.
|
|
GetTreeData ( HiveId parentId, System.Web.Mvc.FormCollection queryStrings ) : RebelTreeResult |
Returns the tree data for the specified node taking into account if a TreeQueryStringParameters.RenderParent is set to true.
|
Метод | Описание | |
---|---|---|
EnsureInitialized ( ) : void |
Used by the INodeSelectorDataSource because it executes in a context outside of a normal request, so we need to ensure this controller is initialized so we resolve the current request from IoC and manually initialize.
|
protected CreateRootNode ( System.Web.Mvc.FormCollection queryStrings ) : TreeNode | ||
queryStrings | System.Web.Mvc.FormCollection | |
Результат | TreeNode |
public GetEntity ( HiveId nodeId ) : TypedEntity | ||
nodeId | HiveId | |
Результат | TypedEntity |
public GetMediaUrl ( HiveId id, System.Guid treeId, string propertyAlias ) : string | ||
id | HiveId | |
treeId | System.Guid | |
propertyAlias | string | |
Результат | string |
public GetNodeSelectorItemModel ( HiveId id, System.Guid treeId ) : SelectedItemModel | ||
id | HiveId | |
treeId | System.Guid | |
Результат | SelectedItemModel |
public GetPaths ( HiveId id, System.Guid treeId ) : EntityPathCollection | ||
id | HiveId | |
treeId | System.Guid | |
Результат | EntityPathCollection |
public GetTooltipContents ( HiveId id, System.Guid treeId ) : |
||
id | HiveId | |
treeId | System.Guid | |
Результат |
protected GetTreeData ( HiveId parentId, System.Web.Mvc.FormCollection queryStrings ) : RebelTreeResult | ||
parentId | HiveId | |
queryStrings | System.Web.Mvc.FormCollection | |
Результат | RebelTreeResult |
public NodeSelectorContentTreeController ( IBackOfficeRequestContext requestContext ) : System | ||
requestContext | IBackOfficeRequestContext | |
Результат | System |