C# Class SenseNet.Packaging.Internal.ContentManager

显示文件 Open project: maxpavlov/FlexNet

Public Methods

Method Description
InstallContent ( Content content ) : StepResult
InstallContentTypes ( IEnumerable contentTypeDefinitions ) : void
UpdateReferences ( Content content ) : StepResult

Private Methods

Method Description
CreateOrLoadContent ( Content contentInfo, bool &isNewContent ) : SenseNet.ContentRepository.Content
EnsureFolder ( string path ) : Node
GetContentType ( string ContentTypeParentName ) : object
PrintException ( Exception e ) : string
PrintFieldErrors ( SenseNet.ContentRepository content ) : string
PrintTypeLoadError ( System exc, StringBuilder sb ) : void
SetMetadata ( SenseNet.ContentRepository snContent, Content content, bool isNewContent, bool updateReferences ) : bool

Method Details

InstallContent() public static method

public static InstallContent ( Content content ) : StepResult
content Content
return StepResult

InstallContentTypes() public static method

public static InstallContentTypes ( IEnumerable contentTypeDefinitions ) : void
contentTypeDefinitions IEnumerable
return void

UpdateReferences() public static method

public static UpdateReferences ( Content content ) : StepResult
content Content
return StepResult