4a132e32d81a6d61c9c5b61af53231830d620b78
[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 mir.servlet.*;
13 import mir.module.*;
14 import mir.entity.*;
15 import mir.misc.*;
16 import mir.storage.*;
17
18 import mircoders.storage.*;
19
20 /*
21  *  ThemenModule -
22  *
23  *
24  * @author RK
25  */
26
27 public class ModuleTopics extends AbstractModule
28 {
29
30     static Logfile theLog;
31
32     public ModuleTopics(StorageObject theStorage) {
33             this.theStorage = theStorage;
34             if (theLog == null)
35               theLog = Logfile.getInstance(this.getClass().getName());
36     }
37
38     public SimpleList getTopicsAsSimpleList() {
39             return ((DatabaseTopics)theStorage).getPopupData();
40     }
41
42 }