01: /*
02: * snapper
03: *
04: * Enhydra super-servlet specification object
05: *
06: */
07:
08: package org.enhydra.snapperPreviewer.spec;
09:
10: import java.io.OutputStream;
11: import java.sql.Timestamp;
12: import java.util.Properties;
13:
14: import com.lutris.appserver.server.sql.DBTransaction;
15:
16: public interface PreviewBuilder {
17:
18: public String getDocument(String siteName, String id, String query,
19: DBTransaction db, String langpair,
20: boolean toShowcontainerFilesData, int showNumberOf,
21: Properties pictureConversionRequestParm,
22: Properties parserLimitProperties);
23:
24: public String getDocument(String fullFilePath, DBTransaction t,
25: String langpair, boolean toShowcontainerFilesData,
26: int showNumberOf, Properties pictureConversionRequestParm,
27: Properties parserLimitProperties);
28:
29: public String getDocument(String fullFilePath, String query,
30: DBTransaction t, String langpair,
31: boolean toShowcontainerFilesData, int showNumberOf,
32: Properties pictureConversionRequestParm,
33: Properties parserLimitProperties);
34:
35: public void writeResult(String result, OutputStream os);
36:
37: }
|