C# Class SenseNet.ContentRepository.ContentList

Inheritance: Folder, IContentList
Datei anzeigen Open project: maxpavlov/FlexNet Class Usage Examples

Public Properties

Property Type Description
ContentListDefinitionXmlNamespace string
ContentListFileNameExtension string

Private Properties

Property Type Description
AddFieldInternal void
Build void
Build void
CheckValidation void
CreateBindingsXml string
CreateNewFieldType FieldSetting
DecodeBinding void
DeleteFieldInternal void
DeleteFieldInternal void
EncodeBinding string
FieldExists bool
FindFieldXmlNode System.Xml.XmlNode
GetFieldTypeByName FieldSetting
GetFieldTypeIndexByName int
GetValidDocument IXPathNavigable
Initialize void
ManageContentListType SenseNet.ContentRepository.Storage.Schema.ContentListType
ParseBindingsXml List>.Dictionary
ParseContentTypeElement FieldDescriptor>.Dictionary
ParseFieldElements FieldDescriptor>.Dictionary
RemoveUnusedFields bool
SetFieldSlots void
UpdateFieldInternal void

Public Methods

Method Description
AddField ( FieldSetting fieldSetting ) : void
AddOrUpdateField ( FieldSetting fieldSetting ) : void
ContentList ( Node parent ) : System
ContentList ( Node parent, string nodeTypeName ) : System
DeleteField ( FieldSetting fieldSetting ) : void
ForceDelete ( ) : void
GetAvailableFields ( bool rootFields ) : List
GetContentListByParentWalk ( Node child ) : ContentList
GetContentListForNode ( Node n ) : ContentList
GetContentListType ( ) : ContentListType
GetProperty ( string name ) : object
GetPropertySingleId ( string propertyName ) : string
Save ( ) : void
Save ( NodeSaveSettings settings ) : void
Save ( SavingMode mode ) : void
SetProperty ( string name, object value ) : void
UpdateContentListDefinition ( IEnumerable fieldSettings ) : void
UpdateField ( FieldSetting fieldSetting ) : void

Protected Methods

Method Description
ContentList ( NodeToken nt ) : System
CopyDynamicProperties ( Node target ) : void
OnLoaded ( object sender, NodeEventArgs e ) : void

Private Methods

Method Description
AddFieldInternal ( FieldSetting fieldSetting ) : void
Build ( ) : void
Build ( IXPathNavigable definitionXml, Dictionary bindings, bool modify ) : void
CheckValidation ( IXPathNavigable xml ) : void
CreateBindingsXml ( Dictionary bindingList ) : string
CreateNewFieldType ( FieldDescriptor fieldInfo, Dictionary newBindings, ContentListType listType, SlotTable slotTable, SchemaEditor editor ) : FieldSetting
DecodeBinding ( string binding, DataType &dataType, int &ordinalNumber ) : void
DeleteFieldInternal ( FieldSetting fieldSetting ) : void
DeleteFieldInternal ( FieldSetting fieldSetting, bool saveImmediately ) : void
EncodeBinding ( RepositoryDataType slotType, int slotNumber ) : string
FieldExists ( FieldSetting fieldSetting ) : bool
FindFieldXmlNode ( string fieldName, XmlDocument &doc ) : XmlNode
GetFieldTypeByName ( string fieldName, List fieldSettings ) : FieldSetting
GetFieldTypeIndexByName ( string fieldName, List fieldSettings ) : int
GetValidDocument ( string xml ) : IXPathNavigable
Initialize ( ) : void
ManageContentListType ( FieldDescriptor>.Dictionary fieldInfoList, Dictionary oldBindings, bool modify, List &fieldSettings ) : ContentListType
ParseBindingsXml ( string bindings ) : List>.Dictionary
ParseContentTypeElement ( XPathNavigator contentTypeElement, IXmlNamespaceResolver nsres ) : FieldDescriptor>.Dictionary
ParseFieldElements ( XPathNavigator fieldsElement, IXmlNamespaceResolver nsres ) : FieldDescriptor>.Dictionary
RemoveUnusedFields ( FieldDescriptor>.Dictionary fieldInfoList, Dictionary oldBindings, ContentListType listType, SchemaEditor editor ) : bool
SetFieldSlots ( ) : void
UpdateFieldInternal ( FieldSetting fieldSetting ) : void

Method Details

AddField() public method

public AddField ( FieldSetting fieldSetting ) : void
fieldSetting FieldSetting
return void

AddOrUpdateField() public method

public AddOrUpdateField ( FieldSetting fieldSetting ) : void
fieldSetting FieldSetting
return void

ContentList() public method

public ContentList ( Node parent ) : System
parent Node
return System

ContentList() public method

public ContentList ( Node parent, string nodeTypeName ) : System
parent Node
nodeTypeName string
return System

ContentList() protected method

protected ContentList ( NodeToken nt ) : System
nt SenseNet.ContentRepository.Storage.NodeToken
return System

CopyDynamicProperties() protected method

protected CopyDynamicProperties ( Node target ) : void
target Node
return void

DeleteField() public method

public DeleteField ( FieldSetting fieldSetting ) : void
fieldSetting FieldSetting
return void

ForceDelete() public method

public ForceDelete ( ) : void
return void

GetAvailableFields() public method

public GetAvailableFields ( bool rootFields ) : List
rootFields bool
return List

GetContentListByParentWalk() public static method

public static GetContentListByParentWalk ( Node child ) : ContentList
child Node
return ContentList

GetContentListForNode() public static method

public static GetContentListForNode ( Node n ) : ContentList
n Node
return ContentList

GetContentListType() public method

public GetContentListType ( ) : ContentListType
return SenseNet.ContentRepository.Storage.Schema.ContentListType

GetProperty() public method

public GetProperty ( string name ) : object
name string
return object

GetPropertySingleId() public method

public GetPropertySingleId ( string propertyName ) : string
propertyName string
return string

OnLoaded() protected method

protected OnLoaded ( object sender, NodeEventArgs e ) : void
sender object
e SenseNet.ContentRepository.Storage.Events.NodeEventArgs
return void

Save() public method

public Save ( ) : void
return void

Save() public method

public Save ( NodeSaveSettings settings ) : void
settings SenseNet.ContentRepository.Storage.NodeSaveSettings
return void

Save() public method

public Save ( SavingMode mode ) : void
mode SavingMode
return void

SetProperty() public method

public SetProperty ( string name, object value ) : void
name string
value object
return void

UpdateContentListDefinition() public method

public UpdateContentListDefinition ( IEnumerable fieldSettings ) : void
fieldSettings IEnumerable
return void

UpdateField() public method

public UpdateField ( FieldSetting fieldSetting ) : void
fieldSetting FieldSetting
return void

Property Details

ContentListDefinitionXmlNamespace public_oe static_oe property

public static string ContentListDefinitionXmlNamespace
return string

ContentListFileNameExtension public_oe static_oe property

public static string ContentListFileNameExtension
return string