C# Class SenseNet.Portal.Portlets.ContentAddNewPortlet

Inheritance: SenseNet.Portal.UI.PortletFramework.ContextBoundPortlet, IContentProvider
Afficher le fichier Open project: maxpavlov/FlexNet

Protected Properties

Свойство Type Description
_currentUserControl System.Web.UI.Control

Private Properties

Свойство Type Description
AddSelectedNewContentView void
ContentTypeIsValid bool
FillDropDownWithContentTypeNames void
GetListItems System.Web.UI.WebControls.ListItem[]
GetOtherListItems System.Web.UI.WebControls.ListItem[]
InitializeStates string[]
SetControlsByState void

Méthodes publiques

Méthode Description
CancelSelectClick ( object sender, EventArgs e ) : void
ContentAddNewPortlet ( ) : System
FormatTitle ( System cultureInfo, string titleFormat, string currentContentName ) : string
GetRedirUrl ( string contentTypeName ) : string
NewContentViewUserAction ( object sender, UserActionEventArgs e ) : void
SelectCtButtonClick ( object sender, EventArgs e ) : void

Méthodes protégées

Méthode Description
AllowCreationForEmptyAllowedContentTypes ( string parentPath ) : bool
CreateChildControls ( ) : void
GetContentView ( SenseNet.ContentRepository.Content newContent ) : ContentView
GetContextNode ( ) : Node
GetParentPath ( ) : string
GetRequestedContentType ( ) : string
GetSelectedContentType ( ) : string
LoadControlState ( object savedState ) : void
LoadUserInterface ( System.Web.UI.TemplateControl page, string path ) : Control
OnInit ( EventArgs e ) : void
SaveControlState ( ) : object

Private Methods

Méthode Description
AddSelectedNewContentView ( string selectedContentTypeName ) : void
ContentTypeIsValid ( ) : bool
FillDropDownWithContentTypeNames ( Control listControl ) : void
GetListItems ( IEnumerable contentTypes, Node contextNode ) : System.Web.UI.WebControls.ListItem[]
GetOtherListItems ( IEnumerable nodes, Node contextNode ) : System.Web.UI.WebControls.ListItem[]
InitializeStates ( ) : string[]
SetControlsByState ( ) : void

Method Details

AllowCreationForEmptyAllowedContentTypes() protected méthode

protected AllowCreationForEmptyAllowedContentTypes ( string parentPath ) : bool
parentPath string
Résultat bool

CancelSelectClick() public méthode

public CancelSelectClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

ContentAddNewPortlet() public méthode

public ContentAddNewPortlet ( ) : System
Résultat System

CreateChildControls() protected méthode

protected CreateChildControls ( ) : void
Résultat void

FormatTitle() public méthode

public FormatTitle ( System cultureInfo, string titleFormat, string currentContentName ) : string
cultureInfo System
titleFormat string
currentContentName string
Résultat string

GetContentView() protected méthode

protected GetContentView ( SenseNet.ContentRepository.Content newContent ) : ContentView
newContent SenseNet.ContentRepository.Content
Résultat SenseNet.Portal.UI.ContentView

GetContextNode() protected méthode

protected GetContextNode ( ) : Node
Résultat Node

GetParentPath() protected méthode

protected GetParentPath ( ) : string
Résultat string

GetRedirUrl() public méthode

public GetRedirUrl ( string contentTypeName ) : string
contentTypeName string
Résultat string

GetRequestedContentType() protected méthode

protected GetRequestedContentType ( ) : string
Résultat string

GetSelectedContentType() protected méthode

protected GetSelectedContentType ( ) : string
Résultat string

LoadControlState() protected méthode

protected LoadControlState ( object savedState ) : void
savedState object
Résultat void

LoadUserInterface() protected méthode

protected LoadUserInterface ( System.Web.UI.TemplateControl page, string path ) : Control
page System.Web.UI.TemplateControl
path string
Résultat System.Web.UI.Control

NewContentViewUserAction() public méthode

public NewContentViewUserAction ( object sender, UserActionEventArgs e ) : void
sender object
e SenseNet.Portal.UI.UserActionEventArgs
Résultat void

OnInit() protected méthode

protected OnInit ( EventArgs e ) : void
e System.EventArgs
Résultat void

SaveControlState() protected méthode

protected SaveControlState ( ) : object
Résultat object

SelectCtButtonClick() public méthode

public SelectCtButtonClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

Property Details

_currentUserControl protected_oe property

protected Control,System.Web.UI _currentUserControl
Résultat System.Web.UI.Control