Class BirtReportController


public class BirtReportController extends AbstractAdminController
  • Field Details

    • REPORTS_HOME

      public static final File REPORTS_HOME
    • REPORT_TEMPLATES_HOME

      public static final File REPORT_TEMPLATES_HOME
  • Constructor Details

    • BirtReportController

      public BirtReportController(UserContext userContext)
  • Method Details

    • getDefaultInstance

      public static BirtReportController getDefaultInstance()
    • getInstance

      public static BirtReportController getInstance(UserContext userContext)
    • getInstance

      @Deprecated public static BirtReportController getInstance(SessionUser sessionUser)
      Deprecated.
    • getInstance

      @Deprecated public static BirtReportController getInstance(int sessionId)
      Deprecated.
    • copyReports

      public void copyReports(JMapServerProject sourceServerProject, JMapServerProject destinationServerProject)
    • deleteReports

      public void deleteReports(int projectId, int layerId)
      Deletes Birt reports for the specified layer.
      Parameters:
      projectId - the project id.
      layerId - the layer id.
    • deleteReports

      public void deleteReports(int projectId)
      Deletes Birt reports for the specified project.
      Parameters:
      projectId - ProjectId for which the Birt reports will be deleted
    • copyReports

      public void copyReports(JMapServerProject srcProject, JMapServerLayer srcLayer, int destProjectId, int destLayerId)
      Copies the deployed Birt reports of the source layer to the specified project invalid input: '&' layer destination.
    • deleteReports

      public void deleteReports(int projectId, int layerId, String[] fileNames)
      Deletes the specified Birt report file
    • updateReport

      public boolean updateReport(int projectId, int layerId, JMapServerInfoReport report, String[] aTemplates, Hyperlink[] hyperlinks)
    • updateReports

      public void updateReports(int projectId, boolean recreate)
    • updateReports

      public void updateReports(boolean recreate)
    • updateLayerInfoBirtReport

      public boolean updateLayerInfoBirtReport(int projectId, int layerId, JMapServerInfoReport infoRequest, String[] oldFileNames, String[] reportsTemplates) throws Exception
      Throws:
      Exception
    • getBirtReportsTemplates

      public String[] getBirtReportsTemplates(String type)
      Parameters:
      type - single or multiple