From d3a20a1e9257ecec417e219ebaf079370015f06d Mon Sep 17 00:00:00 2001
From: Justin Clark-Casey (justincc)
Date: Mon, 21 Mar 2011 21:37:06 +0000
Subject: On initial region registration, if the user chooses the option to
make the region part of an existing estate, then list the existing region
names.
---
OpenSim/Region/Framework/Interfaces/IEstateDataService.cs | 14 ++++++++++++++
OpenSim/Region/Framework/Interfaces/IEstateDataStore.cs | 14 ++++++++++++++
2 files changed, 28 insertions(+)
(limited to 'OpenSim/Region/Framework')
diff --git a/OpenSim/Region/Framework/Interfaces/IEstateDataService.cs b/OpenSim/Region/Framework/Interfaces/IEstateDataService.cs
index 95c9659..12ed9e3 100644
--- a/OpenSim/Region/Framework/Interfaces/IEstateDataService.cs
+++ b/OpenSim/Region/Framework/Interfaces/IEstateDataService.cs
@@ -36,8 +36,22 @@ namespace OpenSim.Region.Framework.Interfaces
{
EstateSettings LoadEstateSettings(UUID regionID, bool create);
EstateSettings LoadEstateSettings(int estateID);
+
+ ///
+ /// Load/Get all estate settings.
+ ///
+ /// An empty list if no estates were found.
+ List LoadEstateSettingsAll();
+
void StoreEstateSettings(EstateSettings es);
List GetEstates(string search);
+
+ ///
+ /// Get the IDs of all estates.
+ ///
+ /// An empty list if no estates were found.
+ List GetEstatesAll();
+
bool LinkRegion(UUID regionID, int estateID);
List GetRegions(int estateID);
bool DeleteEstate(int estateID);
diff --git a/OpenSim/Region/Framework/Interfaces/IEstateDataStore.cs b/OpenSim/Region/Framework/Interfaces/IEstateDataStore.cs
index 87c7a05..d78ad78 100644
--- a/OpenSim/Region/Framework/Interfaces/IEstateDataStore.cs
+++ b/OpenSim/Region/Framework/Interfaces/IEstateDataStore.cs
@@ -37,8 +37,22 @@ namespace OpenSim.Region.Framework.Interfaces
EstateSettings LoadEstateSettings(UUID regionID, bool create);
EstateSettings LoadEstateSettings(int estateID);
+
+ ///
+ /// Load/Get all estate settings.
+ ///
+ /// An empty list if no estates were found.
+ List LoadEstateSettingsAll();
+
void StoreEstateSettings(EstateSettings es);
List GetEstates(string search);
+
+ ///
+ /// Get the IDs of all estates.
+ ///
+ /// An empty list if no estates were found.
+ List GetEstatesAll();
+
bool LinkRegion(UUID regionID, int estateID);
List GetRegions(int estateID);
bool DeleteEstate(int estateID);
--
cgit v1.1