Class BirtWorker

java.lang.Object
org.apache.ofbiz.birt.BirtWorker

public final class BirtWorker extends Object
  • 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, SQLException
      export 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 GeneralException
      set web context objects
      Parameters:
      appContext -
      request -
      response -
      Throws:
      GeneralException
    • getBirtParameters

      public static String getBirtParameters()
    • getBirtLocale

      public static String getBirtLocale()
    • getBirtImageDirectory

      public static String getBirtImageDirectory()
    • getBirtContentType

      public static String getBirtContentType()
    • getBirtOutputFileName

      public static String 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 -