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.
---
OpenSim/Services/Interfaces/IInventoryService.cs | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
(limited to 'OpenSim/Services/Interfaces')
diff --git a/OpenSim/Services/Interfaces/IInventoryService.cs b/OpenSim/Services/Interfaces/IInventoryService.cs
index 8058aa7..6256c32 100644
--- a/OpenSim/Services/Interfaces/IInventoryService.cs
+++ b/OpenSim/Services/Interfaces/IInventoryService.cs
@@ -149,9 +149,9 @@ namespace OpenSim.Services.Interfaces
/// true if the item was successfully deleted
bool DeleteItem(InventoryItemBase item);
- InventoryItemBase QueryItem(InventoryItemBase item);
+ InventoryItemBase GetItem(InventoryItemBase item);
- InventoryFolderBase QueryFolder(InventoryFolderBase folder);
+ 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.
---
OpenSim/Services/Interfaces/IInventoryService.cs | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
(limited to 'OpenSim/Services/Interfaces')
diff --git a/OpenSim/Services/Interfaces/IInventoryService.cs b/OpenSim/Services/Interfaces/IInventoryService.cs
index 6256c32..a89a238 100644
--- a/OpenSim/Services/Interfaces/IInventoryService.cs
+++ b/OpenSim/Services/Interfaces/IInventoryService.cs
@@ -149,8 +149,18 @@ namespace OpenSim.Services.Interfaces
/// true if the item was successfully deleted
bool DeleteItem(InventoryItemBase item);
+ ///
+ /// Get an item, given by its UUID
+ ///
+ ///
+ ///
InventoryItemBase GetItem(InventoryItemBase item);
+ ///
+ /// Get a folder, given by its UUID
+ ///
+ ///
+ ///
InventoryFolderBase GetFolder(InventoryFolderBase folder);
///
@@ -166,5 +176,15 @@ namespace OpenSim.Services.Interfaces
///
///
List GetActiveGestures(UUID userId);
+
+ ///
+ /// Get the union of permissions of all inventory items
+ /// that hold the given assetID.
+ ///
+ ///
+ ///
+ /// The permissions or 0 if no such asset is found in
+ /// the user's inventory
+ int GetAssetPermissions(UUID userID, UUID assetID);
}
}
--
cgit v1.1