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

Public Member Functions

 PGSQLEstateStore ()
 
 PGSQLEstateStore (string connectionString)
 
void Initialise (string connectionString)
 Initialises the estatedata class. More...
 
EstateSettings LoadEstateSettings (UUID regionID, bool create)
 Loads the estate settings. More...
 
EstateSettings CreateNewEstate ()
 Create a new estate. More...
 
void StoreEstateSettings (EstateSettings es)
 Stores the 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 41 of file PGSQLEstateData.cs.

Constructor & Destructor Documentation

OpenSim.Data.PGSQL.PGSQLEstateStore.PGSQLEstateStore ( )
inline

Definition at line 54 of file PGSQLEstateData.cs.

OpenSim.Data.PGSQL.PGSQLEstateStore.PGSQLEstateStore ( string  connectionString)
inline

Definition at line 58 of file PGSQLEstateData.cs.

Member Function Documentation

EstateSettings OpenSim.Data.PGSQL.PGSQLEstateStore.CreateNewEstate ( )
inline

Create a new estate.

Returns
A EstateSettings

Implements OpenSim.Data.IEstateDataStore.

Definition at line 180 of file PGSQLEstateData.cs.

bool OpenSim.Data.PGSQL.PGSQLEstateStore.DeleteEstate ( int  estateID)
inline

Delete an estate

Parameters
estateID
Returns
true if the delete succeeded, false otherwise

Implements OpenSim.Data.IEstateDataStore.

Definition at line 595 of file PGSQLEstateData.cs.

List<int> OpenSim.Data.PGSQL.PGSQLEstateStore.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 452 of file PGSQLEstateData.cs.

List<int> OpenSim.Data.PGSQL.PGSQLEstateStore.GetEstatesAll ( )
inline

Get the IDs of all estates.

Returns
An empty list if no estates were found.

Implements OpenSim.Data.IEstateDataStore.

Definition at line 477 of file PGSQLEstateData.cs.

List<int> OpenSim.Data.PGSQL.PGSQLEstateStore.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 500 of file PGSQLEstateData.cs.

List<UUID> OpenSim.Data.PGSQL.PGSQLEstateStore.GetRegions ( int  estateID)
inline

Get the UUIDs of all the regions in an estate.

Parameters
estateID
Returns

Implements OpenSim.Data.IEstateDataStore.

Definition at line 570 of file PGSQLEstateData.cs.

void OpenSim.Data.PGSQL.PGSQLEstateStore.Initialise ( string  connectionString)
inline

Initialises the estatedata class.

Parameters
connectionStringconnectionString.

Implements OpenSim.Data.IEstateDataStore.

Definition at line 72 of file PGSQLEstateData.cs.

bool OpenSim.Data.PGSQL.PGSQLEstateStore.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 525 of file PGSQLEstateData.cs.

EstateSettings OpenSim.Data.PGSQL.PGSQLEstateStore.LoadEstateSettings ( UUID  regionID,
bool  create 
)
inline

Loads the estate settings.

Parameters
regionIDregion ID.
Returns

Implements OpenSim.Data.IEstateDataStore.

Definition at line 106 of file PGSQLEstateData.cs.

EstateSettings OpenSim.Data.PGSQL.PGSQLEstateStore.LoadEstateSettings ( int  estateID)
inline

Load estate settings for an estate ID.

Parameters
estateID
Returns

Implements OpenSim.Data.IEstateDataStore.

Definition at line 382 of file PGSQLEstateData.cs.

List<EstateSettings> OpenSim.Data.PGSQL.PGSQLEstateStore.LoadEstateSettingsAll ( )
inline

Load/Get all estate settings.

Returns
An empty list if no estates were found.

Implements OpenSim.Data.IEstateDataStore.

Definition at line 440 of file PGSQLEstateData.cs.

void OpenSim.Data.PGSQL.PGSQLEstateStore.StoreEstateSettings ( EstateSettings  es)
inline

Stores the estate settings.

Parameters
esestate settings

Implements OpenSim.Data.IEstateDataStore.

Definition at line 243 of file PGSQLEstateData.cs.

Property Documentation

virtual Assembly OpenSim.Data.PGSQL.PGSQLEstateStore.Assembly
getprotected

Definition at line 64 of file PGSQLEstateData.cs.


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