}
}
public PagedCollectionResource getManagedObjectsByListOfIds(List ids) {
if (ids == null || ids.isEmpty()) {
return new EmptyPagedCollectionResource(ManagedObjectCollectionRepresentation.class);
}
String urlTemplate = getInventoryRepresentation().getManagedObjectsForListOfIds();
Map filter = Collections.singletonMap(IDS, createCommaSeparatedStringFromGids(ids));
String url = templateUrlParser.replacePlaceholdersWithParams(urlTemplate, filter);
return new ManagedObjectCollectionImpl(restConnector, url, pageSize);