01: /*
02: * JFolder, Copyright 2001-2006 Gary Steinmetz
03: *
04: * Distributable under LGPL license.
05: * See terms of license at gnu.org.
06: */
07:
08: package org.jfolder.console.web.admin.audit;
09:
10: //base classes
11: import java.io.IOException;
12: import java.util.ArrayList;
13: import java.util.HashMap;
14:
15: //project specific classes
16: import org.jfolder.common.tagging.ConceptRollupTag;
17: import org.jfolder.common.utils.misc.MiscHelper;
18: import org.jfolder.common.utils.xml.XMLHelper;
19: import org.jfolder.common.web.template.SubmitActionContext;
20: import org.jfolder.common.web.template.SubmitActionParameters;
21: import org.jfolder.console.base.ConsolePageContext;
22: import org.jfolder.console.base.ConsolePageParameters;
23: import org.jfolder.console.base.ConsolePageSession;
24: import org.jfolder.services.workflow.WorkflowServiceCaller;
25: import org.jfolder.services.workflow.WorkflowServiceCallerFactory;
26:
27: //other classes
28:
29: public class AuditViewContext extends ConsolePageContext {
30:
31: private AuditViewContext(ConsolePageSession inCps) {
32: super (inCps);
33: }
34:
35: public final static AuditViewContext newInstance(
36: ConsolePageSession inCps) {
37:
38: AuditViewContext outValue = null;
39:
40: outValue = new AuditViewContext(inCps);
41:
42: return outValue;
43: }
44:
45: public String getFromPage() {
46: //
47: //
48: return ConsolePageParameters.SERVLET_AUDIT_VIEW;
49: }
50:
51: public String getHandleExtension() {
52: return NULL_HANDLE;
53: }
54:
55: //ConsoleScreenHelper
56: protected void renderConsolePage() throws IOException {
57:
58: startCommonPage();
59:
60: ConsolePageSession cs = getConsolePageSession();
61:
62: //
63: startEnclosingTableAndRowAndCell(alignCenter(null));
64: startAndEndStretchTableAndRowAndCell("<hr/>");
65: //
66: startAndEndSimpleTableAndRowAndCell(2, "JFolder Console",
67: getFontStyle(20, ARIAL, BLACK));
68:
69: startAndEndStretchTableAndRowAndCell("<hr/>");
70: //
71: endEnclosingTableAndRowAndCell();
72:
73: endCommonPage();
74: }
75:
76: }
|