01: /*
02: * Copyright 2005 Sun Microsystems, Inc. All rights reserved.
03: * PROPRIETARY/CONFIDENTIAL. Use of this product is subject to license terms.
04: */
05: package com.sun.portal.ubt.report.view.report;
06:
07: import com.sun.portal.ubt.report.data.DataMiner;
08: import com.sun.portal.ubt.report.view.IllegalMinerException;
09: import com.sun.portal.ubt.report.view.IllegalDataSourceException;
10:
11: import javax.swing.table.TableModel;
12: import java.util.Map;
13: import java.util.Locale;
14: import java.io.Serializable;
15:
16: import net.sf.jasperreports.engine.JRException;
17: import net.sf.jasperreports.engine.JasperPrint;
18:
19: /**
20: *
21: */
22: public interface UBTReportI extends Serializable {
23: String TABLE_OF_CONTENT = "TableOfContent";
24:
25: String PORTAL_USER_IDENTITY = "PortalUserIdentity";
26: String PORTAL_USER_LOGIN = "PortalUserLogin";
27: String PORTAL_CHANNEL_RENDER = "PortalChannelRender";
28: String PORTAL_CONTAINER_CUSTOMIZATION = "PortalContainerCustomization";
29: String PORTAL_CONTAINER_RENDER = "PortalContainerRender";
30: String PORTAL_USER_CUSTOMIZATION = "PortalUserCustomization";
31: String PORTLET_ACTIONS = "PortletActions";
32: String PORTLET_RENDER = "PortletRender";
33:
34: String PORTAL_USER_IDENTITY_HELP = "./PortalUserIdentityHelp.html";
35: String PORTAL_USER_LOGIN_HELP = "./PortalUserLoginHelp.html";
36: String PORTAL_CHANNEL_RENDER_HELP = "./PortalChannelRenderHelp.html";
37: String PORTAL_CONTAINER_CUSTOMIZATION_HELP = "./PortalContainerCustomizationHelp.html";
38: String PORTAL_CONTAINER_RENDER_HELP = "./PortalContainerRenderHelp.html";
39: String PORTAL_USER_CUSTOMIZATION_HELP = "./PortalUserCustomizationHelp.html";
40: String PORTLET_ACTIONS_HELP = "./PortletActionsHelp.html";
41: String PORTLET_RENDER_HELP = "./PortletRenderHelp.html";
42:
43: String REPORT_LOGO = "logo_sun.gif";
44:
45: String REPORT_LOGO_PROPERTY = "ReportLogo";
46: String REPORT_HELP_LINK_PROPERTY = "ReportHelpLink";
47: String REPORT_TOC_PROPERTY = "TOCReport";
48: String REPORT_PORTAL_ID_PROPERTY = "PortalID";
49: String REPORT_LOCAL_DATE_PROPERTY = "lDate";
50:
51: public String getReportName();
52:
53: public DataMiner[] getDataMiner();
54:
55: public void setDataMiner(DataMiner[] dataMiner);
56:
57: public void setTemplateFolder(String templateFolder);
58:
59: public void setReportFolder(String reportFolder);
60:
61: public void compile() throws JRException;
62:
63: public void fill() throws IllegalMinerException,
64: IllegalDataSourceException, JRException;
65:
66: public JasperPrint getReport() throws IllegalMinerException,
67: JRException, IllegalDataSourceException;
68:
69: public void html() throws JRException;
70:
71: public void setLocale(Locale locale);
72: }
|