use of org.netxms.client.log.OrderingColumn in project netxms by netxms.
the class FilterBuilder method createFilter.
/**
* @return
*/
public LogFilter createFilter() {
LogFilter filter = new LogFilter();
for (Entry<String, ColumnFilterEditor> e : columns.entrySet()) {
ColumnFilter cf = e.getValue().buildFilterTree();
if (cf != null) {
filter.setColumnFilter(e.getKey(), cf);
}
}
filter.setOrderingColumns(new ArrayList<OrderingColumn>(orderingColumns));
return filter;
}
Aggregations