OpenSim
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | List of all members
OpenSim.Data.MySQL.MySQLXInventoryData Class Reference

A MySQL Interface for the Asset Server More...

Inheritance diagram for OpenSim.Data.MySQL.MySQLXInventoryData:
Inheritance graph
[legend]
Collaboration diagram for OpenSim.Data.MySQL.MySQLXInventoryData:
Collaboration graph
[legend]

Public Member Functions

 MySQLXInventoryData (string conn, string realm)
 
XInventoryFolder[] GetFolders (string[] fields, string[] vals)
 
XInventoryItem[] GetItems (string[] fields, string[] vals)
 
bool StoreFolder (XInventoryFolder folder)
 
bool StoreItem (XInventoryItem item)
 
bool DeleteFolders (string field, string val)
 Delete folders where field == val More...
 
bool DeleteFolders (string[] fields, string[] vals)
 Delete folders where field1 == val1, field2 == val2... More...
 
bool DeleteItems (string field, string val)
 Delete items where field == val More...
 
bool DeleteItems (string[] fields, string[] vals)
 Delete items where field1 == val1, field2 == val2... More...
 
bool MoveItem (string id, string newParent)
 Move an item to another folder. More...
 
bool MoveFolder (string id, string newParent)
 Move a folder to another folder. More...
 
XInventoryItem[] GetActiveGestures (UUID principalID)
 
int GetAssetPermissions (UUID principalID, UUID assetID)
 

Detailed Description

A MySQL Interface for the Asset Server

Definition at line 43 of file MySQLXInventoryData.cs.

Constructor & Destructor Documentation

OpenSim.Data.MySQL.MySQLXInventoryData.MySQLXInventoryData ( string  conn,
string  realm 
)
inline

Definition at line 48 of file MySQLXInventoryData.cs.

Member Function Documentation

bool OpenSim.Data.MySQL.MySQLXInventoryData.DeleteFolders ( string  field,
string  val 
)
inline

Delete folders where field == val

Parameters
field
val
Returns
true if the delete was successful, false if it was not

Implements OpenSim.Data.IXInventoryData.

Definition at line 84 of file MySQLXInventoryData.cs.

bool OpenSim.Data.MySQL.MySQLXInventoryData.DeleteFolders ( string[]  fields,
string[]  vals 
)
inline

Delete folders where field1 == val1, field2 == val2...

Parameters
fields
vals
Returns
true if the delete was successful, false if it was not

Implements OpenSim.Data.IXInventoryData.

Definition at line 89 of file MySQLXInventoryData.cs.

bool OpenSim.Data.MySQL.MySQLXInventoryData.DeleteItems ( string  field,
string  val 
)
inline

Delete items where field == val

Parameters
field
val
Returns
true if the delete was successful, false if it was not

Implements OpenSim.Data.IXInventoryData.

Definition at line 94 of file MySQLXInventoryData.cs.

bool OpenSim.Data.MySQL.MySQLXInventoryData.DeleteItems ( string[]  fields,
string[]  vals 
)
inline

Delete items where field1 == val1, field2 == val2...

Parameters
fields
vals
Returns
true if the delete was successful, false if it was not

Implements OpenSim.Data.IXInventoryData.

Definition at line 99 of file MySQLXInventoryData.cs.

XInventoryItem [] OpenSim.Data.MySQL.MySQLXInventoryData.GetActiveGestures ( UUID  principalID)
inline

Implements OpenSim.Data.IXInventoryData.

Definition at line 114 of file MySQLXInventoryData.cs.

int OpenSim.Data.MySQL.MySQLXInventoryData.GetAssetPermissions ( UUID  principalID,
UUID  assetID 
)
inline

Implements OpenSim.Data.IXInventoryData.

Definition at line 119 of file MySQLXInventoryData.cs.

XInventoryFolder [] OpenSim.Data.MySQL.MySQLXInventoryData.GetFolders ( string[]  fields,
string[]  vals 
)
inline

Implements OpenSim.Data.IXInventoryData.

Definition at line 56 of file MySQLXInventoryData.cs.

XInventoryItem [] OpenSim.Data.MySQL.MySQLXInventoryData.GetItems ( string[]  fields,
string[]  vals 
)
inline

Implements OpenSim.Data.IXInventoryData.

Definition at line 61 of file MySQLXInventoryData.cs.

bool OpenSim.Data.MySQL.MySQLXInventoryData.MoveFolder ( string  id,
string  newParentFolderID 
)
inline

Move a folder to another folder.

Returns
/returns>
Parameters
idUUID of the item
newParentUUID of the new parent folder.

Implements OpenSim.Data.IXInventoryData.

Definition at line 109 of file MySQLXInventoryData.cs.

bool OpenSim.Data.MySQL.MySQLXInventoryData.MoveItem ( string  id,
string  newParentFolderID 
)
inline

Move an item to another folder.

Returns
/returns>
Parameters
idUUID of the item
newParentUUID of the new parent folder.

Implements OpenSim.Data.IXInventoryData.

Definition at line 104 of file MySQLXInventoryData.cs.

bool OpenSim.Data.MySQL.MySQLXInventoryData.StoreFolder ( XInventoryFolder  folder)
inline

Implements OpenSim.Data.IXInventoryData.

Definition at line 66 of file MySQLXInventoryData.cs.

bool OpenSim.Data.MySQL.MySQLXInventoryData.StoreItem ( XInventoryItem  item)
inline

Implements OpenSim.Data.IXInventoryData.

Definition at line 74 of file MySQLXInventoryData.cs.


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