OpenSim
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Events | List of all members
OpenSim.Region.Framework.Interfaces.IInventoryArchiverModule Interface Reference
Inheritance diagram for OpenSim.Region.Framework.Interfaces.IInventoryArchiverModule:
Inheritance graph
[legend]

Public Member Functions

bool DearchiveInventory (UUID id, string firstName, string lastName, string invPath, string pass, Stream loadStream)
 Dearchive a user's inventory folder from the given stream More...
 
bool DearchiveInventory (UUID id, string firstName, string lastName, string invPath, string pass, Stream loadStream, Dictionary< string, object > options)
 Dearchive a user's inventory folder from the given stream More...
 
bool ArchiveInventory (UUID id, string firstName, string lastName, string invPath, string pass, Stream saveStream)
 Archive a user's inventory folder to the given stream More...
 
bool ArchiveInventory (UUID id, string firstName, string lastName, string invPath, string pass, Stream saveStream, Dictionary< string, object > options)
 Archive a user's inventory folder to the given stream More...
 

Events

InventoryArchiveSaved OnInventoryArchiveSaved
 Fired when an archive inventory save has been completed. More...
 
InventoryArchiveLoaded OnInventoryArchiveLoaded
 Fired when an archive inventory load has been completed. More...
 

Detailed Description

Definition at line 64 of file IInventoryArchiverModule.cs.

Member Function Documentation

bool OpenSim.Region.Framework.Interfaces.IInventoryArchiverModule.ArchiveInventory ( UUID  id,
string  firstName,
string  lastName,
string  invPath,
string  pass,
Stream  saveStream 
)

Archive a user's inventory folder to the given stream

Parameters
idID representing this request. This will later be returned in the save event
firstName
lastName
invPathThe inventory path from which the inventory should be saved.
saveStreamThe stream to which the inventory archive will be saved
Returns
true if the first stage of the operation succeeded, false otherwise

Implemented in OpenSim.Region.CoreModules.Avatar.Inventory.Archiver.InventoryArchiverModule.

bool OpenSim.Region.Framework.Interfaces.IInventoryArchiverModule.ArchiveInventory ( UUID  id,
string  firstName,
string  lastName,
string  invPath,
string  pass,
Stream  saveStream,
Dictionary< string, object >  options 
)

Archive a user's inventory folder to the given stream

Parameters
idID representing this request. This will later be returned in the save event
firstName
lastName
invPathThe inventory path from which the inventory should be saved.
saveStreamThe stream to which the inventory archive will be saved
optionsArchiving options. Currently, there are none.
Returns
true if the first stage of the operation succeeded, false otherwise

Implemented in OpenSim.Region.CoreModules.Avatar.Inventory.Archiver.InventoryArchiverModule.

bool OpenSim.Region.Framework.Interfaces.IInventoryArchiverModule.DearchiveInventory ( UUID  id,
string  firstName,
string  lastName,
string  invPath,
string  pass,
Stream  loadStream 
)

Dearchive a user's inventory folder from the given stream

Parameters
firstName
lastName
invPathThe inventory path in which to place the loaded folders and items
loadStreamThe stream from which the inventory archive will be loaded
Returns
true if the first stage of the operation succeeded, false otherwise

Implemented in OpenSim.Region.CoreModules.Avatar.Inventory.Archiver.InventoryArchiverModule.

bool OpenSim.Region.Framework.Interfaces.IInventoryArchiverModule.DearchiveInventory ( UUID  id,
string  firstName,
string  lastName,
string  invPath,
string  pass,
Stream  loadStream,
Dictionary< string, object >  options 
)

Dearchive a user's inventory folder from the given stream

Parameters
firstName
lastName
invPathThe inventory path in which to place the loaded folders and items
loadStreamThe stream from which the inventory archive will be loaded
optionsDearchiving options. At the moment, the only option is ("merge", true). This merges the loaded IAR with existing folders where possible.
Returns
true if the first stage of the operation succeeded, false otherwise

Implemented in OpenSim.Region.CoreModules.Avatar.Inventory.Archiver.InventoryArchiverModule.

Event Documentation

InventoryArchiveLoaded OpenSim.Region.Framework.Interfaces.IInventoryArchiverModule.OnInventoryArchiveLoaded

Fired when an archive inventory load has been completed.

Definition at line 74 of file IInventoryArchiverModule.cs.

InventoryArchiveSaved OpenSim.Region.Framework.Interfaces.IInventoryArchiverModule.OnInventoryArchiveSaved

Fired when an archive inventory save has been completed.

Definition at line 69 of file IInventoryArchiverModule.cs.


The documentation for this interface was generated from the following file: