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

Public Member Functions

 MySQLEstateStore ()
 
 MySQLEstateStore (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 > GetEstatesAll ()
 Get the IDs of all estates. More...
 
List< int > GetEstates (string search)
 Get estate IDs. 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 41 of file MySQLEstateData.cs.

Constructor & Destructor Documentation

OpenSim.Data.MySQL.MySQLEstateStore.MySQLEstateStore ( )
inline

Definition at line 57 of file MySQLEstateData.cs.

OpenSim.Data.MySQL.MySQLEstateStore.MySQLEstateStore ( string  connectionString)
inline

Definition at line 61 of file MySQLEstateData.cs.

Member Function Documentation

EstateSettings OpenSim.Data.MySQL.MySQLEstateStore.CreateNewEstate ( )
inline

Create a new estate.

Returns
A EstateSettings

Implements OpenSim.Data.IEstateDataStore.

Definition at line 122 of file MySQLEstateData.cs.

bool OpenSim.Data.MySQL.MySQLEstateStore.DeleteEstate ( int  estateID)
inline

Delete an estate

Parameters
estateID
Returns
true if the delete succeeded, false otherwise

Implements OpenSim.Data.IEstateDataStore.

Definition at line 589 of file MySQLEstateData.cs.

List<int> OpenSim.Data.MySQL.MySQLEstateStore.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 447 of file MySQLEstateData.cs.

List<int> OpenSim.Data.MySQL.MySQLEstateStore.GetEstatesAll ( )
inline

Get the IDs of all estates.

Returns
An empty list if no estates were found.

Implements OpenSim.Data.IEstateDataStore.

Definition at line 419 of file MySQLEstateData.cs.

List<int> OpenSim.Data.MySQL.MySQLEstateStore.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 476 of file MySQLEstateData.cs.

List<UUID> OpenSim.Data.MySQL.MySQLEstateStore.GetRegions ( int  estateID)
inline

Get the UUIDs of all the regions in an estate.

Parameters
estateID
Returns

Implements OpenSim.Data.IEstateDataStore.

Definition at line 555 of file MySQLEstateData.cs.

void OpenSim.Data.MySQL.MySQLEstateStore.Initialise ( string  connectstring)
inline

Initialise the data store.

Parameters
connectstring

Implements OpenSim.Data.IEstateDataStore.

Definition at line 66 of file MySQLEstateData.cs.

bool OpenSim.Data.MySQL.MySQLEstateStore.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 505 of file MySQLEstateData.cs.

EstateSettings OpenSim.Data.MySQL.MySQLEstateStore.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 104 of file MySQLEstateData.cs.

EstateSettings OpenSim.Data.MySQL.MySQLEstateStore.LoadEstateSettings ( int  estateID)
inline

Load estate settings for an estate ID.

Parameters
estateID
Returns

Implements OpenSim.Data.IEstateDataStore.

Definition at line 391 of file MySQLEstateData.cs.

List<EstateSettings> OpenSim.Data.MySQL.MySQLEstateStore.LoadEstateSettingsAll ( )
inline

Load/Get all estate settings.

Returns
An empty list if no estates were found.

Implements OpenSim.Data.IEstateDataStore.

Definition at line 407 of file MySQLEstateData.cs.

void OpenSim.Data.MySQL.MySQLEstateStore.StoreEstateSettings ( EstateSettings  es)
inline

Store estate settings.

This is also called by EstateSettings.Save()

Parameters
es

Implements OpenSim.Data.IEstateDataStore.

Definition at line 237 of file MySQLEstateData.cs.

Property Documentation

virtual Assembly OpenSim.Data.MySQL.MySQLEstateStore.Assembly
getprotected

Definition at line 53 of file MySQLEstateData.cs.


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