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

A SQLite Interface for the Asset Server More...

Inheritance diagram for OpenSim.Data.SQLite.SQLiteXInventoryData:
Inheritance graph
[legend]
Collaboration diagram for OpenSim.Data.SQLite.SQLiteXInventoryData:
Collaboration graph
[legend]

Public Member Functions

 SQLiteXInventoryData (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 SQLite Interface for the Asset Server

Definition at line 46 of file SQLiteXInventoryData.cs.

Constructor & Destructor Documentation

OpenSim.Data.SQLite.SQLiteXInventoryData.SQLiteXInventoryData ( string  conn,
string  realm 
)
inline

Definition at line 53 of file SQLiteXInventoryData.cs.

Member Function Documentation

bool OpenSim.Data.SQLite.SQLiteXInventoryData.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 92 of file SQLiteXInventoryData.cs.

bool OpenSim.Data.SQLite.SQLiteXInventoryData.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 97 of file SQLiteXInventoryData.cs.

bool OpenSim.Data.SQLite.SQLiteXInventoryData.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 102 of file SQLiteXInventoryData.cs.

bool OpenSim.Data.SQLite.SQLiteXInventoryData.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 107 of file SQLiteXInventoryData.cs.

XInventoryItem [] OpenSim.Data.SQLite.SQLiteXInventoryData.GetActiveGestures ( UUID  principalID)
inline

Implements OpenSim.Data.IXInventoryData.

Definition at line 122 of file SQLiteXInventoryData.cs.

int OpenSim.Data.SQLite.SQLiteXInventoryData.GetAssetPermissions ( UUID  principalID,
UUID  assetID 
)
inline

Implements OpenSim.Data.IXInventoryData.

Definition at line 127 of file SQLiteXInventoryData.cs.

XInventoryFolder [] OpenSim.Data.SQLite.SQLiteXInventoryData.GetFolders ( string[]  fields,
string[]  vals 
)
inline

Implements OpenSim.Data.IXInventoryData.

Definition at line 64 of file SQLiteXInventoryData.cs.

XInventoryItem [] OpenSim.Data.SQLite.SQLiteXInventoryData.GetItems ( string[]  fields,
string[]  vals 
)
inline

Implements OpenSim.Data.IXInventoryData.

Definition at line 69 of file SQLiteXInventoryData.cs.

bool OpenSim.Data.SQLite.SQLiteXInventoryData.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 117 of file SQLiteXInventoryData.cs.

bool OpenSim.Data.SQLite.SQLiteXInventoryData.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 112 of file SQLiteXInventoryData.cs.

bool OpenSim.Data.SQLite.SQLiteXInventoryData.StoreFolder ( XInventoryFolder  folder)
inline

Implements OpenSim.Data.IXInventoryData.

Definition at line 74 of file SQLiteXInventoryData.cs.

bool OpenSim.Data.SQLite.SQLiteXInventoryData.StoreItem ( XInventoryItem  item)
inline

Implements OpenSim.Data.IXInventoryData.

Definition at line 82 of file SQLiteXInventoryData.cs.


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