diff options
Diffstat (limited to 'OpenSim/Services/Connectors/SimianGrid')
-rw-r--r-- | OpenSim/Services/Connectors/SimianGrid/SimianInventoryServiceConnector.cs | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/OpenSim/Services/Connectors/SimianGrid/SimianInventoryServiceConnector.cs b/OpenSim/Services/Connectors/SimianGrid/SimianInventoryServiceConnector.cs index 9ded1c4..0331c66 100644 --- a/OpenSim/Services/Connectors/SimianGrid/SimianInventoryServiceConnector.cs +++ b/OpenSim/Services/Connectors/SimianGrid/SimianInventoryServiceConnector.cs | |||
@@ -340,7 +340,7 @@ namespace OpenSim.Services.Connectors.SimianGrid | |||
340 | public InventoryCollection GetFolderContent(UUID userID, UUID folderID) | 340 | public InventoryCollection GetFolderContent(UUID userID, UUID folderID) |
341 | { | 341 | { |
342 | InventoryCollection inventory = new InventoryCollection(); | 342 | InventoryCollection inventory = new InventoryCollection(); |
343 | inventory.UserID = userID; | 343 | inventory.OwnerID = userID; |
344 | 344 | ||
345 | NameValueCollection requestArgs = new NameValueCollection | 345 | NameValueCollection requestArgs = new NameValueCollection |
346 | { | 346 | { |
@@ -371,6 +371,18 @@ namespace OpenSim.Services.Connectors.SimianGrid | |||
371 | return inventory; | 371 | return inventory; |
372 | } | 372 | } |
373 | 373 | ||
374 | public virtual InventoryCollection[] GetMultipleFoldersContent(UUID principalID, UUID[] folderIDs) | ||
375 | { | ||
376 | InventoryCollection[] invColl = new InventoryCollection[folderIDs.Length]; | ||
377 | int i = 0; | ||
378 | foreach (UUID fid in folderIDs) | ||
379 | { | ||
380 | invColl[i++] = GetFolderContent(principalID, fid); | ||
381 | } | ||
382 | |||
383 | return invColl; | ||
384 | } | ||
385 | |||
374 | /// <summary> | 386 | /// <summary> |
375 | /// Gets the items inside a folder | 387 | /// Gets the items inside a folder |
376 | /// </summary> | 388 | /// </summary> |
@@ -380,7 +392,7 @@ namespace OpenSim.Services.Connectors.SimianGrid | |||
380 | public List<InventoryItemBase> GetFolderItems(UUID userID, UUID folderID) | 392 | public List<InventoryItemBase> GetFolderItems(UUID userID, UUID folderID) |
381 | { | 393 | { |
382 | InventoryCollection inventory = new InventoryCollection(); | 394 | InventoryCollection inventory = new InventoryCollection(); |
383 | inventory.UserID = userID; | 395 | inventory.OwnerID = userID; |
384 | 396 | ||
385 | NameValueCollection requestArgs = new NameValueCollection | 397 | NameValueCollection requestArgs = new NameValueCollection |
386 | { | 398 | { |