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

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

Méthodes publiques

Méthode Description
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

Method Details

AddPropertyTypeToPropertySet() public abstract méthode

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

Close() public abstract méthode

public abstract Close ( ) : void
Résultat void

CreateContentListType() public abstract méthode

public abstract CreateContentListType ( string name ) : void
name string
Résultat void

CreateNodeType() public abstract méthode

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

CreatePermissionType() public abstract méthode

public abstract CreatePermissionType ( string name ) : void
name string
Résultat void

CreatePropertyType() public abstract méthode

public abstract CreatePropertyType ( string name, DataType dataType, int mapping, bool isContentListProperty ) : void
name string
dataType DataType
mapping int
isContentListProperty bool
Résultat void

DeleteContentListType() public abstract méthode

public abstract DeleteContentListType ( ContentListType contentListType ) : void
contentListType ContentListType
Résultat void

DeleteNodeType() public abstract méthode

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
Résultat void

DeletePermissionType() public abstract méthode

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

DeletePropertyType() public abstract méthode

When overridden in a derived class, deletes an unused existing PropertyType
public abstract DeletePropertyType ( PropertyType propertyType ) : void
propertyType PropertyType Unused existing PropertyType
Résultat void

ModifyNodeType() public abstract méthode

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

Open() public abstract méthode

public abstract Open ( ) : void
Résultat void

RemovePropertyTypeFromPropertySet() public abstract méthode

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
Résultat void

UpdatePropertyTypeDeclarationState() public abstract méthode

public abstract UpdatePropertyTypeDeclarationState ( PropertyType propertyType, NodeType owner, bool isDeclared ) : void
propertyType PropertyType
owner NodeType
isDeclared bool
Résultat void