OpenSim
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
NullInventoryData.cs
Go to the documentation of this file.
1 /*
2  * Copyright (c) Contributors, http://opensimulator.org/
3  * See CONTRIBUTORS.TXT for a full list of copyright holders.
4  *
5  * Redistribution and use in source and binary forms, with or without
6  * modification, are permitted provided that the following conditions are met:
7  * * Redistributions of source code must retain the above copyright
8  * notice, this list of conditions and the following disclaimer.
9  * * Redistributions in binary form must reproduce the above copyright
10  * notice, this list of conditions and the following disclaimer in the
11  * documentation and/or other materials provided with the distribution.
12  * * Neither the name of the OpenSimulator Project nor the
13  * names of its contributors may be used to endorse or promote products
14  * derived from this software without specific prior written permission.
15  *
16  * THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS'' AND ANY
17  * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
18  * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
19  * DISCLAIMED. IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY
20  * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
21  * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
22  * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
23  * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
25  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26  */
27 
28 using System;
29 using System.Collections.Generic;
30 
31 using OpenMetaverse;
32 using OpenSim.Framework;
33 
34 namespace OpenSim.Data.Null
35 {
40  {
41  public string Version { get { return "1.0.0.0"; } }
42 
43  public void Initialise()
44  {
45  }
46 
47  public void Dispose()
48  {
49  // Do nothing.
50  }
51 
52  public string Name
53  {
54  get { return "Null Inventory Data Interface"; }
55  }
56 
57  public void Initialise(string connect)
58  {
59  }
60 
61 
67  public List<InventoryFolderBase> getFolderHierarchy(UUID parentID)
68  {
69  return new List<InventoryFolderBase>();
70  }
71 
77  public List<InventoryItemBase> getInventoryInFolder(UUID folderID)
78  {
79  return new List<InventoryItemBase>();
80  }
81 
87  public List<InventoryFolderBase> getUserRootFolders(UUID user)
88  {
89  return new List<InventoryFolderBase>();
90  }
91 
98  {
99  return null;
100  }
101 
107  public List<InventoryFolderBase> getInventoryFolders(UUID parentID)
108  {
109  return new List<InventoryFolderBase>();
110  }
111 
118  {
119  return null;
120  }
121 
128  {
129  return null;
130  }
131 
137  {
138  }
139 
145  {
146  }
147 
152  public void deleteInventoryItem(UUID item)
153  {
154  }
155 
161  {
162  return null;
163  }
164 
170  {
171  return null;
172  }
173 
179  {
180  }
181 
187  {
188  }
189 
195  {
196  }
197 
202  public void deleteInventoryFolder(UUID folder)
203  {
204  }
205 
215  public List<InventoryItemBase> fetchActiveGestures(UUID avatarID)
216  {
217  return new List<InventoryItemBase>();
218  }
219  }
220 }
void moveInventoryFolder(InventoryFolderBase folder)
Updates a folder based on its ID with folder
InventoryFolderBase getInventoryFolder(UUID folder)
Returns a specified inventory folder by its UUID
List< InventoryItemBase > fetchActiveGestures(UUID avatarID)
Returns all activated gesture-items in the inventory of the specified avatar.
void addInventoryFolder(InventoryFolderBase folder)
Adds a new folder specified by folder
List< InventoryItemBase > getInventoryInFolder(UUID folderID)
Returns a list of inventory items contained within the specified folder
void updateInventoryFolder(InventoryFolderBase folder)
Updates a folder based on its ID with folder
List< InventoryFolderBase > getFolderHierarchy(UUID parentID)
Returns all descendent folders of this folder. Does not return the parent folder itself.
void addInventoryItem(InventoryItemBase item)
Creates a new inventory item based on item
InventoryFolderBase getUserRootFolder(UUID user)
Returns the users inventory root folder.
InventoryItemBase getInventoryItem(UUID item)
Returns an inventory item by its UUID
List< InventoryFolderBase > getInventoryFolders(UUID parentID)
Returns a list of inventory folders contained in the folder 'parentID'
void deleteInventoryFolder(UUID folder)
Deletes a folder. Thie will delete both the folder itself and its contents (items and descendent fold...
void updateInventoryItem(InventoryItemBase item)
Updates an inventory item with item (updates based on ID)
Inventory Item - contains all the properties associated with an individual inventory piece...
List< InventoryFolderBase > getUserRootFolders(UUID user)
Returns a list of the root folders within a users inventory
void Initialise()
Default-initialises the plugin
InventoryItemBase queryInventoryItem(UUID item)
InventoryFolderBase queryInventoryFolder(UUID folder)
void Initialise(string connect)
Initialises the interface
This class is completely null.
An interface for accessing inventory data from a storage server