C# Class SenseNet.Portal.Handlers.UploadHandler.ContentFacade

ファイルを表示 Open project: maxpavlov/FlexNet

Public Methods

Method Description
ContentFacade ( ) : System
CreateNew ( string contentTypeName, Node parentNode ) : void

Creates a new content with the specified contenttypename.

Load ( int contentId ) : void

Loads the specified content by content id.

Load ( string path ) : void

Loads the specified content by content path.

Method Details

ContentFacade() public method

public ContentFacade ( ) : System
return System

CreateNew() public method

Creates a new content with the specified contenttypename.
public CreateNew ( string contentTypeName, Node parentNode ) : void
contentTypeName string ContentTypeName is used for creating content
parentNode Node Parent node which stores the new content.
return void

Load() public method

Loads the specified content by content id.
public Load ( int contentId ) : void
contentId int ContentId
return void

Load() public method

Loads the specified content by content path.
public Load ( string path ) : void
path string Path of the specified content.
return void