public class SystemReportsHelper extends Object
| Constructor and Description |
|---|
SystemReportsHelper() |
SystemReportsHelper(SessionInfo sessionInfo) |
| Modifier and Type | Method and Description |
|---|---|
int |
generateReport(String sPath,
String docName,
REPORT_TYPES reportType,
REPORT_FORMATS reportFormat,
String appName,
ReportOverrideOptions reportOverrideOptions)
This method starts the reports generation process
|
void |
generateReportSync(String sPath,
String docName,
String appName,
ReportOverrideOptions reportOverrideOptions)
This method starts the reports generation process
|
static REPORT_FORMATS |
getBiFormatTagFromString(String type)
This method returns the REPORT_FORMAT enum based on the report type string passed
|
static String |
getContentType(String extn)
This method returns the content type based on the extension
|
static String |
getExtensionBasedOnReportFormat(REPORT_FORMATS reportFormat)
This method returns the extension based on the report format
|
String |
getReport(String sPath,
String docName,
REPORT_TYPES reportType,
REPORT_FORMATS reportFormat,
String appName,
ReportOverrideOptions reportOverrideOptions)
This method starts the reports generation process
|
List<String> |
getTemplates(SessionInfo sessionInfo,
REPORT_TYPES reportType,
REPORT_FORMATS reportFormat)
This method enumerates all the templates for a given report format.
|
int |
launchSystemReport(String reportDef,
REPORT_TYPES reportType,
REPORT_FORMATS reportFormat,
ReportOverrideOptions reportOverrideOptions,
String appName,
String httpProtocol,
String httpHost)
This method starts the reports generation process
|
int |
startReport(SessionInfo sessionInfo,
SystemReport report)
This method starts the report generation process
|
public SystemReportsHelper()
throws HFMException
HFMExceptionpublic SystemReportsHelper(SessionInfo sessionInfo) throws HFMException
HFMExceptionpublic List<String> getTemplates(SessionInfo sessionInfo, REPORT_TYPES reportType, REPORT_FORMATS reportFormat) throws HFMException
sessionInfo - SessionInfo objectreportType - Type of system report. IC, Journals, EPU...reportFormat - Report formatHFMExceptionpublic static String getExtensionBasedOnReportFormat(REPORT_FORMATS reportFormat)
reportFormat - Report formatpublic static REPORT_FORMATS getBiFormatTagFromString(String type)
type - Report type stringpublic static String getContentType(String extn)
extn - Extension as a stringpublic int startReport(SessionInfo sessionInfo, SystemReport report) throws HFMException
sessionInfo - SessionInfo Objectreport - Report object. Contains reportDefinition, reportTemplate, outputFormat, reportTypeHFMExceptionpublic int generateReport(String sPath, String docName, REPORT_TYPES reportType, REPORT_FORMATS reportFormat, String appName, ReportOverrideOptions reportOverrideOptions) throws HFMException, Exception
sPath - Path of the document in document managerdocName - Name of the documentreportType - Report typereportFormat - Report FormatappName - Application NamereportOverrideOptions - Report Override Options ObjectHFMExceptionExceptionpublic void generateReportSync(String sPath, String docName, String appName, ReportOverrideOptions reportOverrideOptions) throws HFMException, Exception
sPath - Path of the document in document managerdocName - Name of the documentappName - Application NamereportOverrideOptions - Report Override Options ObjectHFMExceptionExceptionpublic String getReport(String sPath, String docName, REPORT_TYPES reportType, REPORT_FORMATS reportFormat, String appName, ReportOverrideOptions reportOverrideOptions) throws HFMException, Exception
sPath - Path of the document in document managerdocName - Name of the documentappName - Application NamereportOverrideOptions - Report Override Options ObjectHFMExceptionExceptionpublic int launchSystemReport(String reportDef, REPORT_TYPES reportType, REPORT_FORMATS reportFormat, ReportOverrideOptions reportOverrideOptions, String appName, String httpProtocol, String httpHost) throws HFMException
reportDef - Report definition objectreportType - Report type enumreportFormat - Report format enumreportOverrideOptions - Report Override Options ObjectappName - Application namehttpProtocol - HttpProtocolhttpHost - HttpHostHFMExceptionCopyright 2007, 2026, Oracle. All rights reserved.