Package com.kheops.jmap.server
Class BirtReportController
java.lang.Object
com.kheops.jmap.server.AbstractController
com.kheops.jmap.server.AbstractAdminController
com.kheops.jmap.server.BirtReportController
-
Field Summary
Fields inherited from class com.kheops.jmap.server.AbstractAdminController
lastException
Fields inherited from class com.kheops.jmap.server.AbstractController
controllerFactory, server, userContext
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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.void
copyReports
(JMapServerProject sourceServerProject, JMapServerProject destinationServerProject) void
deleteReports
(int projectId) Deletes Birt reports for the specified project.void
deleteReports
(int projectId, int layerId) Deletes Birt reports for the specified layer.void
deleteReports
(int projectId, int layerId, String[] fileNames) Deletes the specified Birt report fileString[]
static BirtReportController
static BirtReportController
getInstance
(int sessionId) Deprecated.static BirtReportController
getInstance
(SessionUser sessionUser) Deprecated.static BirtReportController
getInstance
(UserContext userContext) boolean
updateLayerInfoBirtReport
(int projectId, int layerId, JMapServerInfoReport infoRequest, String[] oldFileNames, String[] reportsTemplates) boolean
updateReport
(int projectId, int layerId, JMapServerInfoReport report, String[] aTemplates, Hyperlink[] hyperlinks) void
updateReports
(boolean recreate) void
updateReports
(int projectId, boolean recreate) Methods inherited from class com.kheops.jmap.server.AbstractAdminController
getCurrentUser, getInstance, getLastException, isCurrentUserSuperAdmin, log, log, moveObjects, moveObjects, reserveId, unreserveId
Methods inherited from class com.kheops.jmap.server.AbstractController
getNextSequenceValue, getSystemDatabase, initializeSequence, isSequenceExists
-
Field Details
-
REPORTS_HOME
-
REPORT_TEMPLATES_HOME
-
-
Constructor Details
-
BirtReportController
-
-
Method Details
-
getDefaultInstance
-
getInstance
-
getInstance
Deprecated. -
getInstance
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
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
- Parameters:
type
- single or multiple
-