e5e01c69408ef2638d5b835229c995d7b2a56628
[mir.git] / source / mircoders / module / ModuleLinksImcs.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  *  ModuleLinksImcs -
22  *
23  *
24  * @author RK
25  */
26
27 public class ModuleLinksImcs extends AbstractModule
28 {
29
30     static Logfile theLog;
31
32     public ModuleLinksImcs(StorageObject theStorage) {
33             this.theStorage = theStorage;
34             if (theLog == null)
35               theLog = Logfile.getInstance(this.getClass().getName());
36     }
37
38     public SimpleHash getLinksImcsAsSimpleHash() {
39             return ((DatabaseLinksImcs)theStorage).getHashData();
40     }
41
42 }