1 package mircoders.storage;
8 import freemarker.template.*;
10 import webdb.storage.*;
11 import webdb.entity.*;
15 * <b>Diese Klasse implementiert die Datenbankverbindung zur MetaObjekt-Tabelle
20 public class DatabaseTopics extends Database implements StorageObject{
22 private static DatabaseTopics instance;
24 public static DatabaseTopics getInstance() throws StorageObjectException {
25 if (instance == null) {
26 instance = new DatabaseTopics();
27 instance.myselfDatabase = instance;
32 private DatabaseTopics() throws StorageObjectException
35 this.cache = new HashMap();
36 this.hasTimestamp = false;
37 this.theTable="topic";
39 this.theEntityClass = Class.forName("mir.entity.EntityTopics");
42 throw new StorageObjectException(e.toString());
47 public SimpleList getPopupData() {
48 return getPopupData("title",true);