use of org.ovirt.engine.api.model.NetworkFilterParameters in project ovirt-engine by oVirt.
the class BackendVmNicFilterParametersResource method list.
@Override
public NetworkFilterParameters list() {
NetworkFilterParameters parameters = new NetworkFilterParameters();
List<VmNicFilterParameter> entities = getBackendCollection(QueryType.GetVmInterfaceFilterParametersByVmInterfaceId, new IdQueryParameters(nicId));
for (VmNicFilterParameter entity : entities) {
NetworkFilterParameter parameter = populate(map(entity), entity);
parameters.getNetworkFilterParameters().add(addLinks(parameter));
}
return parameters;
}
Aggregations