use of com.evolveum.midpoint.web.component.util.AssignmentListProvider in project midpoint by Evolveum.
the class AbstractAssignmentTypePanel method createAssignmentProvider.
private AssignmentListProvider createAssignmentProvider(IModel<Search<AssignmentType>> searchModel, IModel<List<PrismContainerValueWrapper<AssignmentType>>> assignments) {
AssignmentListProvider assignmentListProvider = new AssignmentListProvider(AbstractAssignmentTypePanel.this, searchModel, assignments) {
@Override
protected PageStorage getPageStorage() {
return AbstractAssignmentTypePanel.this.getPageStorage();
}
@Override
protected List<PrismContainerValueWrapper<AssignmentType>> postFilter(List<PrismContainerValueWrapper<AssignmentType>> assignmentList) {
return customPostSearch(assignmentList);
}
@Override
protected ObjectQuery getCustomizeContentQuery() {
return AbstractAssignmentTypePanel.this.getCustomizeQuery();
}
};
assignmentListProvider.setCompiledObjectCollectionView(getObjectCollectionView());
return assignmentListProvider;
}
Aggregations