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

Inheritance: PropertySet
Show file Open project: maxpavlov/FlexNet Class Usage Examples

Public Methods

Method Description
CreateInstance ( Node parent ) : Node
CreateInstance ( string nodeTypeName, Node parent ) : Node
GetAllTypes ( ) : TypeCollection
GetById ( int nodeTypeId ) : NodeType
GetByName ( string nodeTypeName ) : NodeType
GetChildren ( ) : TypeCollection
IsInstaceOfOrDerivedFrom ( NodeType nodeType ) : bool
IsInstaceOfOrDerivedFrom ( string nodeTypeName ) : bool

Private Methods

Method Description
AddPropertyType ( PropertyType propertyType ) : void
CreateInstance ( NodeToken token ) : Node
GetAllTypes ( TypeCollection types ) : void
InheritPropertyType ( PropertyType propertyType ) : void
MoveTo ( NodeType parent ) : void
NodeType ( int id, string name, ISchemaRoot schemaRoot, string className, NodeType parent ) : System
RemoveInheritedPropertyTypes ( PropertyType propertyType ) : void
RemovePropertyType ( PropertyType propertyType ) : void
UpdateNodeTypePath ( ) : void

Method Details

CreateInstance() public method

public CreateInstance ( Node parent ) : Node
parent Node
return Node

CreateInstance() public static method

public static CreateInstance ( string nodeTypeName, Node parent ) : Node
nodeTypeName string
parent Node
return Node

GetAllTypes() public method

public GetAllTypes ( ) : TypeCollection
return TypeCollection

GetById() public static method

public static GetById ( int nodeTypeId ) : NodeType
nodeTypeId int
return NodeType

GetByName() public static method

public static GetByName ( string nodeTypeName ) : NodeType
nodeTypeName string
return NodeType

GetChildren() public method

public GetChildren ( ) : TypeCollection
return TypeCollection

IsInstaceOfOrDerivedFrom() public method

public IsInstaceOfOrDerivedFrom ( NodeType nodeType ) : bool
nodeType NodeType
return bool

IsInstaceOfOrDerivedFrom() public method

public IsInstaceOfOrDerivedFrom ( string nodeTypeName ) : bool
nodeTypeName string
return bool