C# Class SenseNet.ContentRepository.TrashBin

Inheritance: SenseNet.ContentRepository.Workspaces.Workspace
Show file Open project: maxpavlov/FlexNet Class Usage Examples

Private Properties

Property Type Description
AssertRestoreContentType void
AssertTrashBinPath void

Public Methods

Method Description
Delete ( ) : void
DeleteNode ( GenericContent n ) : bool
ForceDelete ( GenericContent n ) : void
GetProperty ( string name ) : object
IsInTrash ( GenericContent n ) : bool
Purge ( ) : void
Restore ( TrashBag trashBag ) : void
Restore ( TrashBag trashBag, bool addNewName ) : void
Restore ( TrashBag trashBag, string targetPath ) : void
Restore ( TrashBag trashBag, string targetPath, bool addNewName ) : void
Save ( ) : void
Save ( SavingMode mode ) : void
SaveSameVersion ( ) : void
SetProperty ( string name, object value ) : void
TrashBin ( Node parent ) : System
TrashBin ( Node parent, string nodeTypeName ) : System

Protected Methods

Method Description
TrashBin ( NodeToken tk ) : System

Private Methods

Method Description
AssertRestoreContentType ( GenericContent targetParent, Node node ) : void
AssertTrashBinPath ( ) : void

Method Details

Delete() public method

public Delete ( ) : void
return void

DeleteNode() public static method

public static DeleteNode ( GenericContent n ) : bool
n GenericContent
return bool

ForceDelete() public static method

public static ForceDelete ( GenericContent n ) : void
n GenericContent
return void

GetProperty() public method

public GetProperty ( string name ) : object
name string
return object

IsInTrash() public static method

public static IsInTrash ( GenericContent n ) : bool
n GenericContent
return bool

Purge() public static method

public static Purge ( ) : void
return void

Restore() public static method

public static Restore ( TrashBag trashBag ) : void
trashBag TrashBag
return void

Restore() public static method

public static Restore ( TrashBag trashBag, bool addNewName ) : void
trashBag TrashBag
addNewName bool
return void

Restore() public static method

public static Restore ( TrashBag trashBag, string targetPath ) : void
trashBag TrashBag
targetPath string
return void

Restore() public static method

public static Restore ( TrashBag trashBag, string targetPath, bool addNewName ) : void
trashBag TrashBag
targetPath string
addNewName bool
return void

Save() public method

public Save ( ) : void
return void

Save() public method

public Save ( SavingMode mode ) : void
mode SavingMode
return void

SaveSameVersion() public method

public SaveSameVersion ( ) : void
return void

SetProperty() public method

public SetProperty ( string name, object value ) : void
name string
value object
return void

TrashBin() public method

public TrashBin ( Node parent ) : System
parent Node
return System

TrashBin() public method

public TrashBin ( Node parent, string nodeTypeName ) : System
parent Node
nodeTypeName string
return System

TrashBin() protected method

protected TrashBin ( NodeToken tk ) : System
tk SenseNet.ContentRepository.Storage.NodeToken
return System