OpenSim
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Properties | List of all members
OpenSim.Data.SQLite.SQLiteEstateStore Class Reference
Inheritance diagram for OpenSim.Data.SQLite.SQLiteEstateStore:
Inheritance graph
[legend]
Collaboration diagram for OpenSim.Data.SQLite.SQLiteEstateStore:
Collaboration graph
[legend]

Public Member Functions

 SQLiteEstateStore ()
 
 SQLiteEstateStore (string connectionString)
 
void Initialise (string connectionString)
 Initialise the data store. More...
 
EstateSettings LoadEstateSettings (UUID regionID, bool create)
 Load estate settings for a region. More...
 
EstateSettings CreateNewEstate ()
 Create a new estate. More...
 
void StoreEstateSettings (EstateSettings es)
 Store estate settings. More...
 
EstateSettings LoadEstateSettings (int estateID)
 Load estate settings for an estate ID. More...
 
List< EstateSettingsLoadEstateSettingsAll ()
 Load/Get all estate settings. More...
 
List< int > GetEstates (string search)
 Get estate IDs. More...
 
List< int > GetEstatesAll ()
 Get the IDs of all estates. More...
 
List< int > GetEstatesByOwner (UUID ownerID)
 Get the IDs of all estates owned by the given user. More...
 
bool LinkRegion (UUID regionID, int estateID)
 Link a region to an estate. More...
 
List< UUID > GetRegions (int estateID)
 Get the UUIDs of all the regions in an estate. More...
 
bool DeleteEstate (int estateID)
 Delete an estate More...
 

Properties

virtual Assembly Assembly [get]
 

Detailed Description

Definition at line 44 of file SQLiteEstateData.cs.

Constructor & Destructor Documentation

OpenSim.Data.SQLite.SQLiteEstateStore.SQLiteEstateStore ( )
inline

Definition at line 61 of file SQLiteEstateData.cs.

OpenSim.Data.SQLite.SQLiteEstateStore.SQLiteEstateStore ( string  connectionString)
inline

Definition at line 65 of file SQLiteEstateData.cs.

Member Function Documentation

EstateSettings OpenSim.Data.SQLite.SQLiteEstateStore.CreateNewEstate ( )
inline

Create a new estate.

Returns
A EstateSettings

Implements OpenSim.Data.IEstateDataStore.

Definition at line 170 of file SQLiteEstateData.cs.

bool OpenSim.Data.SQLite.SQLiteEstateStore.DeleteEstate ( int  estateID)
inline

Delete an estate

Parameters
estateID
Returns
true if the delete succeeded, false otherwise

Implements OpenSim.Data.IEstateDataStore.

Definition at line 511 of file SQLiteEstateData.cs.

List<int> OpenSim.Data.SQLite.SQLiteEstateStore.GetEstates ( string  search)
inline

Get estate IDs.

Parameters
searchName of estate to search for. This is the exact name, no parttern matching is done.
Returns

Implements OpenSim.Data.IEstateDataStore.

Definition at line 401 of file SQLiteEstateData.cs.

List<int> OpenSim.Data.SQLite.SQLiteEstateStore.GetEstatesAll ( )
inline

Get the IDs of all estates.

Returns
An empty list if no estates were found.

Implements OpenSim.Data.IEstateDataStore.

Definition at line 425 of file SQLiteEstateData.cs.

List<int> OpenSim.Data.SQLite.SQLiteEstateStore.GetEstatesByOwner ( UUID  ownerID)
inline

Get the IDs of all estates owned by the given user.

Returns
An empty list if no estates were found.

Implements OpenSim.Data.IEstateDataStore.

Definition at line 448 of file SQLiteEstateData.cs.

List<UUID> OpenSim.Data.SQLite.SQLiteEstateStore.GetRegions ( int  estateID)
inline

Get the UUIDs of all the regions in an estate.

Parameters
estateID
Returns

Implements OpenSim.Data.IEstateDataStore.

Definition at line 506 of file SQLiteEstateData.cs.

void OpenSim.Data.SQLite.SQLiteEstateStore.Initialise ( string  connectstring)
inline

Initialise the data store.

Parameters
connectstring

Implements OpenSim.Data.IEstateDataStore.

Definition at line 70 of file SQLiteEstateData.cs.

bool OpenSim.Data.SQLite.SQLiteEstateStore.LinkRegion ( UUID  regionID,
int  estateID 
)
inline

Link a region to an estate.

Parameters
regionID
estateID
Returns
true if the link succeeded, false otherwise

Implements OpenSim.Data.IEstateDataStore.

Definition at line 472 of file SQLiteEstateData.cs.

EstateSettings OpenSim.Data.SQLite.SQLiteEstateStore.LoadEstateSettings ( UUID  regionID,
bool  create 
)
inline

Load estate settings for a region.

Parameters
regionID
createIf true, then an estate is created if one is not found.
Returns

Implements OpenSim.Data.IEstateDataStore.

Definition at line 103 of file SQLiteEstateData.cs.

EstateSettings OpenSim.Data.SQLite.SQLiteEstateStore.LoadEstateSettings ( int  estateID)
inline

Load estate settings for an estate ID.

Parameters
estateID
Returns

Implements OpenSim.Data.IEstateDataStore.

Definition at line 377 of file SQLiteEstateData.cs.

List<EstateSettings> OpenSim.Data.SQLite.SQLiteEstateStore.LoadEstateSettingsAll ( )
inline

Load/Get all estate settings.

Returns
An empty list if no estates were found.

Implements OpenSim.Data.IEstateDataStore.

Definition at line 390 of file SQLiteEstateData.cs.

void OpenSim.Data.SQLite.SQLiteEstateStore.StoreEstateSettings ( EstateSettings  es)
inline

Store estate settings.

This is also called by EstateSettings.Save()

Parameters
es

Implements OpenSim.Data.IEstateDataStore.

Definition at line 233 of file SQLiteEstateData.cs.

Property Documentation

virtual Assembly OpenSim.Data.SQLite.SQLiteEstateStore.Assembly
getprotected

Definition at line 57 of file SQLiteEstateData.cs.


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