From 47256cebda8f6519ab09fe66b64deb28f0702042 Mon Sep 17 00:00:00 2001 From: lbsa71 Date: Mon, 24 Sep 2007 01:31:00 +0000 Subject: * Renamed methods on IUserData --- OpenSim/Framework/Data.SQLite/SQLiteUserData.cs | 34 ++++++++++++------------- 1 file changed, 17 insertions(+), 17 deletions(-) (limited to 'OpenSim/Framework/Data.SQLite/SQLiteUserData.cs') diff --git a/OpenSim/Framework/Data.SQLite/SQLiteUserData.cs b/OpenSim/Framework/Data.SQLite/SQLiteUserData.cs index 76be89c..3a13ecc 100644 --- a/OpenSim/Framework/Data.SQLite/SQLiteUserData.cs +++ b/OpenSim/Framework/Data.SQLite/SQLiteUserData.cs @@ -76,7 +76,7 @@ namespace OpenSim.Framework.Data.SQLite /// /// The users UUID /// A user profile - public UserProfileData getUserByUUID(LLUUID uuid) + public UserProfileData GetUserByUUID(LLUUID uuid) { lock (ds) { DataRow row = ds.Tables["users"].Rows.Find(uuid); @@ -98,9 +98,9 @@ namespace OpenSim.Framework.Data.SQLite /// /// The users account name /// A matching users profile - public UserProfileData getUserByName(string name) + public UserProfileData GetUserByName(string name) { - return getUserByName(name.Split(' ')[0], name.Split(' ')[1]); + return GetUserByName(name.Split(' ')[0], name.Split(' ')[1]); } /// @@ -109,7 +109,7 @@ namespace OpenSim.Framework.Data.SQLite /// The first part of the users account name /// The second part of the users account name /// A matching users profile - public UserProfileData getUserByName(string fname, string lname) + public UserProfileData GetUserByName(string fname, string lname) { string select = "surname = '" + lname + "' and username = '" + fname + "'"; lock (ds) { @@ -132,11 +132,11 @@ namespace OpenSim.Framework.Data.SQLite /// /// The users account ID /// A matching users profile - public UserAgentData getAgentByUUID(LLUUID uuid) + public UserAgentData GetAgentByUUID(LLUUID uuid) { try { - return getUserByUUID(uuid).currentAgent; + return GetUserByUUID(uuid).currentAgent; } catch (Exception) { @@ -149,9 +149,9 @@ namespace OpenSim.Framework.Data.SQLite /// /// The account name /// The users session agent - public UserAgentData getAgentByName(string name) + public UserAgentData GetAgentByName(string name) { - return getAgentByName(name.Split(' ')[0], name.Split(' ')[1]); + return GetAgentByName(name.Split(' ')[0], name.Split(' ')[1]); } /// @@ -160,11 +160,11 @@ namespace OpenSim.Framework.Data.SQLite /// The first part of the users account name /// The second part of the users account name /// A user agent - public UserAgentData getAgentByName(string fname, string lname) + public UserAgentData GetAgentByName(string fname, string lname) { try { - return getUserByName(fname,lname).currentAgent; + return GetUserByName(fname,lname).currentAgent; } catch (Exception) { @@ -176,7 +176,7 @@ namespace OpenSim.Framework.Data.SQLite /// Creates a new user profile /// /// The profile to add to the database - public void addNewUserProfile(UserProfileData user) + public void AddNewUserProfile(UserProfileData user) { DataTable users = ds.Tables["users"]; lock (ds) { @@ -217,10 +217,10 @@ namespace OpenSim.Framework.Data.SQLite /// /// The profile to add to the database /// True on success, false on error - public bool updateUserProfile(UserProfileData user) + public bool UpdateUserProfile(UserProfileData user) { try { - addNewUserProfile(user); + AddNewUserProfile(user); return true; } catch (Exception) { return false; @@ -231,7 +231,7 @@ namespace OpenSim.Framework.Data.SQLite /// Creates a new user agent /// /// The agent to add to the database - public void addNewUserAgent(UserAgentData agent) + public void AddNewUserAgent(UserAgentData agent) { // Do nothing. yet. } @@ -243,7 +243,7 @@ namespace OpenSim.Framework.Data.SQLite /// End account /// The amount to move /// Success? - public bool moneyTransferRequest(LLUUID from, LLUUID to, uint amount) + public bool MoneyTransferRequest(LLUUID from, LLUUID to, uint amount) { return true; } @@ -256,7 +256,7 @@ namespace OpenSim.Framework.Data.SQLite /// Recievers account /// Inventory item /// Success? - public bool inventoryTransferRequest(LLUUID from, LLUUID to, LLUUID item) + public bool InventoryTransferRequest(LLUUID from, LLUUID to, LLUUID item) { return true; } @@ -274,7 +274,7 @@ namespace OpenSim.Framework.Data.SQLite /// Returns the version of the storage provider /// /// Storage provider version - public string getVersion() + public string GetVersion() { return "0.1"; } -- cgit v1.1