first cut of merge of STABLE-pre1_0 into HEAD. I won't even guarantee that it
[mir.git] / source / mircoders / storage / DatabaseImageType.java
1 package mircoders.storage;
2
3 import java.lang.*;
4 import java.sql.*;
5 import java.io.*;
6 import java.util.*;
7
8 import freemarker.template.*;
9
10 import mir.storage.*;
11 import mir.entity.*;
12 import mir.misc.*;
13
14 /**
15  * <b>Diese Klasse implementiert die Datenbankverbindung zur MetaObjekt-Tabelle
16  *
17  *
18  */
19
20 public class DatabaseImageType extends Database implements StorageObject{
21
22         private static DatabaseImageType instance;
23         private static SimpleList publisherPopupData;
24
25         public static DatabaseImageType getInstance() throws StorageObjectException
26         {
27                 if (instance == null) {
28                         instance = new DatabaseImageType();
29                         instance.myselfDatabase = instance;
30                 }
31                 return instance;
32         }
33
34         private DatabaseImageType() throws StorageObjectException
35         {
36                 super();
37                 this.hasTimestamp = false;
38                 this.theTable="img_type";
39         }
40
41         public SimpleList getPopupData()
42         throws StorageObjectException { return getPopupData("name",true); }
43
44
45 }