C# Class OpenSim.Services.InventoryService.XInventoryService

Inheritance: ServiceBase, IInventoryService
Datei anzeigen Open project: N3X15/VoxelSim

Protected Properties

Property Type Description
m_AllowDelete bool
m_Database IXInventoryData

Public Methods

Method Description
AddFolder ( OpenSim.Framework.InventoryFolderBase folder ) : bool
AddItem ( OpenSim.Framework.InventoryItemBase item ) : bool
CreateUserInventory ( UUID principalID ) : bool
DeleteFolders ( UUID principalID, List folderIDs ) : bool
DeleteItems ( UUID principalID, List itemIDs ) : bool
GetActiveGestures ( UUID principalID ) : List
GetAssetPermissions ( UUID principalID, UUID assetID ) : int
GetFolder ( OpenSim.Framework.InventoryFolderBase folder ) : OpenSim.Framework.InventoryFolderBase
GetFolderContent ( UUID principalID, UUID folderID ) : OpenSim.Framework.InventoryCollection
GetFolderForType ( UUID principalID, AssetType type ) : OpenSim.Framework.InventoryFolderBase
GetFolderItems ( UUID principalID, UUID folderID ) : List
GetInventorySkeleton ( UUID principalID ) : List
GetItem ( OpenSim.Framework.InventoryItemBase item ) : OpenSim.Framework.InventoryItemBase
GetRootFolder ( UUID principalID ) : OpenSim.Framework.InventoryFolderBase
GetUserInventory ( UUID userID ) : OpenSim.Framework.InventoryCollection
GetUserInventory ( UUID userID, InventoryReceiptCallback callback ) : void
HasInventoryForUser ( UUID userID ) : bool
MoveFolder ( OpenSim.Framework.InventoryFolderBase folder ) : bool
MoveItems ( UUID principalID, List items ) : bool
PurgeFolder ( OpenSim.Framework.InventoryFolderBase folder ) : bool
UpdateFolder ( OpenSim.Framework.InventoryFolderBase folder ) : bool
UpdateItem ( OpenSim.Framework.InventoryItemBase item ) : bool
XInventoryService ( IConfigSource config ) : System

Protected Methods

Method Description
ConvertFromOpenSim ( OpenSim.Framework.InventoryFolderBase folder ) : XInventoryFolder
ConvertFromOpenSim ( OpenSim.Framework.InventoryItemBase item ) : XInventoryItem
ConvertToOpenSim ( XInventoryFolder folder ) : OpenSim.Framework.InventoryFolderBase
ConvertToOpenSim ( XInventoryItem item ) : OpenSim.Framework.InventoryItemBase
CreateFolder ( UUID principalID, UUID parentID, int type, string name ) : XInventoryFolder
GetSystemFolders ( UUID principalID ) : OpenSim.Data.XInventoryFolder[]

Private Methods

Method Description
ParentIsTrash ( UUID folderID ) : bool

Method Details

AddFolder() public method

public AddFolder ( OpenSim.Framework.InventoryFolderBase folder ) : bool
folder OpenSim.Framework.InventoryFolderBase
return bool

AddItem() public method

public AddItem ( OpenSim.Framework.InventoryItemBase item ) : bool
item OpenSim.Framework.InventoryItemBase
return bool

ConvertFromOpenSim() protected method

protected ConvertFromOpenSim ( OpenSim.Framework.InventoryFolderBase folder ) : XInventoryFolder
folder OpenSim.Framework.InventoryFolderBase
return OpenSim.Data.XInventoryFolder

ConvertFromOpenSim() protected method

protected ConvertFromOpenSim ( OpenSim.Framework.InventoryItemBase item ) : XInventoryItem
item OpenSim.Framework.InventoryItemBase
return OpenSim.Data.XInventoryItem

ConvertToOpenSim() protected method

protected ConvertToOpenSim ( XInventoryFolder folder ) : OpenSim.Framework.InventoryFolderBase
folder OpenSim.Data.XInventoryFolder
return OpenSim.Framework.InventoryFolderBase

ConvertToOpenSim() protected method

protected ConvertToOpenSim ( XInventoryItem item ) : OpenSim.Framework.InventoryItemBase
item OpenSim.Data.XInventoryItem
return OpenSim.Framework.InventoryItemBase

CreateFolder() protected method

protected CreateFolder ( UUID principalID, UUID parentID, int type, string name ) : XInventoryFolder
principalID UUID
parentID UUID
type int
name string
return OpenSim.Data.XInventoryFolder

CreateUserInventory() public method

public CreateUserInventory ( UUID principalID ) : bool
principalID UUID
return bool

DeleteFolders() public method

public DeleteFolders ( UUID principalID, List folderIDs ) : bool
principalID UUID
folderIDs List
return bool

DeleteItems() public method

public DeleteItems ( UUID principalID, List itemIDs ) : bool
principalID UUID
itemIDs List
return bool

GetActiveGestures() public method

public GetActiveGestures ( UUID principalID ) : List
principalID UUID
return List

GetAssetPermissions() public method

public GetAssetPermissions ( UUID principalID, UUID assetID ) : int
principalID UUID
assetID UUID
return int

GetFolder() public method

public GetFolder ( OpenSim.Framework.InventoryFolderBase folder ) : OpenSim.Framework.InventoryFolderBase
folder OpenSim.Framework.InventoryFolderBase
return OpenSim.Framework.InventoryFolderBase

GetFolderContent() public method

public GetFolderContent ( UUID principalID, UUID folderID ) : OpenSim.Framework.InventoryCollection
principalID UUID
folderID UUID
return OpenSim.Framework.InventoryCollection

GetFolderForType() public method

public GetFolderForType ( UUID principalID, AssetType type ) : OpenSim.Framework.InventoryFolderBase
principalID UUID
type AssetType
return OpenSim.Framework.InventoryFolderBase

GetFolderItems() public method

public GetFolderItems ( UUID principalID, UUID folderID ) : List
principalID UUID
folderID UUID
return List

GetInventorySkeleton() public method

public GetInventorySkeleton ( UUID principalID ) : List
principalID UUID
return List

GetItem() public method

public GetItem ( OpenSim.Framework.InventoryItemBase item ) : OpenSim.Framework.InventoryItemBase
item OpenSim.Framework.InventoryItemBase
return OpenSim.Framework.InventoryItemBase

GetRootFolder() public method

public GetRootFolder ( UUID principalID ) : OpenSim.Framework.InventoryFolderBase
principalID UUID
return OpenSim.Framework.InventoryFolderBase

GetSystemFolders() protected method

protected GetSystemFolders ( UUID principalID ) : OpenSim.Data.XInventoryFolder[]
principalID UUID
return OpenSim.Data.XInventoryFolder[]

GetUserInventory() public method

public GetUserInventory ( UUID userID ) : OpenSim.Framework.InventoryCollection
userID UUID
return OpenSim.Framework.InventoryCollection

GetUserInventory() public method

public GetUserInventory ( UUID userID, InventoryReceiptCallback callback ) : void
userID UUID
callback InventoryReceiptCallback
return void

HasInventoryForUser() public method

public HasInventoryForUser ( UUID userID ) : bool
userID UUID
return bool

MoveFolder() public method

public MoveFolder ( OpenSim.Framework.InventoryFolderBase folder ) : bool
folder OpenSim.Framework.InventoryFolderBase
return bool

MoveItems() public method

public MoveItems ( UUID principalID, List items ) : bool
principalID UUID
items List
return bool

PurgeFolder() public method

public PurgeFolder ( OpenSim.Framework.InventoryFolderBase folder ) : bool
folder OpenSim.Framework.InventoryFolderBase
return bool

UpdateFolder() public method

public UpdateFolder ( OpenSim.Framework.InventoryFolderBase folder ) : bool
folder OpenSim.Framework.InventoryFolderBase
return bool

UpdateItem() public method

public UpdateItem ( OpenSim.Framework.InventoryItemBase item ) : bool
item OpenSim.Framework.InventoryItemBase
return bool

XInventoryService() public method

public XInventoryService ( IConfigSource config ) : System
config IConfigSource
return System

Property Details

m_AllowDelete protected_oe property

protected bool m_AllowDelete
return bool

m_Database protected_oe property

protected IXInventoryData m_Database
return IXInventoryData