aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/AssetDataBase.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Data/AssetDataBase.cs')
-rw-r--r--OpenSim/Data/AssetDataBase.cs11
1 files changed, 10 insertions, 1 deletions
diff --git a/OpenSim/Data/AssetDataBase.cs b/OpenSim/Data/AssetDataBase.cs
index d699f17..e67d9cb 100644
--- a/OpenSim/Data/AssetDataBase.cs
+++ b/OpenSim/Data/AssetDataBase.cs
@@ -25,7 +25,10 @@
25 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 */ 26 */
27 27
28using System;
28using System.Collections.Generic; 29using System.Collections.Generic;
30using System.Text;
31using System.Text.RegularExpressions;
29using OpenMetaverse; 32using OpenMetaverse;
30using OpenSim.Framework; 33using OpenSim.Framework;
31 34
@@ -33,7 +36,13 @@ namespace OpenSim.Data
33{ 36{
34 public abstract class AssetDataBase : IAssetDataPlugin 37 public abstract class AssetDataBase : IAssetDataPlugin
35 { 38 {
36 public abstract AssetBase FetchAsset(UUID uuid); 39 public virtual AssetBase FetchAsset(UUID uuid)
40 {
41 return FetchStoredAsset(uuid);
42 }
43
44 protected abstract AssetBase FetchStoredAsset(UUID uuid);
45
37 public abstract void CreateAsset(AssetBase asset); 46 public abstract void CreateAsset(AssetBase asset);
38 public abstract void UpdateAsset(AssetBase asset); 47 public abstract void UpdateAsset(AssetBase asset);
39 public abstract bool ExistsAsset(UUID uuid); 48 public abstract bool ExistsAsset(UUID uuid);