Package org.apache.ofbiz.birt
Class BirtWorker
java.lang.Object
org.apache.ofbiz.birt.BirtWorker
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
exportReport
(org.eclipse.birt.report.engine.api.IReportRunnable design, Map<String, ? extends Object> context, String contentType, OutputStream output) export reportstatic String
static String
static String
static String
static String
static String
recordReportContent
(Delegator delegator, LocalDispatcher dispatcher, Map<String, Object> context) static void
setLogConfig
(org.eclipse.birt.report.engine.api.EngineConfig config) initialize configuration log with the low level present on debug.propertiesstatic void
setWebContextObjects
(Map<String, Object> appContext, HttpServletRequest request, HttpServletResponse response) set web context objects
-
Method Details
-
exportReport
public static void exportReport(org.eclipse.birt.report.engine.api.IReportRunnable design, Map<String, ? extends Object> context, String contentType, OutputStream output) throws org.eclipse.birt.report.engine.api.EngineException, GeneralException, SQLExceptionexport report- Parameters:
design
-context
-contentType
-output
-- Throws:
org.eclipse.birt.report.engine.api.EngineException
GeneralException
SQLException
-
setWebContextObjects
public static void setWebContextObjects(Map<String, Object> appContext, HttpServletRequest request, HttpServletResponse response) throws GeneralExceptionset web context objects- Parameters:
appContext
-request
-response
-- Throws:
GeneralException
-
getBirtParameters
-
getBirtLocale
-
getBirtImageDirectory
-
getBirtContentType
-
getBirtOutputFileName
-
recordReportContent
public static String recordReportContent(Delegator delegator, LocalDispatcher dispatcher, Map<String, Object> context) throws GeneralException- Throws:
GeneralException
-
setLogConfig
public static void setLogConfig(org.eclipse.birt.report.engine.api.EngineConfig config) initialize configuration log with the low level present on debug.properties- Parameters:
config
-
-