--- /dev/null
+package mircoders.module;
+
+import java.io.*;
+import java.lang.*;
+import java.util.*;
+import java.sql.*;
+import javax.servlet.*;
+import javax.servlet.http.*;
+
+import freemarker.template.*;
+
+import mir.servlet.*;
+import mir.module.*;
+import mir.entity.*;
+import mir.misc.*;
+import mir.storage.*;
+
+import mircoders.storage.*;
+
+/*
+ * ModuleImcs -
+ *
+ *
+ * @author RK
+ */
+
+public class ModuleImcs extends AbstractModule
+{
+
+ static Logfile theLog;
+
+ public ModuleImcs(StorageObject theStorage) {
+ this.theStorage = theStorage;
+ if (theLog == null)
+ theLog = Logfile.getInstance(Configuration.getProperty("Home") + Configuration.getProperty("Module.Imcs.Logfile"));
+ }
+
+ public SimpleList getImcsAsSimpleList() {
+ return ((DatabaseImcs)theStorage).getPopupData();
+ }
+
+}
--- /dev/null
+package mircoders.storage;
+
+import java.lang.*;
+import java.sql.*;
+import java.io.*;
+import java.util.*;
+
+import freemarker.template.*;
+
+import mir.storage.*;
+import mir.entity.*;
+import mir.misc.*;
+
+/**
+ * <b>Diese Klasse implementiert die Datenbankverbindung zur MetaObjekt-Tabelle
+ *
+ *
+ */
+
+public class DatabaseImcs extends Database implements StorageObject{
+
+ private static DatabaseImcs instance;
+
+ public static DatabaseImcs getInstance() throws StorageObjectException {
+ if (instance == null) {
+ instance = new DatabaseImcs();
+ instance.myselfDatabase = instance;
+ }
+ return instance;
+ }
+
+ private DatabaseImcs() throws StorageObjectException
+ {
+ super();
+ this.cache = new HashMap();
+ this.hasTimestamp = false;
+ this.theTable="imc";
+ try {
+ this.theEntityClass = Class.forName("mircoders.entity.EntityImcs");
+ }
+ catch (Exception e) {
+ throw new StorageObjectException(e.toString());
+ }
+
+ }
+
+ public SimpleList getPopupData() {
+ return getPopupData("title",true);
+ }
+
+
+
+}