29 using System.Collections.Generic;
30 using System.Reflection;
33 using OpenSim.Framework;
34 using OpenSim.Region.Framework;
35 using OpenSim.Region.Framework.Interfaces;
37 namespace OpenSim.Data.
Null
55 m_estate.EstateID = 1;
56 m_estate.OnSave += StoreEstateSettings;
61 protected virtual Assembly Assembly
63 get {
return GetType().Assembly; }
72 Initialise(connectionString);
80 private string[] FieldList
82 get {
return new string[0]; }
108 List<EstateSettings> allEstateSettings =
new List<EstateSettings>();
109 allEstateSettings.Add(GetEstate());
110 return allEstateSettings;
115 List<int> result =
new List<int>();
116 result.Add((int)GetEstate().EstateID);
122 List<int> result =
new List<int>();
133 List<UUID> result =
new List<UUID>();
142 #region IEstateDataStore Members
147 return new List<int>();
List< int > GetEstatesByOwner(UUID ownerID)
Get the IDs of all estates owned by the given user.
NullEstateStore(string connectionString)
bool DeleteEstate(int estateID)
Delete an estate
void StoreEstateSettings(EstateSettings es)
Store estate settings.
List< UUID > GetRegions(int estateID)
Get the UUIDs of all the regions in an estate.
bool LinkRegion(UUID regionID, int estateID)
Link a region to an estate.
List< int > GetEstatesAll()
Get the IDs of all estates.
List< EstateSettings > LoadEstateSettingsAll()
Load/Get all estate settings.
EstateSettings LoadEstateSettings(UUID regionID, bool create)
Load estate settings for a region.
List< int > GetEstates(string search)
Get estate IDs.
EstateSettings LoadEstateSettings(int estateID)
Load estate settings for an estate ID.
EstateSettings CreateNewEstate()
Create a new estate.
void Initialise(string connectionString)
Initialise the data store.