diff options
author | Diva Canto | 2009-08-13 17:34:15 -0700 |
---|---|---|
committer | Diva Canto | 2009-08-13 17:34:15 -0700 |
commit | 034c9cf606373bfa9d3f8040cd787f789e0efbf2 (patch) | |
tree | f586e4a8247fdf92e730bb7a8c296559e144d0a8 /OpenSim/Services/Interfaces | |
parent | Renamed QueryItem/QueryFolder to GetItem/GetFolder. The word 'query' starting... (diff) | |
download | opensim-SC-034c9cf606373bfa9d3f8040cd787f789e0efbf2.zip opensim-SC-034c9cf606373bfa9d3f8040cd787f789e0efbf2.tar.gz opensim-SC-034c9cf606373bfa9d3f8040cd787f789e0efbf2.tar.bz2 opensim-SC-034c9cf606373bfa9d3f8040cd787f789e0efbf2.tar.xz |
Added GetAssetPermissions. Few last bugs nixed. This is ready for testing.
Diffstat (limited to 'OpenSim/Services/Interfaces')
-rw-r--r-- | OpenSim/Services/Interfaces/IInventoryService.cs | 20 |
1 files changed, 20 insertions, 0 deletions
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 | |||
149 | /// <returns>true if the item was successfully deleted</returns> | 149 | /// <returns>true if the item was successfully deleted</returns> |
150 | bool DeleteItem(InventoryItemBase item); | 150 | bool DeleteItem(InventoryItemBase item); |
151 | 151 | ||
152 | /// <summary> | ||
153 | /// Get an item, given by its UUID | ||
154 | /// </summary> | ||
155 | /// <param name="item"></param> | ||
156 | /// <returns></returns> | ||
152 | InventoryItemBase GetItem(InventoryItemBase item); | 157 | InventoryItemBase GetItem(InventoryItemBase item); |
153 | 158 | ||
159 | /// <summary> | ||
160 | /// Get a folder, given by its UUID | ||
161 | /// </summary> | ||
162 | /// <param name="folder"></param> | ||
163 | /// <returns></returns> | ||
154 | InventoryFolderBase GetFolder(InventoryFolderBase folder); | 164 | InventoryFolderBase GetFolder(InventoryFolderBase folder); |
155 | 165 | ||
156 | /// <summary> | 166 | /// <summary> |
@@ -166,5 +176,15 @@ namespace OpenSim.Services.Interfaces | |||
166 | /// <param name="userId"></param> | 176 | /// <param name="userId"></param> |
167 | /// <returns></returns> | 177 | /// <returns></returns> |
168 | List<InventoryItemBase> GetActiveGestures(UUID userId); | 178 | List<InventoryItemBase> GetActiveGestures(UUID userId); |
179 | |||
180 | /// <summary> | ||
181 | /// Get the union of permissions of all inventory items | ||
182 | /// that hold the given assetID. | ||
183 | /// </summary> | ||
184 | /// <param name="userID"></param> | ||
185 | /// <param name="assetID"></param> | ||
186 | /// <returns>The permissions or 0 if no such asset is found in | ||
187 | /// the user's inventory</returns> | ||
188 | int GetAssetPermissions(UUID userID, UUID assetID); | ||
169 | } | 189 | } |
170 | } | 190 | } |