C# 클래스 OpenSim.Data.MSSQL.MSSQLInventoryData

A MSSQL interface for the inventory server
상속: IInventoryDataPlugin
파일 보기 프로젝트 열기: openmetaversefoundation/fortis-opensim

공개 메소드들

메소드 설명
Dispose ( ) : void

Closes this DB provider

Initialise ( string connectionString ) : void

Loads and initialises the MSSQL inventory storage interface

addInventoryFolder ( OpenSim.Framework.InventoryFolderBase folder ) : void

Creates a new inventory folder

addInventoryItem ( OpenSim.Framework.InventoryItemBase item ) : void

Adds a specified item to the database

deleteInventoryFolder ( UUID folderID ) : void

Delete an inventory folder

deleteInventoryItem ( UUID itemID ) : void

Delete an item in inventory database

fetchActiveGestures ( UUID avatarID ) : List

Returns all activated gesture-items in the inventory of the specified avatar.

getFolderHierarchy ( UUID parentID ) : List

Returns all child folders in the hierarchy from the parent folder and down. Does not return the parent folder itself.

getInventoryFolder ( UUID folderID ) : OpenSim.Framework.InventoryFolderBase

Returns a specified inventory folder

getInventoryFolders ( UUID parentID ) : List

Returns a list of folders in a users inventory contained within the specified folder

getInventoryInFolder ( UUID folderID ) : List

Returns a list of items in a specified folder

getInventoryItem ( UUID itemID ) : OpenSim.Framework.InventoryItemBase

Returns a specified inventory item

getUserRootFolder ( UUID user ) : OpenSim.Framework.InventoryFolderBase

see InventoryItemBase.getUserRootFolder

getUserRootFolders ( UUID user ) : List

Returns a list of the root folders within a users inventory

moveInventoryFolder ( OpenSim.Framework.InventoryFolderBase folder ) : void

Updates an inventory folder

queryInventoryFolder ( UUID folderID ) : OpenSim.Framework.InventoryFolderBase
queryInventoryItem ( UUID itemID ) : OpenSim.Framework.InventoryItemBase
updateInventoryFolder ( OpenSim.Framework.InventoryFolderBase folder ) : void

Updates an inventory folder

updateInventoryItem ( OpenSim.Framework.InventoryItemBase item ) : void

Updates the specified inventory item

보호된 메소드들

메소드 설명
readInventoryFolder ( System.Data.SqlClient.SqlDataReader reader ) : OpenSim.Framework.InventoryFolderBase

Reads a list of inventory folders returned by a query.

비공개 메소드들

메소드 설명
DeleteItemsInFolder ( UUID folderID, SqlConnection connection ) : void

Delete an item in inventory database

DeleteOneFolder ( UUID folderID, SqlConnection connection ) : void

Delete a folder in inventory databasae

Initialise ( ) : void
getFolderHierarchy ( UUID parentID, SqlCommand command ) : List

Gets the folder hierarchy in a loop.

getInventoryFolders ( SqlCommand command ) : List

Gets the inventory folders.

getInventoryFolders ( UUID parentID, UUID user ) : List

Gets the inventory folders.

readInventoryItem ( IDataRecord reader ) : OpenSim.Framework.InventoryItemBase

Reads a one item from an SQL result

메소드 상세

Dispose() 공개 메소드

Closes this DB provider
public Dispose ( ) : void
리턴 void

Initialise() 공개 메소드

Loads and initialises the MSSQL inventory storage interface
public Initialise ( string connectionString ) : void
connectionString string connect string
리턴 void

addInventoryFolder() 공개 메소드

Creates a new inventory folder
public addInventoryFolder ( OpenSim.Framework.InventoryFolderBase folder ) : void
folder OpenSim.Framework.InventoryFolderBase Folder to create
리턴 void

addInventoryItem() 공개 메소드

Adds a specified item to the database
public addInventoryItem ( OpenSim.Framework.InventoryItemBase item ) : void
item OpenSim.Framework.InventoryItemBase The inventory item
리턴 void

deleteInventoryFolder() 공개 메소드

Delete an inventory folder
public deleteInventoryFolder ( UUID folderID ) : void
folderID UUID Id of folder to delete
리턴 void

deleteInventoryItem() 공개 메소드

Delete an item in inventory database
public deleteInventoryItem ( UUID itemID ) : void
itemID UUID the item UUID
리턴 void

fetchActiveGestures() 공개 메소드

Returns all activated gesture-items in the inventory of the specified avatar.
public fetchActiveGestures ( UUID avatarID ) : List
avatarID UUID The of the avatar
리턴 List

getFolderHierarchy() 공개 메소드

Returns all child folders in the hierarchy from the parent folder and down. Does not return the parent folder itself.
public getFolderHierarchy ( UUID parentID ) : List
parentID UUID The folder to get subfolders for
리턴 List

getInventoryFolder() 공개 메소드

Returns a specified inventory folder
public getInventoryFolder ( UUID folderID ) : OpenSim.Framework.InventoryFolderBase
folderID UUID The folder to return
리턴 OpenSim.Framework.InventoryFolderBase

getInventoryFolders() 공개 메소드

Returns a list of folders in a users inventory contained within the specified folder
public getInventoryFolders ( UUID parentID ) : List
parentID UUID The folder to search
리턴 List

getInventoryInFolder() 공개 메소드

Returns a list of items in a specified folder
public getInventoryInFolder ( UUID folderID ) : List
folderID UUID The folder to search
리턴 List

getInventoryItem() 공개 메소드

Returns a specified inventory item
public getInventoryItem ( UUID itemID ) : OpenSim.Framework.InventoryItemBase
itemID UUID The item ID
리턴 OpenSim.Framework.InventoryItemBase

getUserRootFolder() 공개 메소드

see InventoryItemBase.getUserRootFolder
public getUserRootFolder ( UUID user ) : OpenSim.Framework.InventoryFolderBase
user UUID the User UUID
리턴 OpenSim.Framework.InventoryFolderBase

getUserRootFolders() 공개 메소드

Returns a list of the root folders within a users inventory
public getUserRootFolders ( UUID user ) : List
user UUID The user whos inventory is to be searched
리턴 List

moveInventoryFolder() 공개 메소드

Updates an inventory folder
public moveInventoryFolder ( OpenSim.Framework.InventoryFolderBase folder ) : void
folder OpenSim.Framework.InventoryFolderBase Folder to update
리턴 void

queryInventoryFolder() 공개 메소드

public queryInventoryFolder ( UUID folderID ) : OpenSim.Framework.InventoryFolderBase
folderID UUID
리턴 OpenSim.Framework.InventoryFolderBase

queryInventoryItem() 공개 메소드

public queryInventoryItem ( UUID itemID ) : OpenSim.Framework.InventoryItemBase
itemID UUID
리턴 OpenSim.Framework.InventoryItemBase

readInventoryFolder() 보호된 정적인 메소드

Reads a list of inventory folders returned by a query.
protected static readInventoryFolder ( System.Data.SqlClient.SqlDataReader reader ) : OpenSim.Framework.InventoryFolderBase
reader System.Data.SqlClient.SqlDataReader A MSSQL Data Reader
리턴 OpenSim.Framework.InventoryFolderBase

updateInventoryFolder() 공개 메소드

Updates an inventory folder
public updateInventoryFolder ( OpenSim.Framework.InventoryFolderBase folder ) : void
folder OpenSim.Framework.InventoryFolderBase Folder to update
리턴 void

updateInventoryItem() 공개 메소드

Updates the specified inventory item
public updateInventoryItem ( OpenSim.Framework.InventoryItemBase item ) : void
item OpenSim.Framework.InventoryItemBase Inventory item to update
리턴 void