C# Class Universe.Services.DataService.LocalInventoryConnector

Inheritance: IInventoryData
Show file Open project: Virtual-Universe/Virtual-Universe

Protected Properties

Property Type Description
GD IGenericData
m_foldersrealm string
m_itemsrealm string

Public Methods

Method Description
DeleteFolders ( string field, string val, bool safe ) : bool
DeleteItems ( string field, string val ) : bool
Dispose ( ) : void
FetchInventoryReply ( OSDArray fetchRequest, UUID agentID, UUID forceOwnerID, UUID libraryOwnerID ) : byte[]
FolderExists ( UUID folderID ) : bool
FolderItemExists ( UUID folderID, UUID itemID ) : bool
GetActiveGestures ( UUID principalID ) : Universe.Framework.Services.ClassHelpers.Inventory.InventoryItemBase[]
GetFolders ( string fields, string vals ) : List
GetItemAssetIDs ( UUID avatarID, string fields, string vals ) : List
GetItemNameByAsset ( UUID assetID ) : string
GetItems ( UUID avatarID, string fields, string vals ) : List
GetLLSDItems ( string fields, string vals ) : OSDArray
GetUserFolderID ( UUID principalID, string folderName ) : List

Gets a user inventory folder ID.

HasAssetForUser ( UUID userID, UUID assetID ) : bool
IncrementFolder ( UUID folderID ) : void
IncrementFolderByItem ( UUID itemID ) : void
Initialize ( IGenericData GenericData, IConfigSource source, IRegistryCore simBase, string defaultConnectionString ) : void
ItemExists ( UUID itemID ) : bool
MoveItem ( string id, string newParent ) : bool
StoreFolder ( InventoryFolderBase folder ) : bool
StoreItem ( InventoryItemBase item ) : bool
UpdateAssetIDForItem ( UUID itemID, UUID assetID ) : bool

Private Methods

Method Description
ParseInventoryFolders ( Dictionary &retVal ) : List
ParseInventoryItems ( IDataReader retVal ) : List
ParseLLSDInventoryItems ( IDataReader retVal ) : OSDArray

Method Details

DeleteFolders() public method

public DeleteFolders ( string field, string val, bool safe ) : bool
field string
val string
safe bool
return bool

DeleteItems() public method

public DeleteItems ( string field, string val ) : bool
field string
val string
return bool

Dispose() public method

public Dispose ( ) : void
return void

FetchInventoryReply() public method

public FetchInventoryReply ( OSDArray fetchRequest, UUID agentID, UUID forceOwnerID, UUID libraryOwnerID ) : byte[]
fetchRequest OSDArray
agentID UUID
forceOwnerID UUID
libraryOwnerID UUID
return byte[]

FolderExists() public method

public FolderExists ( UUID folderID ) : bool
folderID UUID
return bool

FolderItemExists() public method

public FolderItemExists ( UUID folderID, UUID itemID ) : bool
folderID UUID
itemID UUID
return bool

GetActiveGestures() public method

public GetActiveGestures ( UUID principalID ) : Universe.Framework.Services.ClassHelpers.Inventory.InventoryItemBase[]
principalID UUID
return Universe.Framework.Services.ClassHelpers.Inventory.InventoryItemBase[]

GetFolders() public method

public GetFolders ( string fields, string vals ) : List
fields string
vals string
return List

GetItemAssetIDs() public method

public GetItemAssetIDs ( UUID avatarID, string fields, string vals ) : List
avatarID UUID
fields string
vals string
return List

GetItemNameByAsset() public method

public GetItemNameByAsset ( UUID assetID ) : string
assetID UUID
return string

GetItems() public method

public GetItems ( UUID avatarID, string fields, string vals ) : List
avatarID UUID
fields string
vals string
return List

GetLLSDItems() public method

public GetLLSDItems ( string fields, string vals ) : OSDArray
fields string
vals string
return OSDArray

GetUserFolderID() public method

Gets a user inventory folder ID.
public GetUserFolderID ( UUID principalID, string folderName ) : List
principalID UUID Avatar ID
folderName string Folder name.
return List

HasAssetForUser() public method

public HasAssetForUser ( UUID userID, UUID assetID ) : bool
userID UUID
assetID UUID
return bool

IncrementFolder() public method

public IncrementFolder ( UUID folderID ) : void
folderID UUID
return void

IncrementFolderByItem() public method

public IncrementFolderByItem ( UUID itemID ) : void
itemID UUID
return void

Initialize() public method

public Initialize ( IGenericData GenericData, IConfigSource source, IRegistryCore simBase, string defaultConnectionString ) : void
GenericData IGenericData
source IConfigSource
simBase IRegistryCore
defaultConnectionString string
return void

ItemExists() public method

public ItemExists ( UUID itemID ) : bool
itemID UUID
return bool

MoveItem() public method

public MoveItem ( string id, string newParent ) : bool
id string
newParent string
return bool

StoreFolder() public method

public StoreFolder ( InventoryFolderBase folder ) : bool
folder Universe.Framework.Services.ClassHelpers.Inventory.InventoryFolderBase
return bool

StoreItem() public method

public StoreItem ( InventoryItemBase item ) : bool
item Universe.Framework.Services.ClassHelpers.Inventory.InventoryItemBase
return bool

UpdateAssetIDForItem() public method

public UpdateAssetIDForItem ( UUID itemID, UUID assetID ) : bool
itemID UUID
assetID UUID
return bool

Property Details

GD protected property

protected IGenericData GD
return IGenericData

m_foldersrealm protected property

protected string m_foldersrealm
return string

m_itemsrealm protected property

protected string m_itemsrealm
return string