diff --git a/OpenSim/Data/MySQL/MySQLRegionData.cs b/OpenSim/Data/MySQL/MySQLRegionData.cs
index f64b142799..992e84da13 100644
--- a/OpenSim/Data/MySQL/MySQLRegionData.cs
+++ b/OpenSim/Data/MySQL/MySQLRegionData.cs
@@ -307,7 +307,12 @@ namespace OpenSim.Data.MySQL
ExecuteNonQuery(cmd);
}
}
-
+
+ ///
+ /// Remove all persisted items of the given prim.
+ /// The caller must acquire the necessrary synchronization locks and commit or rollback changes.
+ ///
+ /// the Item UUID
private void RemoveItems(UUID uuid)
{
lock (m_Connection)
@@ -403,6 +408,10 @@ namespace OpenSim.Data.MySQL
return objects;
}
+ ///
+ /// Load in a prim's persisted inventory.
+ ///
+ /// The prim
private void LoadItems(SceneObjectPart prim)
{
lock (m_Connection)
diff --git a/OpenSim/Region/Environment/Interfaces/IRegionDataStore.cs b/OpenSim/Region/Environment/Interfaces/IRegionDataStore.cs
index 0ee4933754..78fc62662c 100644
--- a/OpenSim/Region/Environment/Interfaces/IRegionDataStore.cs
+++ b/OpenSim/Region/Environment/Interfaces/IRegionDataStore.cs
@@ -67,13 +67,38 @@ namespace OpenSim.Region.Environment.Interfaces
///
void StorePrimInventory(UUID primID, ICollection items);
+ ///
+ /// Load persisted objects from region storage.
+ ///
+ /// the Region UUID
+ /// List of loaded groups
List LoadObjects(UUID regionUUID);
+ ///
+ /// Store a terrain revision in region storage
+ ///
+ /// HeightField data
+ /// region UUID
void StoreTerrain(double[,] terrain, UUID regionID);
+
+ ///
+ /// Load the latest terrain revision from region storage
+ ///
+ /// the region UUID
+ /// Heightfield data
double[,] LoadTerrain(UUID regionID);
void StoreLandObject(ILandObject Parcel);
+
+ ///
+ ///
+ /// - delete from land where UUID=globalID
+ /// - delete from landaccesslist where LandUUID=globalID
+ ///
+ ///
+ ///
void RemoveLandObject(UUID globalID);
+
List LoadLandObjects(UUID regionUUID);
void StoreRegionSettings(RegionSettings rs);