OpenSim
|
In memory inventory data plugin for test purposes. Could be another dll when properly filled out and when the mono addin plugin system starts co-operating with the unit test system. Currently no locking since unit tests are single threaded. More...
Public Member Functions | |
void | Initialise () |
Default-initialises the plugin More... | |
void | Initialise (string connect) |
Initialises the interface More... | |
void | Dispose () |
List< InventoryFolderBase > | getFolderHierarchy (UUID parentID) |
Returns all descendent folders of this folder. Does not return the parent folder itself. More... | |
List< InventoryItemBase > | getInventoryInFolder (UUID folderID) |
Returns a list of inventory items contained within the specified folder More... | |
List< InventoryFolderBase > | getUserRootFolders (UUID user) |
Returns a list of the root folders within a users inventory More... | |
InventoryFolderBase | getUserRootFolder (UUID user) |
Returns the users inventory root folder. More... | |
List< InventoryFolderBase > | getInventoryFolders (UUID parentID) |
Returns a list of inventory folders contained in the folder 'parentID' More... | |
InventoryFolderBase | getInventoryFolder (UUID folderId) |
Returns a specified inventory folder by its UUID More... | |
InventoryFolderBase | queryInventoryFolder (UUID folderID) |
void | addInventoryFolder (InventoryFolderBase folder) |
Adds a new folder specified by folder More... | |
void | updateInventoryFolder (InventoryFolderBase folder) |
Updates a folder based on its ID with folder More... | |
void | moveInventoryFolder (InventoryFolderBase folder) |
Updates a folder based on its ID with folder More... | |
void | deleteInventoryFolder (UUID folderId) |
Deletes a folder. Thie will delete both the folder itself and its contents (items and descendent folders) More... | |
void | addInventoryItem (InventoryItemBase item) |
Creates a new inventory item based on item More... | |
void | updateInventoryItem (InventoryItemBase item) |
Updates an inventory item with item (updates based on ID) More... | |
void | deleteInventoryItem (UUID itemId) |
InventoryItemBase | getInventoryItem (UUID itemId) |
Returns an inventory item by its UUID More... | |
InventoryItemBase | queryInventoryItem (UUID item) |
List< InventoryItemBase > | fetchActiveGestures (UUID avatarID) |
Returns all activated gesture-items in the inventory of the specified avatar. More... | |
Properties | |
string | Version [get] |
string | Name [get] |
Properties inherited from OpenSim.Framework.IPlugin | |
string | Version [get] |
Returns the plugin version More... | |
string | Name [get] |
Returns the plugin name More... | |
In memory inventory data plugin for test purposes. Could be another dll when properly filled out and when the mono addin plugin system starts co-operating with the unit test system. Currently no locking since unit tests are single threaded.
Definition at line 43 of file TestInventoryDataPlugin.cs.
|
inline |
Adds a new folder specified by folder
folder | The inventory folder |
Implements OpenSim.Data.IInventoryDataPlugin.
Definition at line 153 of file TestInventoryDataPlugin.cs.
|
inline |
Creates a new inventory item based on item
item | The item to be created |
Implements OpenSim.Data.IInventoryDataPlugin.
Definition at line 186 of file TestInventoryDataPlugin.cs.
|
inline |
Deletes a folder. Thie will delete both the folder itself and its contents (items and descendent folders)
folder | The id of the folder |
Implements OpenSim.Data.IInventoryDataPlugin.
Definition at line 180 of file TestInventoryDataPlugin.cs.
|
inline |
item |
Implements OpenSim.Data.IInventoryDataPlugin.
Definition at line 198 of file TestInventoryDataPlugin.cs.
|
inline |
Definition at line 67 of file TestInventoryDataPlugin.cs.
|
inline |
Returns all activated gesture-items in the inventory of the specified avatar.
avatarID | The UUID of the avatar |
Implements OpenSim.Data.IInventoryDataPlugin.
Definition at line 217 of file TestInventoryDataPlugin.cs.
|
inline |
Returns all descendent folders of this folder. Does not return the parent folder itself.
parentID | The folder to get subfolders for |
Implements OpenSim.Data.IInventoryDataPlugin.
Definition at line 69 of file TestInventoryDataPlugin.cs.
|
inline |
Returns a specified inventory folder by its UUID
folder | The UUID of the folder to be returned |
Implements OpenSim.Data.IInventoryDataPlugin.
Definition at line 140 of file TestInventoryDataPlugin.cs.
|
inline |
Returns a list of inventory folders contained in the folder 'parentID'
parentID | The folder to get subfolders for |
Implements OpenSim.Data.IInventoryDataPlugin.
Definition at line 117 of file TestInventoryDataPlugin.cs.
|
inline |
Returns a list of inventory items contained within the specified folder
folderID | The UUID of the target folder |
Implements OpenSim.Data.IInventoryDataPlugin.
Definition at line 85 of file TestInventoryDataPlugin.cs.
|
inline |
Returns an inventory item by its UUID
item | The UUID of the item to be returned |
Implements OpenSim.Data.IInventoryDataPlugin.
Definition at line 204 of file TestInventoryDataPlugin.cs.
|
inline |
Returns the users inventory root folder.
user | The UUID of the user who is having inventory being returned |
Implements OpenSim.Data.IInventoryDataPlugin.
Definition at line 107 of file TestInventoryDataPlugin.cs.
|
inline |
Returns a list of the root folders within a users inventory
user | The user whos inventory is to be searched |
Implements OpenSim.Data.IInventoryDataPlugin.
Definition at line 105 of file TestInventoryDataPlugin.cs.
|
inline |
Default-initialises the plugin
Implements OpenSim.Framework.IPlugin.
Definition at line 65 of file TestInventoryDataPlugin.cs.
|
inline |
Initialises the interface
Implements OpenSim.Data.IInventoryDataPlugin.
Definition at line 66 of file TestInventoryDataPlugin.cs.
|
inline |
Updates a folder based on its ID with folder
folder | The inventory folder |
Implements OpenSim.Data.IInventoryDataPlugin.
Definition at line 174 of file TestInventoryDataPlugin.cs.
|
inline |
item |
Implements OpenSim.Data.IInventoryDataPlugin.
Definition at line 148 of file TestInventoryDataPlugin.cs.
|
inline |
item |
Implements OpenSim.Data.IInventoryDataPlugin.
Definition at line 212 of file TestInventoryDataPlugin.cs.
|
inline |
Updates a folder based on its ID with folder
folder | The inventory folder |
Implements OpenSim.Data.IInventoryDataPlugin.
Definition at line 169 of file TestInventoryDataPlugin.cs.
|
inline |
Updates an inventory item with item (updates based on ID)
item | The updated item |
Implements OpenSim.Data.IInventoryDataPlugin.
Definition at line 196 of file TestInventoryDataPlugin.cs.
|
get |
Definition at line 63 of file TestInventoryDataPlugin.cs.
|
get |
Definition at line 62 of file TestInventoryDataPlugin.cs.