Initial revision
[mir.git] / source / mircoders / module / ModuleTopics.java
1 package mircoders.module;
2
3 import java.io.*;
4 import java.lang.*;
5 import java.util.*;
6 import java.sql.*;
7 import javax.servlet.*;
8 import javax.servlet.http.*;
9
10 import freemarker.template.*;
11
12 import webdb.servlet.*;
13 import webdb.module.*;
14 import webdb.entity.*;
15 import webdb.misc.*;
16 import webdb.storage.*;
17
18 import mir.entity.*;
19 import mir.storage.*;
20
21 /*
22  *  ThemenModule -
23  *
24  *
25  * @author RK
26  */
27
28 public class ModuleTopics extends AbstractModule
29 {
30
31     static Logfile theLog;
32
33     public ModuleTopics(StorageObject theStorage) {
34             this.theStorage = theStorage;
35             if (theLog == null)
36               theLog = Logfile.getInstance(Configuration.getProperty("Home") + Configuration.getProperty("Module.Themen.Logfile"));
37     }
38
39     public SimpleList getTopicsAsSimpleList() {
40             return ((DatabaseTopics)theStorage).getPopupData();
41     }
42
43 }