Class ReportDownloadHelper
java.lang.Object
com.evolveum.midpoint.web.page.admin.reports.ReportDownloadHelper
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateAjaxDownloadBehaviorFromStream
(ReportDataType reportObj, PageBase pageBase) static InputStream
createReport
(ReportDataType report, AjaxDownloadBehaviorFromStream ajaxDownloadBehaviorFromStream, PageBase pageBase) static void
downloadPerformed
(org.apache.wicket.ajax.AjaxRequestTarget target, AjaxDownloadBehaviorFromStream ajaxDownloadBehavior) static String
getReportFileName
(ReportDataType currentReport)
-
Constructor Details
-
ReportDownloadHelper
public ReportDownloadHelper()
-
-
Method Details
-
createAjaxDownloadBehaviorFromStream
public static AjaxDownloadBehaviorFromStream createAjaxDownloadBehaviorFromStream(ReportDataType reportObj, PageBase pageBase) -
getReportFileName
-
createReport
public static InputStream createReport(ReportDataType report, AjaxDownloadBehaviorFromStream ajaxDownloadBehaviorFromStream, PageBase pageBase) -
downloadPerformed
public static void downloadPerformed(org.apache.wicket.ajax.AjaxRequestTarget target, AjaxDownloadBehaviorFromStream ajaxDownloadBehavior)
-