From 5246dc33dcfc51b7ebb19b269159df3991029350 Mon Sep 17 00:00:00 2001
From: Diva Canto
Date: Thu, 13 Aug 2009 14:10:12 -0700
Subject: Renamed QueryItem/QueryFolder to GetItem/GetFolder. The word 'query'
starting to get on my nerves.
---
.../ServiceConnectorsOut/Inventory/BaseInventoryConnector.cs | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
(limited to 'OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory/BaseInventoryConnector.cs')
diff --git a/OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory/BaseInventoryConnector.cs b/OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory/BaseInventoryConnector.cs
index 375faf5..0526bc4 100644
--- a/OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory/BaseInventoryConnector.cs
+++ b/OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory/BaseInventoryConnector.cs
@@ -184,9 +184,9 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Inventory
/// true if the item was successfully deleted
public abstract bool DeleteItem(InventoryItemBase item);
- public abstract InventoryItemBase QueryItem(InventoryItemBase item);
+ public abstract InventoryItemBase GetItem(InventoryItemBase item);
- public abstract InventoryFolderBase QueryFolder(InventoryFolderBase folder);
+ public abstract InventoryFolderBase GetFolder(InventoryFolderBase folder);
///
/// Does the given user have an inventory structure?
--
cgit v1.1
From 034c9cf606373bfa9d3f8040cd787f789e0efbf2 Mon Sep 17 00:00:00 2001
From: Diva Canto
Date: Thu, 13 Aug 2009 17:34:15 -0700
Subject: Added GetAssetPermissions. Few last bugs nixed. This is ready for
testing.
---
.../ServiceConnectorsOut/Inventory/BaseInventoryConnector.cs | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
(limited to 'OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory/BaseInventoryConnector.cs')
diff --git a/OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory/BaseInventoryConnector.cs b/OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory/BaseInventoryConnector.cs
index 0526bc4..ef5ffe1 100644
--- a/OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory/BaseInventoryConnector.cs
+++ b/OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory/BaseInventoryConnector.cs
@@ -82,7 +82,11 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Inventory
///
///
/// null if no root folder was found
- public abstract InventoryFolderBase GetRootFolder(UUID userID);
+ public InventoryFolderBase GetRootFolder(UUID userID)
+ {
+ // Root folder is here as system type Folder.
+ return m_cache.GetFolderForType(userID, AssetType.Folder);
+ }
public abstract Dictionary GetSystemFolders(UUID userID);
@@ -202,5 +206,6 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Inventory
///
public abstract List GetActiveGestures(UUID userId);
+ public abstract int GetAssetPermissions(UUID userID, UUID assetID);
}
}
--
cgit v1.1