aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/CoreModules')
-rw-r--r--OpenSim/Region/CoreModules/Avatar/AvatarFactory/AvatarFactoryModule.cs2
-rw-r--r--OpenSim/Region/CoreModules/Avatar/Gestures/GesturesModule.cs4
-rw-r--r--OpenSim/Region/CoreModules/Avatar/Inventory/Transfer/InventoryTransferModule.cs8
-rw-r--r--OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory/BaseInventoryConnector.cs4
-rw-r--r--OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory/HGInventoryBroker.cs8
-rw-r--r--OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory/LocalInventoryServiceConnector.cs8
-rw-r--r--OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory/RemoteInventoryServiceConnector.cs4
-rw-r--r--OpenSim/Region/CoreModules/World/Permissions/PermissionsModule.cs6
8 files changed, 22 insertions, 22 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/AvatarFactory/AvatarFactoryModule.cs b/OpenSim/Region/CoreModules/Avatar/AvatarFactory/AvatarFactoryModule.cs
index 547f923..582beee 100644
--- a/OpenSim/Region/CoreModules/Avatar/AvatarFactory/AvatarFactoryModule.cs
+++ b/OpenSim/Region/CoreModules/Avatar/AvatarFactory/AvatarFactoryModule.cs
@@ -130,7 +130,7 @@ namespace OpenSim.Region.CoreModules.Avatar.AvatarFactory
130 } 130 }
131 else 131 else
132 { 132 {
133 InventoryItemBase baseItem = invService.QueryItem(new InventoryItemBase(appearance.Wearables[i].ItemID)); 133 InventoryItemBase baseItem = invService.GetItem(new InventoryItemBase(appearance.Wearables[i].ItemID));
134 134
135 if (baseItem != null) 135 if (baseItem != null)
136 { 136 {
diff --git a/OpenSim/Region/CoreModules/Avatar/Gestures/GesturesModule.cs b/OpenSim/Region/CoreModules/Avatar/Gestures/GesturesModule.cs
index e61648c..a68db1b 100644
--- a/OpenSim/Region/CoreModules/Avatar/Gestures/GesturesModule.cs
+++ b/OpenSim/Region/CoreModules/Avatar/Gestures/GesturesModule.cs
@@ -65,7 +65,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Gestures
65 { 65 {
66 IInventoryService invService = m_scene.InventoryService; 66 IInventoryService invService = m_scene.InventoryService;
67 67
68 InventoryItemBase item = invService.QueryItem(new InventoryItemBase(gestureId)); 68 InventoryItemBase item = invService.GetItem(new InventoryItemBase(gestureId));
69 if (item != null) 69 if (item != null)
70 { 70 {
71 item.Flags = 1; 71 item.Flags = 1;
@@ -80,7 +80,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Gestures
80 { 80 {
81 IInventoryService invService = m_scene.InventoryService; 81 IInventoryService invService = m_scene.InventoryService;
82 82
83 InventoryItemBase item = invService.QueryItem(new InventoryItemBase(gestureId)); 83 InventoryItemBase item = invService.GetItem(new InventoryItemBase(gestureId));
84 if (item != null) 84 if (item != null)
85 { 85 {
86 item.Flags = 0; 86 item.Flags = 0;
diff --git a/OpenSim/Region/CoreModules/Avatar/Inventory/Transfer/InventoryTransferModule.cs b/OpenSim/Region/CoreModules/Avatar/Inventory/Transfer/InventoryTransferModule.cs
index b5650fd..5315c11 100644
--- a/OpenSim/Region/CoreModules/Avatar/Inventory/Transfer/InventoryTransferModule.cs
+++ b/OpenSim/Region/CoreModules/Avatar/Inventory/Transfer/InventoryTransferModule.cs
@@ -258,7 +258,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Inventory.Transfer
258 258
259 UUID inventoryEntityID = new UUID(im.imSessionID); // The inventory item/folder, back from it's trip 259 UUID inventoryEntityID = new UUID(im.imSessionID); // The inventory item/folder, back from it's trip
260 260
261 InventoryItemBase item = invService.QueryItem(new InventoryItemBase(inventoryEntityID)); 261 InventoryItemBase item = invService.GetItem(new InventoryItemBase(inventoryEntityID));
262 InventoryFolderBase folder = null; 262 InventoryFolderBase folder = null;
263 263
264 if (item != null && trashFolder != null) 264 if (item != null && trashFolder != null)
@@ -271,7 +271,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Inventory.Transfer
271 } 271 }
272 else 272 else
273 { 273 {
274 folder = invService.QueryFolder(new InventoryFolderBase(inventoryEntityID)); 274 folder = invService.GetFolder(new InventoryFolderBase(inventoryEntityID));
275 275
276 if (folder != null & trashFolder != null) 276 if (folder != null & trashFolder != null)
277 { 277 {
@@ -428,7 +428,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Inventory.Transfer
428 428
429 // Fetch from service 429 // Fetch from service
430 // 430 //
431 folder = invService.QueryFolder(folder); 431 folder = invService.GetFolder(folder);
432 if (folder == null) 432 if (folder == null)
433 { 433 {
434 m_log.Debug("[INVENTORY TRANSFER] Can't find folder to give"); 434 m_log.Debug("[INVENTORY TRANSFER] Can't find folder to give");
@@ -458,7 +458,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Inventory.Transfer
458 458
459 // Fetch from service 459 // Fetch from service
460 // 460 //
461 item = invService.QueryItem(item); 461 item = invService.GetItem(item);
462 if (item == null) 462 if (item == null)
463 { 463 {
464 m_log.Debug("[INVENTORY TRANSFER] Can't find item to give"); 464 m_log.Debug("[INVENTORY TRANSFER] Can't find item to give");
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
184 /// <returns>true if the item was successfully deleted</returns> 184 /// <returns>true if the item was successfully deleted</returns>
185 public abstract bool DeleteItem(InventoryItemBase item); 185 public abstract bool DeleteItem(InventoryItemBase item);
186 186
187 public abstract InventoryItemBase QueryItem(InventoryItemBase item); 187 public abstract InventoryItemBase GetItem(InventoryItemBase item);
188 188
189 public abstract InventoryFolderBase QueryFolder(InventoryFolderBase folder); 189 public abstract InventoryFolderBase GetFolder(InventoryFolderBase folder);
190 190
191 /// <summary> 191 /// <summary>
192 /// Does the given user have an inventory structure? 192 /// Does the given user have an inventory structure?
diff --git a/OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory/HGInventoryBroker.cs b/OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory/HGInventoryBroker.cs
index 62b9bed..db4e7f4 100644
--- a/OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory/HGInventoryBroker.cs
+++ b/OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory/HGInventoryBroker.cs
@@ -387,13 +387,13 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Inventory
387 } 387 }
388 } 388 }
389 389
390 public override InventoryItemBase QueryItem(InventoryItemBase item) 390 public override InventoryItemBase GetItem(InventoryItemBase item)
391 { 391 {
392 if (item == null) 392 if (item == null)
393 return null; 393 return null;
394 394
395 if (IsLocalGridUser(item.Owner)) 395 if (IsLocalGridUser(item.Owner))
396 return m_GridService.QueryItem(item); 396 return m_GridService.GetItem(item);
397 else 397 else
398 { 398 {
399 UUID sessionID = GetSessionID(item.Owner); 399 UUID sessionID = GetSessionID(item.Owner);
@@ -402,13 +402,13 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Inventory
402 } 402 }
403 } 403 }
404 404
405 public override InventoryFolderBase QueryFolder(InventoryFolderBase folder) 405 public override InventoryFolderBase GetFolder(InventoryFolderBase folder)
406 { 406 {
407 if (folder == null) 407 if (folder == null)
408 return null; 408 return null;
409 409
410 if (IsLocalGridUser(folder.Owner)) 410 if (IsLocalGridUser(folder.Owner))
411 return m_GridService.QueryFolder(folder); 411 return m_GridService.GetFolder(folder);
412 else 412 else
413 { 413 {
414 UUID sessionID = GetSessionID(folder.Owner); 414 UUID sessionID = GetSessionID(folder.Owner);
diff --git a/OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory/LocalInventoryServiceConnector.cs b/OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory/LocalInventoryServiceConnector.cs
index 6efe903..ccf06d1 100644
--- a/OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory/LocalInventoryServiceConnector.cs
+++ b/OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory/LocalInventoryServiceConnector.cs
@@ -292,14 +292,14 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Inventory
292 return m_InventoryService.DeleteItem(item); 292 return m_InventoryService.DeleteItem(item);
293 } 293 }
294 294
295 public override InventoryItemBase QueryItem(InventoryItemBase item) 295 public override InventoryItemBase GetItem(InventoryItemBase item)
296 { 296 {
297 return m_InventoryService.QueryItem(item); 297 return m_InventoryService.GetItem(item);
298 } 298 }
299 299
300 public override InventoryFolderBase QueryFolder(InventoryFolderBase folder) 300 public override InventoryFolderBase GetFolder(InventoryFolderBase folder)
301 { 301 {
302 return m_InventoryService.QueryFolder(folder); 302 return m_InventoryService.GetFolder(folder);
303 } 303 }
304 304
305 /// <summary> 305 /// <summary>
diff --git a/OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory/RemoteInventoryServiceConnector.cs b/OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory/RemoteInventoryServiceConnector.cs
index f87aab9..4f19573 100644
--- a/OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory/RemoteInventoryServiceConnector.cs
+++ b/OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory/RemoteInventoryServiceConnector.cs
@@ -273,7 +273,7 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Inventory
273 return m_RemoteConnector.DeleteItem(item.Owner.ToString(), item, sessionID); 273 return m_RemoteConnector.DeleteItem(item.Owner.ToString(), item, sessionID);
274 } 274 }
275 275
276 public override InventoryItemBase QueryItem(InventoryItemBase item) 276 public override InventoryItemBase GetItem(InventoryItemBase item)
277 { 277 {
278 if (item == null) 278 if (item == null)
279 return null; 279 return null;
@@ -282,7 +282,7 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Inventory
282 return m_RemoteConnector.QueryItem(item.Owner.ToString(), item, sessionID); 282 return m_RemoteConnector.QueryItem(item.Owner.ToString(), item, sessionID);
283 } 283 }
284 284
285 public override InventoryFolderBase QueryFolder(InventoryFolderBase folder) 285 public override InventoryFolderBase GetFolder(InventoryFolderBase folder)
286 { 286 {
287 if (folder == null) 287 if (folder == null)
288 return null; 288 return null;
diff --git a/OpenSim/Region/CoreModules/World/Permissions/PermissionsModule.cs b/OpenSim/Region/CoreModules/World/Permissions/PermissionsModule.cs
index 8f99395..9c71b41 100644
--- a/OpenSim/Region/CoreModules/World/Permissions/PermissionsModule.cs
+++ b/OpenSim/Region/CoreModules/World/Permissions/PermissionsModule.cs
@@ -966,7 +966,7 @@ namespace OpenSim.Region.CoreModules.World.Permissions
966 if (objectID == UUID.Zero) // User inventory 966 if (objectID == UUID.Zero) // User inventory
967 { 967 {
968 IInventoryService invService = m_scene.InventoryService; 968 IInventoryService invService = m_scene.InventoryService;
969 InventoryItemBase assetRequestItem = invService.QueryItem(new InventoryItemBase(notecard)); 969 InventoryItemBase assetRequestItem = invService.GetItem(new InventoryItemBase(notecard));
970 if (assetRequestItem == null) // Library item 970 if (assetRequestItem == null) // Library item
971 { 971 {
972 assetRequestItem = scene.CommsManager.UserProfileCacheService.LibraryRoot.FindItem(notecard); 972 assetRequestItem = scene.CommsManager.UserProfileCacheService.LibraryRoot.FindItem(notecard);
@@ -1385,7 +1385,7 @@ namespace OpenSim.Region.CoreModules.World.Permissions
1385 if (objectID == UUID.Zero) // User inventory 1385 if (objectID == UUID.Zero) // User inventory
1386 { 1386 {
1387 IInventoryService invService = m_scene.InventoryService; 1387 IInventoryService invService = m_scene.InventoryService;
1388 InventoryItemBase assetRequestItem = invService.QueryItem(new InventoryItemBase(script)); 1388 InventoryItemBase assetRequestItem = invService.GetItem(new InventoryItemBase(script));
1389 if (assetRequestItem == null) // Library item 1389 if (assetRequestItem == null) // Library item
1390 { 1390 {
1391 assetRequestItem = m_scene.CommsManager.UserProfileCacheService.LibraryRoot.FindItem(script); 1391 assetRequestItem = m_scene.CommsManager.UserProfileCacheService.LibraryRoot.FindItem(script);
@@ -1479,7 +1479,7 @@ namespace OpenSim.Region.CoreModules.World.Permissions
1479 if (objectID == UUID.Zero) // User inventory 1479 if (objectID == UUID.Zero) // User inventory
1480 { 1480 {
1481 IInventoryService invService = m_scene.InventoryService; 1481 IInventoryService invService = m_scene.InventoryService;
1482 InventoryItemBase assetRequestItem = invService.QueryItem(new InventoryItemBase(notecard)); 1482 InventoryItemBase assetRequestItem = invService.GetItem(new InventoryItemBase(notecard));
1483 if (assetRequestItem == null) // Library item 1483 if (assetRequestItem == null) // Library item
1484 { 1484 {
1485 assetRequestItem = m_scene.CommsManager.UserProfileCacheService.LibraryRoot.FindItem(notecard); 1485 assetRequestItem = m_scene.CommsManager.UserProfileCacheService.LibraryRoot.FindItem(notecard);