use of com.evolveum.midpoint.web.session.CertCampaignsStorage in project midpoint by Evolveum.
the class PageCertCampaigns method searchFilterPerformed.
private void searchFilterPerformed(AjaxRequestTarget target) {
CertCampaignsSearchDto dto = searchModel.getObject();
Table panel = getCampaignsTable();
DataTable table = panel.getDataTable();
CertCampaignListItemDtoProvider provider = (CertCampaignListItemDtoProvider) table.getDataProvider();
provider.setQuery(createCampaignsQuery());
table.setCurrentPage(0);
CertCampaignsStorage storage = getSessionStorage().getCertCampaigns();
storage.setCampaignsSearch(dto);
target.add(getFeedbackPanel());
target.add((Component) getCampaignsTable());
}
use of com.evolveum.midpoint.web.session.CertCampaignsStorage in project midpoint by Evolveum.
the class PageCertCampaigns method loadSearchDto.
private CertCampaignsSearchDto loadSearchDto() {
CertCampaignsStorage storage = getSessionStorage().getCertCampaigns();
CertCampaignsSearchDto dto = storage.getCampaignsSearch();
return dto != null ? dto : new CertCampaignsSearchDto();
}
Aggregations