diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Framework/Data.MapperFactory/DataMapperFactory.cs | 52 | ||||
-rw-r--r-- | OpenSim/Framework/Data/AssetDataBase.cs | 40 | ||||
-rw-r--r-- | OpenSim/Framework/Data/DataStoreBase.cs | 20 | ||||
-rw-r--r-- | OpenSim/Framework/Data/GridDataBase.cs | 44 | ||||
-rw-r--r-- | OpenSim/Framework/Data/InventoryDataBase.cs | 20 | ||||
-rw-r--r-- | OpenSim/Framework/Data/UserDataBase.cs | 58 |
6 files changed, 117 insertions, 117 deletions
diff --git a/OpenSim/Framework/Data.MapperFactory/DataMapperFactory.cs b/OpenSim/Framework/Data.MapperFactory/DataMapperFactory.cs index 27f467f..37b933c 100644 --- a/OpenSim/Framework/Data.MapperFactory/DataMapperFactory.cs +++ b/OpenSim/Framework/Data.MapperFactory/DataMapperFactory.cs | |||
@@ -1,26 +1,26 @@ | |||
1 | using System; | 1 | using System; |
2 | using System.Collections.Generic; | 2 | using System.Collections.Generic; |
3 | using OpenSim.Framework; | 3 | using OpenSim.Framework; |
4 | using OpenSim.Framework.Data; | 4 | using OpenSim.Framework.Data; |
5 | using OpenSim.Framework.Data.Base; | 5 | using OpenSim.Framework.Data.Base; |
6 | using OpenSim.Framework.Data.MySQLMapper; | 6 | using OpenSim.Framework.Data.MySQLMapper; |
7 | 7 | ||
8 | namespace OpenSim.Framework.Data.MapperFactory | 8 | namespace OpenSim.Framework.Data.MapperFactory |
9 | { | 9 | { |
10 | public class DataMapperFactory | 10 | public class DataMapperFactory |
11 | { | 11 | { |
12 | public enum MAPPER_TYPE { | 12 | public enum MAPPER_TYPE { |
13 | MYSQL, | 13 | MYSQL, |
14 | }; | 14 | }; |
15 | 15 | ||
16 | static public BaseDatabaseConnector GetDataBaseMapper(MAPPER_TYPE type, string connectionString) | 16 | static public BaseDatabaseConnector GetDataBaseMapper(MAPPER_TYPE type, string connectionString) |
17 | { | 17 | { |
18 | switch (type) { | 18 | switch (type) { |
19 | case MAPPER_TYPE.MYSQL: | 19 | case MAPPER_TYPE.MYSQL: |
20 | return new MySQLDatabaseMapper(connectionString); | 20 | return new MySQLDatabaseMapper(connectionString); |
21 | default: | 21 | default: |
22 | return null; | 22 | return null; |
23 | } | 23 | } |
24 | } | 24 | } |
25 | } | 25 | } |
26 | } | 26 | } |
diff --git a/OpenSim/Framework/Data/AssetDataBase.cs b/OpenSim/Framework/Data/AssetDataBase.cs index 2162358..0f3044e 100644 --- a/OpenSim/Framework/Data/AssetDataBase.cs +++ b/OpenSim/Framework/Data/AssetDataBase.cs | |||
@@ -1,20 +1,20 @@ | |||
1 | using System; | 1 | using System; |
2 | using System.Collections.Generic; | 2 | using System.Collections.Generic; |
3 | using System.Text; | 3 | using System.Text; |
4 | using libsecondlife; | 4 | using libsecondlife; |
5 | 5 | ||
6 | namespace OpenSim.Framework.Data | 6 | namespace OpenSim.Framework.Data |
7 | { | 7 | { |
8 | public abstract class AssetDataBase : IAssetProvider | 8 | public abstract class AssetDataBase : IAssetProvider |
9 | { | 9 | { |
10 | public abstract AssetBase FetchAsset(LLUUID uuid); | 10 | public abstract AssetBase FetchAsset(LLUUID uuid); |
11 | public abstract void CreateAsset(AssetBase asset); | 11 | public abstract void CreateAsset(AssetBase asset); |
12 | public abstract void UpdateAsset(AssetBase asset); | 12 | public abstract void UpdateAsset(AssetBase asset); |
13 | public abstract bool ExistsAsset(LLUUID uuid); | 13 | public abstract bool ExistsAsset(LLUUID uuid); |
14 | public abstract void CommitAssets(); | 14 | public abstract void CommitAssets(); |
15 | 15 | ||
16 | public abstract string Version { get; } | 16 | public abstract string Version { get; } |
17 | public abstract string Name { get; } | 17 | public abstract string Name { get; } |
18 | public abstract void Initialise(); | 18 | public abstract void Initialise(); |
19 | } | 19 | } |
20 | } | 20 | } |
diff --git a/OpenSim/Framework/Data/DataStoreBase.cs b/OpenSim/Framework/Data/DataStoreBase.cs index 671d0f0..92604f2 100644 --- a/OpenSim/Framework/Data/DataStoreBase.cs +++ b/OpenSim/Framework/Data/DataStoreBase.cs | |||
@@ -1,10 +1,10 @@ | |||
1 | using System; | 1 | using System; |
2 | using System.Collections.Generic; | 2 | using System.Collections.Generic; |
3 | using System.Text; | 3 | using System.Text; |
4 | 4 | ||
5 | namespace OpenSim.Framework.Data | 5 | namespace OpenSim.Framework.Data |
6 | { | 6 | { |
7 | public abstract class DataStoreBase | 7 | public abstract class DataStoreBase |
8 | { | 8 | { |
9 | } | 9 | } |
10 | } | 10 | } |
diff --git a/OpenSim/Framework/Data/GridDataBase.cs b/OpenSim/Framework/Data/GridDataBase.cs index 32a729a..9d6e832 100644 --- a/OpenSim/Framework/Data/GridDataBase.cs +++ b/OpenSim/Framework/Data/GridDataBase.cs | |||
@@ -1,22 +1,22 @@ | |||
1 | using System; | 1 | using System; |
2 | using System.Collections.Generic; | 2 | using System.Collections.Generic; |
3 | using System.Text; | 3 | using System.Text; |
4 | using libsecondlife; | 4 | using libsecondlife; |
5 | 5 | ||
6 | namespace OpenSim.Framework.Data | 6 | namespace OpenSim.Framework.Data |
7 | { | 7 | { |
8 | public abstract class GridDataBase : IGridData | 8 | public abstract class GridDataBase : IGridData |
9 | { | 9 | { |
10 | public abstract RegionProfileData GetProfileByHandle(ulong regionHandle); | 10 | public abstract RegionProfileData GetProfileByHandle(ulong regionHandle); |
11 | public abstract RegionProfileData GetProfileByLLUUID(LLUUID UUID); | 11 | public abstract RegionProfileData GetProfileByLLUUID(LLUUID UUID); |
12 | public abstract RegionProfileData GetProfileByString(string regionName); | 12 | public abstract RegionProfileData GetProfileByString(string regionName); |
13 | public abstract RegionProfileData[] GetProfilesInRange(uint Xmin, uint Ymin, uint Xmax, uint Ymax); | 13 | public abstract RegionProfileData[] GetProfilesInRange(uint Xmin, uint Ymin, uint Xmax, uint Ymax); |
14 | public abstract bool AuthenticateSim(LLUUID UUID, ulong regionHandle, string simrecvkey); | 14 | public abstract bool AuthenticateSim(LLUUID UUID, ulong regionHandle, string simrecvkey); |
15 | public abstract void Initialise(); | 15 | public abstract void Initialise(); |
16 | public abstract void Close(); | 16 | public abstract void Close(); |
17 | public abstract string getName(); | 17 | public abstract string getName(); |
18 | public abstract string getVersion(); | 18 | public abstract string getVersion(); |
19 | public abstract DataResponse AddProfile(RegionProfileData profile); | 19 | public abstract DataResponse AddProfile(RegionProfileData profile); |
20 | public abstract ReservationData GetReservationAtPoint(uint x, uint y); | 20 | public abstract ReservationData GetReservationAtPoint(uint x, uint y); |
21 | } | 21 | } |
22 | } | 22 | } |
diff --git a/OpenSim/Framework/Data/InventoryDataBase.cs b/OpenSim/Framework/Data/InventoryDataBase.cs index d88acff..afddbf1 100644 --- a/OpenSim/Framework/Data/InventoryDataBase.cs +++ b/OpenSim/Framework/Data/InventoryDataBase.cs | |||
@@ -1,10 +1,10 @@ | |||
1 | using System; | 1 | using System; |
2 | using System.Collections.Generic; | 2 | using System.Collections.Generic; |
3 | using System.Text; | 3 | using System.Text; |
4 | 4 | ||
5 | namespace OpenSim.Framework.Data | 5 | namespace OpenSim.Framework.Data |
6 | { | 6 | { |
7 | public abstract class InventoryDataBase | 7 | public abstract class InventoryDataBase |
8 | { | 8 | { |
9 | } | 9 | } |
10 | } | 10 | } |
diff --git a/OpenSim/Framework/Data/UserDataBase.cs b/OpenSim/Framework/Data/UserDataBase.cs index 7a74693..5e0be45 100644 --- a/OpenSim/Framework/Data/UserDataBase.cs +++ b/OpenSim/Framework/Data/UserDataBase.cs | |||
@@ -1,29 +1,29 @@ | |||
1 | using System.Collections.Generic; | 1 | using System.Collections.Generic; |
2 | using libsecondlife; | 2 | using libsecondlife; |
3 | 3 | ||
4 | namespace OpenSim.Framework.Data | 4 | namespace OpenSim.Framework.Data |
5 | { | 5 | { |
6 | public abstract class UserDataBase : IUserData | 6 | public abstract class UserDataBase : IUserData |
7 | { | 7 | { |
8 | public abstract UserProfileData GetUserByUUID(LLUUID user); | 8 | public abstract UserProfileData GetUserByUUID(LLUUID user); |
9 | public abstract UserProfileData GetUserByName(string fname, string lname); | 9 | public abstract UserProfileData GetUserByName(string fname, string lname); |
10 | public abstract UserAgentData GetAgentByUUID(LLUUID user); | 10 | public abstract UserAgentData GetAgentByUUID(LLUUID user); |
11 | public abstract UserAgentData GetAgentByName(string name); | 11 | public abstract UserAgentData GetAgentByName(string name); |
12 | public abstract UserAgentData GetAgentByName(string fname, string lname); | 12 | public abstract UserAgentData GetAgentByName(string fname, string lname); |
13 | public abstract void StoreWebLoginKey(LLUUID agentID, LLUUID webLoginKey); | 13 | public abstract void StoreWebLoginKey(LLUUID agentID, LLUUID webLoginKey); |
14 | public abstract void AddNewUserProfile(UserProfileData user); | 14 | public abstract void AddNewUserProfile(UserProfileData user); |
15 | public abstract bool UpdateUserProfile(UserProfileData user); | 15 | public abstract bool UpdateUserProfile(UserProfileData user); |
16 | public abstract void UpdateUserCurrentRegion(LLUUID avatarid, LLUUID regionuuid); | 16 | public abstract void UpdateUserCurrentRegion(LLUUID avatarid, LLUUID regionuuid); |
17 | public abstract void AddNewUserAgent(UserAgentData agent); | 17 | public abstract void AddNewUserAgent(UserAgentData agent); |
18 | public abstract void AddNewUserFriend(LLUUID friendlistowner, LLUUID friend, uint perms); | 18 | public abstract void AddNewUserFriend(LLUUID friendlistowner, LLUUID friend, uint perms); |
19 | public abstract void RemoveUserFriend(LLUUID friendlistowner, LLUUID friend); | 19 | public abstract void RemoveUserFriend(LLUUID friendlistowner, LLUUID friend); |
20 | public abstract void UpdateUserFriendPerms(LLUUID friendlistowner, LLUUID friend, uint perms); | 20 | public abstract void UpdateUserFriendPerms(LLUUID friendlistowner, LLUUID friend, uint perms); |
21 | public abstract List<FriendListItem> GetUserFriendList(LLUUID friendlistowner); | 21 | public abstract List<FriendListItem> GetUserFriendList(LLUUID friendlistowner); |
22 | public abstract bool MoneyTransferRequest(LLUUID from, LLUUID to, uint amount); | 22 | public abstract bool MoneyTransferRequest(LLUUID from, LLUUID to, uint amount); |
23 | public abstract bool InventoryTransferRequest(LLUUID from, LLUUID to, LLUUID inventory); | 23 | public abstract bool InventoryTransferRequest(LLUUID from, LLUUID to, LLUUID inventory); |
24 | public abstract string GetVersion(); | 24 | public abstract string GetVersion(); |
25 | public abstract string getName(); | 25 | public abstract string getName(); |
26 | public abstract void Initialise(); | 26 | public abstract void Initialise(); |
27 | public abstract List<OpenSim.Framework.AvatarPickerAvatar> GeneratePickerResults(LLUUID queryID, string query); | 27 | public abstract List<OpenSim.Framework.AvatarPickerAvatar> GeneratePickerResults(LLUUID queryID, string query); |
28 | } | 28 | } |
29 | } | 29 | } |