C# Класс SenseNet.ContentRepository.Storage.Schema.SchemaWriter

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
AddPropertyTypeToPropertySet ( PropertyType propertyType, PropertySet owner, bool isDeclared ) : void
Close ( ) : void
CreateContentListType ( string name ) : void
CreateNodeType ( NodeType parent, string name, string className ) : void
CreatePermissionType ( string name ) : void
CreatePropertyType ( string name, DataType dataType, int mapping, bool isContentListProperty ) : void
DeleteContentListType ( ContentListType contentListType ) : void
DeleteNodeType ( NodeType nodeType ) : void

When overridden in a derived class, deletes the passed NodeType. Before NodeType deleting removes all PropertyTypes from the passed NodeType but does not reset the property values because all nodes instatiated by passed NodeType had been deleted.

DeletePermissionType ( PermissionType permissionType ) : void
DeletePropertyType ( PropertyType propertyType ) : void

When overridden in a derived class, deletes an unused existing PropertyType

ModifyNodeType ( NodeType nodeType, NodeType parent, string className ) : void
Open ( ) : void
RemovePropertyTypeFromPropertySet ( PropertyType propertyType, PropertySet owner ) : void

When overridden in a derived class, removes the PropertyType from the owner PropertySet and resets the property values into all nodes instatiated by passed PropertySet.

UpdatePropertyTypeDeclarationState ( PropertyType propertyType, NodeType owner, bool isDeclared ) : void

Описание методов

AddPropertyTypeToPropertySet() публичный абстрактный Метод

public abstract AddPropertyTypeToPropertySet ( PropertyType propertyType, PropertySet owner, bool isDeclared ) : void
propertyType PropertyType
owner PropertySet
isDeclared bool
Результат void

Close() публичный абстрактный Метод

public abstract Close ( ) : void
Результат void

CreateContentListType() публичный абстрактный Метод

public abstract CreateContentListType ( string name ) : void
name string
Результат void

CreateNodeType() публичный абстрактный Метод

public abstract CreateNodeType ( NodeType parent, string name, string className ) : void
parent NodeType
name string
className string
Результат void

CreatePermissionType() публичный абстрактный Метод

public abstract CreatePermissionType ( string name ) : void
name string
Результат void

CreatePropertyType() публичный абстрактный Метод

public abstract CreatePropertyType ( string name, DataType dataType, int mapping, bool isContentListProperty ) : void
name string
dataType DataType
mapping int
isContentListProperty bool
Результат void

DeleteContentListType() публичный абстрактный Метод

public abstract DeleteContentListType ( ContentListType contentListType ) : void
contentListType ContentListType
Результат void

DeleteNodeType() публичный абстрактный Метод

When overridden in a derived class, deletes the passed NodeType. Before NodeType deleting removes all PropertyTypes from the passed NodeType but does not reset the property values because all nodes instatiated by passed NodeType had been deleted.
public abstract DeleteNodeType ( NodeType nodeType ) : void
nodeType NodeType NodeType to delete
Результат void

DeletePermissionType() публичный абстрактный Метод

public abstract DeletePermissionType ( PermissionType permissionType ) : void
permissionType PermissionType
Результат void

DeletePropertyType() публичный абстрактный Метод

When overridden in a derived class, deletes an unused existing PropertyType
public abstract DeletePropertyType ( PropertyType propertyType ) : void
propertyType PropertyType Unused existing PropertyType
Результат void

ModifyNodeType() публичный абстрактный Метод

public abstract ModifyNodeType ( NodeType nodeType, NodeType parent, string className ) : void
nodeType NodeType
parent NodeType
className string
Результат void

Open() публичный абстрактный Метод

public abstract Open ( ) : void
Результат void

RemovePropertyTypeFromPropertySet() публичный абстрактный Метод

When overridden in a derived class, removes the PropertyType from the owner PropertySet and resets the property values into all nodes instatiated by passed PropertySet.
public abstract RemovePropertyTypeFromPropertySet ( PropertyType propertyType, PropertySet owner ) : void
propertyType PropertyType PropertyType to remove
owner PropertySet Owner PropertySet
Результат void

UpdatePropertyTypeDeclarationState() публичный абстрактный Метод

public abstract UpdatePropertyTypeDeclarationState ( PropertyType propertyType, NodeType owner, bool isDeclared ) : void
propertyType PropertyType
owner NodeType
isDeclared bool
Результат void