C# 클래스 Rebel.Cms.Web.PropertyEditors.NodeSelector.NodeSelectorMediaTreeController

상속: Rebel.Cms.Web.Trees.MediaTreeController, INodeSelectorDataSource
파일 보기 프로젝트 열기: RebelCMS/rebelcmsxu5

공개 메소드들

메소드 설명
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 ) : TooltipContents

Returns the content to display in the tooltip

NodeSelectorMediaTreeController ( 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.

메소드 상세

CreateRootNode() 보호된 메소드

Overrides creating the root node so we can ensure the correct metadata is applied to it.
protected CreateRootNode ( System.Web.Mvc.FormCollection queryStrings ) : TreeNode
queryStrings System.Web.Mvc.FormCollection
리턴 TreeNode

GetEntity() 공개 메소드

Returns an entity given a HiveId
public GetEntity ( HiveId nodeId ) : TypedEntity
nodeId HiveId
리턴 TypedEntity

GetMediaUrl() 공개 메소드

Returns the url for the media item
public GetMediaUrl ( HiveId id, System.Guid treeId, string propertyAlias ) : string
id HiveId
treeId System.Guid
propertyAlias string
리턴 string

GetNodeSelectorItemModel() 공개 메소드

Returns the model for each NodeSelector persisted item
public GetNodeSelectorItemModel ( HiveId id, System.Guid treeId ) : SelectedItemModel
id HiveId
treeId System.Guid
리턴 SelectedItemModel

GetPaths() 공개 메소드

Returns the paths for the specified HiveId
public GetPaths ( HiveId id, System.Guid treeId ) : EntityPathCollection
id HiveId
treeId System.Guid
리턴 EntityPathCollection

GetRootNodeId() 공개 메소드

Returns the root node id defined by the tree
public GetRootNodeId ( ) : HiveId
리턴 HiveId

GetTooltipContents() 공개 메소드

Returns the content to display in the tooltip
public GetTooltipContents ( HiveId id, System.Guid treeId ) : TooltipContents
id HiveId
treeId System.Guid
리턴 TooltipContents

GetTreeData() 보호된 메소드

Returns the tree data for the specified node taking into account if a TreeQueryStringParameters.RenderParent is set to true.
protected GetTreeData ( HiveId parentId, System.Web.Mvc.FormCollection queryStrings ) : RebelTreeResult
parentId HiveId
queryStrings System.Web.Mvc.FormCollection
리턴 RebelTreeResult

NodeSelectorMediaTreeController() 공개 메소드

public NodeSelectorMediaTreeController ( IBackOfficeRequestContext requestContext ) : System
requestContext IBackOfficeRequestContext
리턴 System