123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206 |
- using System;
- using System.Collections.Generic;
- using OpenSim.Framework;
- using OpenMetaverse;
- namespace OpenSim.Services.Interfaces
- {
-
-
-
- public delegate void InventoryReceiptCallback(
- ICollection<InventoryFolderImpl> folders, ICollection<InventoryItemBase> items);
- public interface IInventoryService
- {
-
-
-
-
-
- bool CreateUserInventory(UUID user);
-
-
-
-
-
- List<InventoryFolderBase> GetInventorySkeleton(UUID userId);
-
-
-
-
-
- [Obsolete]
- InventoryCollection GetUserInventory(UUID userID);
-
-
-
-
-
-
- [Obsolete]
- void GetUserInventory(UUID userID, InventoryReceiptCallback callback);
-
-
-
-
-
- InventoryFolderBase GetRootFolder(UUID userID);
-
-
-
-
-
-
- InventoryFolderBase GetFolderForType(UUID userID, AssetType type);
-
-
-
-
-
-
- InventoryCollection GetFolderContent(UUID userID, UUID folderID);
-
-
-
-
-
-
-
- List<InventoryItemBase> GetFolderItems(UUID userID, UUID folderID);
-
-
-
-
-
- bool AddFolder(InventoryFolderBase folder);
-
-
-
-
-
- bool UpdateFolder(InventoryFolderBase folder);
-
-
-
-
-
- bool MoveFolder(InventoryFolderBase folder);
-
-
-
-
-
-
- bool DeleteFolders(UUID userID, List<UUID> folderIDs);
-
-
-
-
-
- bool PurgeFolder(InventoryFolderBase folder);
-
-
-
-
-
-
-
-
- bool AddItem(InventoryItemBase item);
-
-
-
-
-
- bool UpdateItem(InventoryItemBase item);
- bool MoveItems(UUID ownerID, List<InventoryItemBase> items);
-
-
-
-
-
-
- bool DeleteItems(UUID userID, List<UUID> itemIDs);
-
-
-
-
-
- InventoryItemBase GetItem(InventoryItemBase item);
-
-
-
-
-
- InventoryFolderBase GetFolder(InventoryFolderBase folder);
-
-
-
-
-
- bool HasInventoryForUser(UUID userID);
-
-
-
-
-
- List<InventoryItemBase> GetActiveGestures(UUID userId);
-
-
-
-
-
-
-
-
- int GetAssetPermissions(UUID userID, UUID assetID);
- }
- }
|