use of com.evolveum.midpoint.web.page.admin.server.PageTasks in project midpoint by Evolveum.
the class ResourceContentPanel method redirectToTasksListPage.
private void redirectToTasksListPage(ObjectQuery tasksQuery, String archetypeOid) {
String taskCollectionViewName = getTaskCollectionViewNameByArchetypeOid(archetypeOid);
PageParameters pageParameters = new PageParameters();
if (StringUtils.isNotEmpty(taskCollectionViewName)) {
pageParameters.add(PageBase.PARAMETER_OBJECT_COLLECTION_NAME, taskCollectionViewName);
PageTasks pageTasks = new PageTasks(tasksQuery, pageParameters);
getPageBase().setResponsePage(pageTasks);
} else {
PageTasks pageTasks = new PageTasks(tasksQuery, pageParameters);
getPageBase().setResponsePage(pageTasks);
}
}
Aggregations