first cut of merge of STABLE-pre1_0 into HEAD. I won't even guarantee that it
[mir.git] / source / mircoders / module / ModuleSchwerpunkt.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 mir.entity.*;
19 import mircoders.storage.*;
20 /*
21  *  Feature -
22  *
23  *
24  * @author RK
25  */
26
27 public class ModuleSchwerpunkt extends AbstractModule
28 {
29                 static Logfile theLog;
30
31                 public ModuleSchwerpunkt(StorageObject theStorage) {
32
33                         this.theStorage = theStorage;
34
35         if (theLog == null)
36         theLog = Logfile.getInstance(MirConfig.getProp("Home") + MirConfig.getProp("Module.Schwerpunkt.Logfile"));
37
38                 }
39
40                 public SimpleList getSchwerpunktAsSimpleList()
41       throws ModuleException {
42       try {
43                           return ((DatabaseFeature)theStorage).getPopupData();
44       } catch (StorageObjectException e) {
45         throw new ModuleException(e.toString());
46       }
47                 }
48 }
49
50