aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/MySQL/MySQLInventoryData.cs
diff options
context:
space:
mode:
authorJeff Ames2008-06-26 01:12:28 +0000
committerJeff Ames2008-06-26 01:12:28 +0000
commit8a0a0f9bb563f2cb7ec823587e13e3f4483d3a68 (patch)
tree2891fe56398b57e5e9a78fffea9f01c171594bf8 /OpenSim/Data/MySQL/MySQLInventoryData.cs
parentSeparate POS classes into mutiple files. (diff)
downloadopensim-SC_OLD-8a0a0f9bb563f2cb7ec823587e13e3f4483d3a68.zip
opensim-SC_OLD-8a0a0f9bb563f2cb7ec823587e13e3f4483d3a68.tar.gz
opensim-SC_OLD-8a0a0f9bb563f2cb7ec823587e13e3f4483d3a68.tar.bz2
opensim-SC_OLD-8a0a0f9bb563f2cb7ec823587e13e3f4483d3a68.tar.xz
Add patch from bug #1596 - adds Doxygen documentation in OpenSim.Data.MySQL files. Thanks kerunix_Flan!
Diffstat (limited to 'OpenSim/Data/MySQL/MySQLInventoryData.cs')
-rw-r--r--OpenSim/Data/MySQL/MySQLInventoryData.cs31
1 files changed, 29 insertions, 2 deletions
diff --git a/OpenSim/Data/MySQL/MySQLInventoryData.cs b/OpenSim/Data/MySQL/MySQLInventoryData.cs
index de0826f..2d93df3 100644
--- a/OpenSim/Data/MySQL/MySQLInventoryData.cs
+++ b/OpenSim/Data/MySQL/MySQLInventoryData.cs
@@ -48,6 +48,13 @@ namespace OpenSim.Data.MySQL
48 /// </summary> 48 /// </summary>
49 private MySQLManager database; 49 private MySQLManager database;
50 50
51 /// <summary>
52 /// Initialises User interface
53 /// Loads and initialises the MySQL storage plugin
54 /// warns and uses the obsolete mysql_connection.ini if connect string is empty.
55 /// Check for migration
56 /// </summary>
57 /// <param name="connect">connect string.</param>
51 public void Initialise(string connect) 58 public void Initialise(string connect)
52 { 59 {
53 if (connect != String.Empty) 60 if (connect != String.Empty)
@@ -162,6 +169,7 @@ namespace OpenSim.Data.MySQL
162 /// <summary> 169 /// <summary>
163 /// Closes this DB provider 170 /// Closes this DB provider
164 /// </summary> 171 /// </summary>
172 /// <remarks>do nothing</remarks>
165 public void Close() 173 public void Close()
166 { 174 {
167 // Do nothing. 175 // Do nothing.
@@ -250,7 +258,12 @@ namespace OpenSim.Data.MySQL
250 } 258 }
251 } 259 }
252 260
253 // see InventoryItemBase.getUserRootFolder 261
262 /// <summary>
263 /// see InventoryItemBase.getUserRootFolder
264 /// </summary>
265 /// <param name="user"></param>
266 /// <returns></returns>
254 public InventoryFolderBase getUserRootFolder(LLUUID user) 267 public InventoryFolderBase getUserRootFolder(LLUUID user)
255 { 268 {
256 try 269 try
@@ -595,6 +608,7 @@ namespace OpenSim.Data.MySQL
595 addInventoryFolder(folder); 608 addInventoryFolder(folder);
596 } 609 }
597 610
611 /// <summary>
598 /// Creates a new inventory folder 612 /// Creates a new inventory folder
599 /// </summary> 613 /// </summary>
600 /// <param name="folder">Folder to create</param> 614 /// <param name="folder">Folder to create</param>
@@ -633,7 +647,12 @@ namespace OpenSim.Data.MySQL
633 folders.Add(f); 647 folders.Add(f);
634 } 648 }
635 649
636 // See IInventoryData 650
651 /// <summary>
652 /// See IInventoryData
653 /// </summary>
654 /// <param name="parentID"></param>
655 /// <returns></returns>
637 public List<InventoryFolderBase> getFolderHierarchy(LLUUID parentID) 656 public List<InventoryFolderBase> getFolderHierarchy(LLUUID parentID)
638 { 657 {
639 List<InventoryFolderBase> folders = new List<InventoryFolderBase>(); 658 List<InventoryFolderBase> folders = new List<InventoryFolderBase>();
@@ -645,6 +664,10 @@ namespace OpenSim.Data.MySQL
645 return folders; 664 return folders;
646 } 665 }
647 666
667 /// <summary>
668 /// Delete a folder from database
669 /// </summary>
670 /// <param name="folderID">the folder UUID</param>
648 protected void deleteOneFolder(LLUUID folderID) 671 protected void deleteOneFolder(LLUUID folderID)
649 { 672 {
650 try 673 try
@@ -665,6 +688,10 @@ namespace OpenSim.Data.MySQL
665 } 688 }
666 } 689 }
667 690
691 /// <summary>
692 /// Delete all item in a folder
693 /// </summary>
694 /// <param name="folderID">the folder UUID</param>
668 protected void deleteItemsInFolder(LLUUID folderID) 695 protected void deleteItemsInFolder(LLUUID folderID)
669 { 696 {
670 try 697 try