diff options
Diffstat (limited to 'OpenSim/Framework/Communications/IInventoryServices.cs')
-rw-r--r-- | OpenSim/Framework/Communications/IInventoryServices.cs | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/OpenSim/Framework/Communications/IInventoryServices.cs b/OpenSim/Framework/Communications/IInventoryServices.cs index c8a3c85..f7a8857 100644 --- a/OpenSim/Framework/Communications/IInventoryServices.cs +++ b/OpenSim/Framework/Communications/IInventoryServices.cs | |||
@@ -43,62 +43,62 @@ namespace OpenSim.Framework.Communications | |||
43 | public interface IInventoryServices | 43 | public interface IInventoryServices |
44 | { | 44 | { |
45 | /// <summary> | 45 | /// <summary> |
46 | /// Request the inventory for a user. This is an asynchronous operation that will call the callback when the | 46 | /// Request the inventory for a user. This is an asynchronous operation that will call the callback when the |
47 | /// inventory has been received | 47 | /// inventory has been received |
48 | /// </summary> | 48 | /// </summary> |
49 | /// <param name="userID"></param> | 49 | /// <param name="userID"></param> |
50 | /// <param name="callback"></param> | 50 | /// <param name="callback"></param> |
51 | void RequestInventoryForUser(LLUUID userID, InventoryReceiptCallback callback); | 51 | void RequestInventoryForUser(LLUUID userID, InventoryReceiptCallback callback); |
52 | 52 | ||
53 | /// <summary> | 53 | /// <summary> |
54 | /// Add a new folder to the user's inventory | 54 | /// Add a new folder to the user's inventory |
55 | /// </summary> | 55 | /// </summary> |
56 | /// <param name="folder"></param> | 56 | /// <param name="folder"></param> |
57 | /// <returns>true if the folder was successfully added</returns> | 57 | /// <returns>true if the folder was successfully added</returns> |
58 | bool AddFolder(InventoryFolderBase folder); | 58 | bool AddFolder(InventoryFolderBase folder); |
59 | 59 | ||
60 | /// <summary> | 60 | /// <summary> |
61 | /// Move an inventory folder to a new location | 61 | /// Move an inventory folder to a new location |
62 | /// </summary> | 62 | /// </summary> |
63 | /// <param name="folder">A folder containing the details of the new location</param> | 63 | /// <param name="folder">A folder containing the details of the new location</param> |
64 | /// <returns>true if the folder was successfully moved</returns> | 64 | /// <returns>true if the folder was successfully moved</returns> |
65 | bool MoveFolder(InventoryFolderBase folder); | 65 | bool MoveFolder(InventoryFolderBase folder); |
66 | 66 | ||
67 | /// <summary> | 67 | /// <summary> |
68 | /// Purge an inventory folder of all its items and subfolders. | 68 | /// Purge an inventory folder of all its items and subfolders. |
69 | /// </summary> | 69 | /// </summary> |
70 | /// <param name="folder"></param> | 70 | /// <param name="folder"></param> |
71 | /// <returns>true if the folder was successfully purged</returns> | 71 | /// <returns>true if the folder was successfully purged</returns> |
72 | bool PurgeFolder(InventoryFolderBase folder); | 72 | bool PurgeFolder(InventoryFolderBase folder); |
73 | 73 | ||
74 | /// <summary> | 74 | /// <summary> |
75 | /// Add a new item to the user's inventory | 75 | /// Add a new item to the user's inventory |
76 | /// </summary> | 76 | /// </summary> |
77 | /// <param name="item"></param> | 77 | /// <param name="item"></param> |
78 | /// <returns>true if the item was successfully added</returns> | 78 | /// <returns>true if the item was successfully added</returns> |
79 | bool AddItem(InventoryItemBase item); | 79 | bool AddItem(InventoryItemBase item); |
80 | 80 | ||
81 | /// <summary> | 81 | /// <summary> |
82 | /// Update an item in the user's inventory | 82 | /// Update an item in the user's inventory |
83 | /// </summary> | 83 | /// </summary> |
84 | /// <param name="item"></param> | 84 | /// <param name="item"></param> |
85 | /// <returns>true if the item was successfully updated</returns> | 85 | /// <returns>true if the item was successfully updated</returns> |
86 | bool UpdateItem(InventoryItemBase item); | 86 | bool UpdateItem(InventoryItemBase item); |
87 | 87 | ||
88 | /// <summary> | 88 | /// <summary> |
89 | /// Delete an item from the user's inventory | 89 | /// Delete an item from the user's inventory |
90 | /// </summary> | 90 | /// </summary> |
91 | /// <param name="item"></param> | 91 | /// <param name="item"></param> |
92 | /// <returns>true if the item was successfully deleted</returns> | 92 | /// <returns>true if the item was successfully deleted</returns> |
93 | bool DeleteItem(InventoryItemBase item); | 93 | bool DeleteItem(InventoryItemBase item); |
94 | 94 | ||
95 | /// <summary> | 95 | /// <summary> |
96 | /// Create a new inventory for the given user. | 96 | /// Create a new inventory for the given user. |
97 | /// </summary> | 97 | /// </summary> |
98 | /// <param name="user"></param> | 98 | /// <param name="user"></param> |
99 | /// <returns>true if the inventory was successfully created, false otherwise</returns> | 99 | /// <returns>true if the inventory was successfully created, false otherwise</returns> |
100 | bool CreateNewUserInventory(LLUUID user); | 100 | bool CreateNewUserInventory(LLUUID user); |
101 | 101 | ||
102 | bool HasInventoryForUser(LLUUID userID); | 102 | bool HasInventoryForUser(LLUUID userID); |
103 | 103 | ||
104 | /// <summary> | 104 | /// <summary> |
@@ -107,12 +107,12 @@ namespace OpenSim.Framework.Communications | |||
107 | /// <param name="userID"></param> | 107 | /// <param name="userID"></param> |
108 | /// <returns>null if no root folder was found</returns> | 108 | /// <returns>null if no root folder was found</returns> |
109 | InventoryFolderBase RequestRootFolder(LLUUID userID); | 109 | InventoryFolderBase RequestRootFolder(LLUUID userID); |
110 | 110 | ||
111 | /// <summary> | 111 | /// <summary> |
112 | /// Returns a list of all the folders in a given user's inventory. | 112 | /// Returns a list of all the folders in a given user's inventory. |
113 | /// </summary> | 113 | /// </summary> |
114 | /// <param name="userId"></param> | 114 | /// <param name="userId"></param> |
115 | /// <returns>A flat list of the user's inventory folder tree, | 115 | /// <returns>A flat list of the user's inventory folder tree, |
116 | /// null if there is no inventory for this user</returns> | 116 | /// null if there is no inventory for this user</returns> |
117 | List<InventoryFolderBase> GetInventorySkeleton(LLUUID userId); | 117 | List<InventoryFolderBase> GetInventorySkeleton(LLUUID userId); |
118 | } | 118 | } |