use of com.evolveum.midpoint.web.session.ReportsStorage in project midpoint by Evolveum.
the class PageReports method clearSearchPerformed.
private void clearSearchPerformed(AjaxRequestTarget target) {
searchModel.setObject(new ReportSearchDto());
Table panel = getReportTable();
DataTable table = panel.getDataTable();
ObjectDataProvider provider = (ObjectDataProvider) table.getDataProvider();
provider.setQuery(createQuery());
ReportsStorage storage = getSessionStorage().getReports();
storage.setReportSearch(searchModel.getObject());
storage.setPaging(null);
panel.setCurrentPage(null);
target.add((Component) panel);
}
use of com.evolveum.midpoint.web.session.ReportsStorage in project midpoint by Evolveum.
the class PageReports method searchPerformed.
private void searchPerformed(AjaxRequestTarget target) {
ObjectQuery query = createQuery();
ObjectDataProvider provider = getDataProvider();
provider.setQuery(query);
ReportsStorage storage = getSessionStorage().getReports();
storage.setReportSearch(searchModel.getObject());
storage.setPaging(null);
Table table = getReportTable();
table.setCurrentPage(null);
target.add((Component) table);
target.add(getFeedbackPanel());
}
use of com.evolveum.midpoint.web.session.ReportsStorage in project midpoint by Evolveum.
the class PageCreatedReports method refreshTable.
private void refreshTable(AjaxRequestTarget target) {
Table panel = getReportOutputTable();
ReportsStorage storage = getSessionStorage().getReports();
storage.setReportOutputSearch(searchModel.getObject());
storage.setReportOutputsPaging(null);
panel.setCurrentPage(0);
target.add((Component) panel);
target.add(getFeedbackPanel());
}
Aggregations