diff options
Diffstat (limited to 'OpenSim/Data/AssetDataBase.cs')
-rw-r--r-- | OpenSim/Data/AssetDataBase.cs | 11 |
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 | ||
28 | using System; | ||
28 | using System.Collections.Generic; | 29 | using System.Collections.Generic; |
30 | using System.Text; | ||
31 | using System.Text.RegularExpressions; | ||
29 | using OpenMetaverse; | 32 | using OpenMetaverse; |
30 | using OpenSim.Framework; | 33 | using 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); |