01: package com.sun.portal.ubt.admin.mbeans;
02:
03: import com.sun.portal.admin.common.PSMBeanException;
04: import com.sun.portal.ubt.report.view.IllegalMinerException;
05: import com.sun.portal.ubt.report.server.UBTReportGeneratorException;
06:
07: import java.util.Hashtable;
08: import java.util.Locale;
09:
10: /**
11: * This Mbean is responsible for aggregated report for distributed portal instances.
12: */
13: public interface UBTReportAggregatorMBean {
14: /**
15: * Generate UBT Report. If no reportName is given,
16: * it generates all the UBT reports
17: *
18: * @param reportName
19: * @param locale Client locale
20: * @throws PSMBeanException
21: */
22: public Object generateUBTReport(String reportName, Locale locale)
23: throws PSMBeanException, IllegalMinerException,
24: UBTReportGeneratorException;
25:
26: /**
27: * Generate UBT Report. If no reportName is given,
28: * it generates all the UBT reports, else all the reports that are specified are generated
29: * @param reportNames Array of reports to be generated
30: * @param locale Client locale
31: * @return
32: * @throws PSMBeanException
33: */
34: public Object generateUBTReport(String[] reportNames, Locale locale)
35: throws PSMBeanException, IllegalMinerException,
36: UBTReportGeneratorException;
37:
38: }
|