C# Class SenseNet.Portal.Portlets.SingleContentPortlet

Inheritance: SenseNet.Portal.UI.PortletFramework.CacheablePortlet
ファイルを表示 Open project: maxpavlov/FlexNet Class Usage Examples

Private Properties

Property Type Description
BuildContentView void
BuildContentView void
CreateContainer void
CreateNewContentVerb System.Web.UI.WebControls.WebParts.WebPartVerb
CreateSelectNewControlsIfNeed void
CreateSwitchToBrowseModeVerb System.Web.UI.WebControls.WebParts.WebPartVerb
CreateSwitchToEditModeVerb System.Web.UI.WebControls.WebParts.WebPartVerb
GetPreviewDate DateTime?
GetValiditySetting ValiditySetting
GetViewModeName string
GetViewPath string
GetViewRepositoryPath string
IsCreateSelectNewControls bool
ProcessNewContent void
ProcessUrl void
ProcessUserAction void
RecreateEditContentViewIfNeed void
RecreateNewContentViewIfNeed void
SetControlCreationFlags void
ShowBrowseContentView void
ShowBrowseContentViewIfNeed void
ShowInlineEditContentViewIfNeed void
ShowInlineNewContentView void
ShowInlineNewContentViewIfNeed void
ShowSimpleErrorMessage void
TryLoadFirstContent bool

Public Methods

Method Description
AddPortletDependency ( ) : void
GetContainingSingleContentPortlet ( Control child ) : SingleContentPortlet
GetContextNodeForControl ( Control c ) : Node
SingleContentPortlet ( ) : System
_contentView_UserAction ( object sender, UserActionEventArgs e ) : void
_newContentButton_Click ( object sender, EventArgs e ) : void

Protected Methods

Method Description
CreateChildControls ( ) : void
LoadControlState ( object savedState ) : void
OnInit ( EventArgs e ) : void
OnNewContent ( object sender, System.Web.UI.WebControls.WebParts.WebPartEventArgs e ) : void
OnSwitchToBrowseAction ( object sender, System.Web.UI.WebControls.WebParts.WebPartEventArgs e ) : void
OnSwitchToEditAction ( object sender, System.Web.UI.WebControls.WebParts.WebPartEventArgs e ) : void
SaveControlState ( ) : object

Private Methods

Method Description
BuildContentView ( ViewMode viewMode ) : void
BuildContentView ( string contentTypeName, Node parent, ViewMode viewMode ) : void
CreateContainer ( ) : void
CreateNewContentVerb ( ) : System.Web.UI.WebControls.WebParts.WebPartVerb
CreateSelectNewControlsIfNeed ( ) : void
CreateSwitchToBrowseModeVerb ( ) : System.Web.UI.WebControls.WebParts.WebPartVerb
CreateSwitchToEditModeVerb ( ) : System.Web.UI.WebControls.WebParts.WebPartVerb
GetPreviewDate ( ) : DateTime?
GetValiditySetting ( SenseNet.ContentRepository content ) : ValiditySetting
GetViewModeName ( ViewMode viewMode ) : string
GetViewPath ( ) : string
GetViewRepositoryPath ( string viewName ) : string
IsCreateSelectNewControls ( ) : bool
ProcessNewContent ( ) : void
ProcessUrl ( ) : void
ProcessUserAction ( ) : void
RecreateEditContentViewIfNeed ( ) : void
RecreateNewContentViewIfNeed ( ) : void
SetControlCreationFlags ( object state ) : void
ShowBrowseContentView ( ) : void
ShowBrowseContentViewIfNeed ( ) : void
ShowInlineEditContentViewIfNeed ( ) : void
ShowInlineNewContentView ( ) : void
ShowInlineNewContentViewIfNeed ( ) : void
ShowSimpleErrorMessage ( ) : void
TryLoadFirstContent ( ) : bool

Method Details

AddPortletDependency() public method

public AddPortletDependency ( ) : void
return void

CreateChildControls() protected method

protected CreateChildControls ( ) : void
return void

GetContainingSingleContentPortlet() public static method

public static GetContainingSingleContentPortlet ( Control child ) : SingleContentPortlet
child System.Web.UI.Control
return SingleContentPortlet

GetContextNodeForControl() public static method

public static GetContextNodeForControl ( Control c ) : Node
c System.Web.UI.Control
return Node

LoadControlState() protected method

protected LoadControlState ( object savedState ) : void
savedState object
return void

OnInit() protected method

protected OnInit ( EventArgs e ) : void
e System.EventArgs
return void

OnNewContent() protected method

protected OnNewContent ( object sender, System.Web.UI.WebControls.WebParts.WebPartEventArgs e ) : void
sender object
e System.Web.UI.WebControls.WebParts.WebPartEventArgs
return void

OnSwitchToBrowseAction() protected method

protected OnSwitchToBrowseAction ( object sender, System.Web.UI.WebControls.WebParts.WebPartEventArgs e ) : void
sender object
e System.Web.UI.WebControls.WebParts.WebPartEventArgs
return void

OnSwitchToEditAction() protected method

protected OnSwitchToEditAction ( object sender, System.Web.UI.WebControls.WebParts.WebPartEventArgs e ) : void
sender object
e System.Web.UI.WebControls.WebParts.WebPartEventArgs
return void

SaveControlState() protected method

protected SaveControlState ( ) : object
return object

SingleContentPortlet() public method

public SingleContentPortlet ( ) : System
return System

_contentView_UserAction() public method

public _contentView_UserAction ( object sender, UserActionEventArgs e ) : void
sender object
e SenseNet.Portal.UI.UserActionEventArgs
return void

_newContentButton_Click() public method

public _newContentButton_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void