--- /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 webdb.servlet.*;
+import webdb.module.*;
+import webdb.entity.*;
+import webdb.misc.*;
+import webdb.storage.*;
+
+import mir.entity.*;
+import mir.storage.*;
+
+
+/*
+ * ModuleComment - methods and access for comments
+ *
+ * @author RK
+ */
+
+public class ModuleComment extends AbstractModule
+{
+ static Logfile theLog;
+
+ // Contructor
+ public ModuleComment(StorageObject theStorage)
+ {
+ if (theLog == null) theLog = Logfile.getInstance(Configuration.getProperty("Home") + Configuration.getProperty("Module.Comment.Logfile"));
+ if (theStorage == null) theLog.printWarning("StorageObject was null!");
+ this.theStorage = theStorage;
+ }
+
+ // Methoden
+ public SimpleList getCommentAsSimpleList() {
+ return ((DatabaseComment)theStorage).getPopupData();
+ }
+}