C# Class SenseNet.ContentRepository.Storage.Schema.SchemaRoot

Inheritance: ISchemaRoot
Afficher le fichier Open project: maxpavlov/FlexNet Class Usage Examples

Méthodes publiques

Свойство Type Description
RepositoryStorageSchemaXmlNamespace string

Méthodes publiques

Méthode Description
AddPropertyTypeToPropertySet ( PropertyType propertyType, PropertySet owner ) : void
Clear ( ) : void
CreateContentListPropertyType ( DataType dataType, int ordinalNumber ) : PropertyType
CreateContentListType ( string name ) : ContentListType
CreateNodeType ( NodeType parent, string name ) : NodeType
CreateNodeType ( NodeType parent, string name, string className ) : NodeType
CreatePermissionType ( string name ) : PermissionType
CreatePropertyType ( string name, DataType dataType ) : PropertyType
CreatePropertyType ( string name, DataType dataType, int mapping ) : PropertyType
DeleteContentListType ( ContentListType listType ) : void
DeleteNodeType ( NodeType nodeType ) : void
DeletePermissionType ( PermissionType permissionType ) : void
DeletePropertyType ( PropertyType propertyType ) : void
Load ( ) : void
Load ( XmlDocument schemaXml ) : void
ModifyNodeType ( NodeType nodeType, NodeType parent ) : void
ModifyNodeType ( NodeType nodeType, string className ) : void
RemovePropertyTypeFromPropertySet ( PropertyType propertyType, PropertySet owner ) : void
ToXml ( ) : string

Méthodes protégées

Méthode Description
SchemaRoot ( ) : System

Private Methods

Méthode Description
BuildDataSetFromXml ( XmlDocument schemaXml ) : DataSet
BuildDataTypeHelper ( DataSet dataSet ) : DataType>.Dictionary
BuildNodeTypeRow ( XmlNode node, XmlNamespaceManager nsmgr, DataTable table, PropertySetType propertySetType, int>.Dictionary propertySetTypes ) : void
BuildPermissionRow ( XmlNode node, DataTable table ) : void
BuildPermissions ( DataTable table ) : void
BuildPropertySetPropertyTypeRow ( XmlNode node, DataTable table ) : void
BuildPropertySetTypeHelper ( DataSet dataSet ) : PropertySetType>.Dictionary
BuildPropertySets ( DataTable table, PropertySetType>.Dictionary propertySetTypes ) : void
BuildPropertyTypeAssignments ( DataTable table ) : void
BuildPropertyTypeRow ( XmlNode node, DataTable table, int>.Dictionary dataTypes ) : void
BuildPropertyTypes ( DataTable table, DataType>.Dictionary dataTypes ) : void
ContentListTypeToXml ( ContentListType lt, StringBuilder sb, string indent ) : void
CreateContentListPropertyType ( string name, DataType dataType, int mapping ) : PropertyType
CreateContentListType ( int id, string name ) : ContentListType
CreateDataSet ( int>.Dictionary dataTypes, int>.Dictionary propertySetTypes ) : DataSet
CreateNodeType ( int id, NodeType parent, string name, string className ) : NodeType
CreatePermissionType ( int id, string name ) : PermissionType
CreatePropertyType ( int id, string name, DataType dataType, int mapping, bool isContentListProperty ) : PropertyType
DeleteNodeTypeInternal ( NodeType nodeType ) : void
GetByteFromXmlAttribute ( XmlNode node, string attrName ) : byte
GetIntFromXmlAttribute ( XmlNode node, string attrName ) : int
GetNextMapping ( DataType dataType ) : int
GetPropertyTypeIdByName ( DataSet dataSet, string name ) : int
GetSchemaTimestamp ( DataSet dataSet ) : long
GetStringFromXmlAttribute ( XmlNode node, string attrName ) : string
IsUsedPropertyType ( PropertyType propertyType ) : bool
Load ( DataSet dataSet ) : void
NodeTypeToXml ( NodeType nt, StringBuilder sb, string indent ) : void
PermissionTypeToXml ( PermissionType permType, StringBuilder sb, string indent ) : void
PropertyTypeReferenceToXml ( PropertyType pt, StringBuilder sb, string indent ) : void
PropertyTypeToXml ( PropertyType propertyType, StringBuilder sb, string indent ) : void

Method Details

AddPropertyTypeToPropertySet() public méthode

public AddPropertyTypeToPropertySet ( PropertyType propertyType, PropertySet owner ) : void
propertyType PropertyType
owner PropertySet
Résultat void

Clear() public méthode

public Clear ( ) : void
Résultat void

CreateContentListPropertyType() public méthode

public CreateContentListPropertyType ( DataType dataType, int ordinalNumber ) : PropertyType
dataType DataType
ordinalNumber int
Résultat PropertyType

CreateContentListType() public méthode

public CreateContentListType ( string name ) : ContentListType
name string
Résultat ContentListType

CreateNodeType() public méthode

public CreateNodeType ( NodeType parent, string name ) : NodeType
parent NodeType
name string
Résultat NodeType

CreateNodeType() public méthode

public CreateNodeType ( NodeType parent, string name, string className ) : NodeType
parent NodeType
name string
className string
Résultat NodeType

CreatePermissionType() public méthode

public CreatePermissionType ( string name ) : PermissionType
name string
Résultat PermissionType

CreatePropertyType() public méthode

public CreatePropertyType ( string name, DataType dataType ) : PropertyType
name string
dataType DataType
Résultat PropertyType

CreatePropertyType() public méthode

public CreatePropertyType ( string name, DataType dataType, int mapping ) : PropertyType
name string
dataType DataType
mapping int
Résultat PropertyType

DeleteContentListType() public méthode

public DeleteContentListType ( ContentListType listType ) : void
listType ContentListType
Résultat void

DeleteNodeType() public méthode

public DeleteNodeType ( NodeType nodeType ) : void
nodeType NodeType
Résultat void

DeletePermissionType() public méthode

public DeletePermissionType ( PermissionType permissionType ) : void
permissionType PermissionType
Résultat void

DeletePropertyType() public méthode

public DeletePropertyType ( PropertyType propertyType ) : void
propertyType PropertyType
Résultat void

Load() public méthode

public Load ( ) : void
Résultat void

Load() public méthode

public Load ( XmlDocument schemaXml ) : void
schemaXml System.Xml.XmlDocument
Résultat void

ModifyNodeType() public méthode

public ModifyNodeType ( NodeType nodeType, NodeType parent ) : void
nodeType NodeType
parent NodeType
Résultat void

ModifyNodeType() public méthode

public ModifyNodeType ( NodeType nodeType, string className ) : void
nodeType NodeType
className string
Résultat void

RemovePropertyTypeFromPropertySet() public méthode

public RemovePropertyTypeFromPropertySet ( PropertyType propertyType, PropertySet owner ) : void
propertyType PropertyType
owner PropertySet
Résultat void

SchemaRoot() protected méthode

protected SchemaRoot ( ) : System
Résultat System

ToXml() public méthode

public ToXml ( ) : string
Résultat string

Property Details

RepositoryStorageSchemaXmlNamespace public_oe static_oe property

public static string RepositoryStorageSchemaXmlNamespace
Résultat string