use of org.ovirt.engine.api.model.NetworkFilters in project ovirt-engine by oVirt.
the class BackendNetworkFiltersResource method mapCollection.
private NetworkFilters mapCollection(List<org.ovirt.engine.core.common.businessentities.network.NetworkFilter> entities) {
NetworkFilters collection = new NetworkFilters();
for (org.ovirt.engine.core.common.businessentities.network.NetworkFilter entity : entities) {
NetworkFilter networkFilter = map(entity);
collection.getNetworkFilters().add(addLinks(populate(map(entity), entity)));
}
return collection;
}
Aggregations