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 DatabaseImageFormat extends Database implements StorageObject{
22 private static DatabaseImageFormat instance;
23 private static SimpleList publisherPopupData;
25 public static DatabaseImageFormat getInstance() throws StorageObjectException
27 if (instance == null) {
28 instance = new DatabaseImageFormat();
29 instance.myselfDatabase = instance;
34 private DatabaseImageFormat() throws StorageObjectException
37 this.hasTimestamp = false;
38 this.theTable="img_format";
39 try { this.theEntityClass = Class.forName("mir.entity.EntityImageFormat"); }
40 catch (Exception e) { throw new StorageObjectException(e.toString()); }
43 public SimpleList getPopupData() { return getPopupData("name",true); }