aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/Interfaces
diff options
context:
space:
mode:
authordiva2009-06-08 03:09:24 +0000
committerdiva2009-06-08 03:09:24 +0000
commit16d50032741925c34176da0cca153e7b7de6e325 (patch)
treea6dca99e7ce2537dbe45a2c759fd6941890f92dd /OpenSim/Services/Interfaces
parentFirst draft of inventory service connectors, and service implementation. No h... (diff)
downloadopensim-SC_OLD-16d50032741925c34176da0cca153e7b7de6e325.zip
opensim-SC_OLD-16d50032741925c34176da0cca153e7b7de6e325.tar.gz
opensim-SC_OLD-16d50032741925c34176da0cca153e7b7de6e325.tar.bz2
opensim-SC_OLD-16d50032741925c34176da0cca153e7b7de6e325.tar.xz
Added more functions to IInventoryService. Unsure about whether all of these are really necessary.
Diffstat (limited to 'OpenSim/Services/Interfaces')
-rw-r--r--OpenSim/Services/Interfaces/IInventoryService.cs35
1 files changed, 35 insertions, 0 deletions
diff --git a/OpenSim/Services/Interfaces/IInventoryService.cs b/OpenSim/Services/Interfaces/IInventoryService.cs
index 9fe419f..8757744 100644
--- a/OpenSim/Services/Interfaces/IInventoryService.cs
+++ b/OpenSim/Services/Interfaces/IInventoryService.cs
@@ -41,6 +41,27 @@ namespace OpenSim.Services.Interfaces
41 public interface IInventoryService 41 public interface IInventoryService
42 { 42 {
43 /// <summary> 43 /// <summary>
44 /// Create the entire inventory for a given user
45 /// </summary>
46 /// <param name="user"></param>
47 /// <returns></returns>
48 bool CreateUserInventory(UUID user);
49
50 /// <summary>
51 /// Gets the skeleton of the inventory -- folders only
52 /// </summary>
53 /// <param name="userId"></param>
54 /// <returns></returns>
55 List<InventoryFolderBase> GetInventorySkeleton(UUID userId);
56
57 /// <summary>
58 /// Synchronous inventory fetch.
59 /// </summary>
60 /// <param name="userID"></param>
61 /// <returns></returns>
62 InventoryCollection GetUserInventory(UUID userID);
63
64 /// <summary>
44 /// Request the inventory for a user. This is an asynchronous operation that will call the callback when the 65 /// Request the inventory for a user. This is an asynchronous operation that will call the callback when the
45 /// inventory has been received 66 /// inventory has been received
46 /// </summary> 67 /// </summary>
@@ -49,6 +70,13 @@ namespace OpenSim.Services.Interfaces
49 void GetUserInventory(UUID userID, InventoryReceiptCallback callback); 70 void GetUserInventory(UUID userID, InventoryReceiptCallback callback);
50 71
51 /// <summary> 72 /// <summary>
73 /// Gets the items inside a folder
74 /// </summary>
75 /// <param name="folderID"></param>
76 /// <returns></returns>
77 List<InventoryItemBase> GetFolderItems(UUID folderID);
78
79 /// <summary>
52 /// Add a new folder to the user's inventory 80 /// Add a new folder to the user's inventory
53 /// </summary> 81 /// </summary>
54 /// <param name="folder"></param> 82 /// <param name="folder"></param>
@@ -114,5 +142,12 @@ namespace OpenSim.Services.Interfaces
114 /// <param name="userID"></param> 142 /// <param name="userID"></param>
115 /// <returns>null if no root folder was found</returns> 143 /// <returns>null if no root folder was found</returns>
116 InventoryFolderBase RequestRootFolder(UUID userID); 144 InventoryFolderBase RequestRootFolder(UUID userID);
145
146 /// <summary>
147 /// Get the active gestures of the agent.
148 /// </summary>
149 /// <param name="userId"></param>
150 /// <returns></returns>
151 List<InventoryItemBase> GetActiveGestures(UUID userId);
117 } 152 }
118} 153}