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.DB4o/DB4oUserData.cs | 32 ++++++++++++++--------------- 1 file changed, 16 insertions(+), 16 deletions(-) (limited to 'OpenSim/Framework/Data.DB4o/DB4oUserData.cs') diff --git a/OpenSim/Framework/Data.DB4o/DB4oUserData.cs b/OpenSim/Framework/Data.DB4o/DB4oUserData.cs index 402cf24..2ab1488 100644 --- a/OpenSim/Framework/Data.DB4o/DB4oUserData.cs +++ b/OpenSim/Framework/Data.DB4o/DB4oUserData.cs @@ -55,7 +55,7 @@ namespace OpenSim.Framework.Data.DB4o /// /// The users UUID /// A user profile - public UserProfileData getUserByUUID(LLUUID uuid) + public UserProfileData GetUserByUUID(LLUUID uuid) { if(manager.userProfiles.ContainsKey(uuid)) return manager.userProfiles[uuid]; @@ -67,9 +67,9 @@ namespace OpenSim.Framework.Data.DB4o /// /// 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]); } /// @@ -78,7 +78,7 @@ namespace OpenSim.Framework.Data.DB4o /// 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) { foreach (UserProfileData profile in manager.userProfiles.Values) { @@ -93,11 +93,11 @@ namespace OpenSim.Framework.Data.DB4o /// /// 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) { @@ -110,9 +110,9 @@ namespace OpenSim.Framework.Data.DB4o /// /// 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]); } /// @@ -121,11 +121,11 @@ namespace OpenSim.Framework.Data.DB4o /// 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) { @@ -137,7 +137,7 @@ namespace OpenSim.Framework.Data.DB4o /// Creates a new user profile /// /// The profile to add to the database - public void addNewUserProfile(UserProfileData user) + public void AddNewUserProfile(UserProfileData user) { try { @@ -154,7 +154,7 @@ namespace OpenSim.Framework.Data.DB4o /// /// The profile to add to the database /// True on success, false on error - public bool updateUserProfile(UserProfileData user) + public bool UpdateUserProfile(UserProfileData user) { try { return manager.UpdateRecord(user); @@ -170,7 +170,7 @@ namespace OpenSim.Framework.Data.DB4o /// 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. } @@ -182,7 +182,7 @@ namespace OpenSim.Framework.Data.DB4o /// 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; } @@ -195,7 +195,7 @@ namespace OpenSim.Framework.Data.DB4o /// 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; } @@ -213,7 +213,7 @@ namespace OpenSim.Framework.Data.DB4o /// Returns the version of the storage provider /// /// Storage provider version - public string getVersion() + public string GetVersion() { return "0.1"; } -- cgit v1.1