C# Class SenseNet.Portal.Portlets.ListImporterPortlet

Inheritance: SenseNet.Portal.UI.PortletFramework.ContextBoundPortlet
Show file Open project: maxpavlov/FlexNet

Public Properties

Property Type Description
FieldsNotToImport string[]

Private Properties

Property Type Description
CreateControls void
CreateNonExistentListFields string>.Dictionary
DetectSplitChar char
DoImport ImportResult
GetDataSource DataView
IsFieldOnCTD bool
IsFieldOnList bool
IsInFieldList bool
OpenStream StreamReader
OpenStreamWithEncodingDetection StreamReader
SetError void
SplitLine List
Update bool
btnImport_Click void

Public Methods

Method Description
ListImporterPortlet ( ) : System

Protected Methods

Method Description
CreateChildControls ( ) : void

Private Methods

Method Description
CreateControls ( ) : void
CreateNonExistentListFields ( string contentTypeName, System.Data.Node parent, string>.Dictionary fieldData ) : string>.Dictionary
DetectSplitChar ( string line ) : char
DoImport ( Node parent, Stream inputStream, bool update, bool import ) : ImportResult
GetDataSource ( IEnumerable source ) : DataView
IsFieldOnCTD ( IEnumerable fieldSettings, string fDataKey ) : bool
IsFieldOnList ( IEnumerable fieldSettingContents, string fDataKey ) : bool
IsInFieldList ( IEnumerable fieldNameList, string fDataKey ) : bool
OpenStream ( Stream inputStream ) : StreamReader
OpenStreamWithEncodingDetection ( Stream inputStream ) : StreamReader
SetError ( string message ) : void
SplitLine ( string line, char separator ) : List
Update ( Node original, string>.Dictionary import ) : bool
btnImport_Click ( object sender, EventArgs e ) : void

Method Details

CreateChildControls() protected method

protected CreateChildControls ( ) : void
return void

ListImporterPortlet() public method

public ListImporterPortlet ( ) : System
return System

Property Details

FieldsNotToImport public static property

public static string[] FieldsNotToImport
return string[]