X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;ds=inline;f=source%2Fmircoders%2Fstorage%2FDatabaseTopics.java;h=bb13cd3b489f9f88502968172a36a0652f54acc8;hb=d06e23e638f2538f263af76bd32da6b140f20ac6;hp=cc2d4b31d4bdc7605e855d25359825923441c946;hpb=213122e7c65211f549722f05aa8e0135f15af35c;p=mir.git diff --git a/source/mircoders/storage/DatabaseTopics.java b/source/mircoders/storage/DatabaseTopics.java index cc2d4b31..bb13cd3b 100755 --- a/source/mircoders/storage/DatabaseTopics.java +++ b/source/mircoders/storage/DatabaseTopics.java @@ -30,26 +30,19 @@ package mircoders.storage; -import java.util.*; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.Iterator; +import java.util.List; +import java.util.Map; import mir.entity.Entity; import mir.entity.EntityBrowser; import mir.log.LoggerWrapper; import mir.storage.Database; -import mir.storage.StorageObject; -import mir.storage.StorageObjectFailure; +import mir.storage.DatabaseFailure; -/** - * - *
Title:
- *Description:
- *Copyright: Copyright (c) 2003
- *Company:
- * @author not attributable - * @version 1.0 - */ - -public class DatabaseTopics extends Database implements StorageObject{ +public class DatabaseTopics extends Database { private static DatabaseTopics instance; public synchronized static DatabaseTopics getInstance() { @@ -59,7 +52,7 @@ public class DatabaseTopics extends Database implements StorageObject{ return instance; } - private DatabaseTopics() throws StorageObjectFailure { + private DatabaseTopics() throws DatabaseFailure { super(); logger = new LoggerWrapper("Database.Topics"); @@ -68,7 +61,7 @@ public class DatabaseTopics extends Database implements StorageObject{ entityClass = mircoders.entity.EntityTopics.class; } - public List getPopupData() throws StorageObjectFailure { + public List getPopupData() throws DatabaseFailure { List result = new ArrayList(); Iterator i = new EntityBrowser(this, "", "title", 100, -1, 0);