Search in sources :

Example 1 with NetworkFilters

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;
}
Also used : NetworkFilters(org.ovirt.engine.api.model.NetworkFilters) NetworkFilter(org.ovirt.engine.api.model.NetworkFilter)

Aggregations

NetworkFilter (org.ovirt.engine.api.model.NetworkFilter)1 NetworkFilters (org.ovirt.engine.api.model.NetworkFilters)1