return metricSummaries;
}
WebUser user = EnterpriseFacesContextUtility.getWebUser();
MeasurementPreferences preferences = user.getMeasurementPreferences();
MetricRangePreferences range = preferences.getMetricRangePreferences();
if (context.type == EntityContext.Type.Resource) {
//null -> don't filter, we want everything, false -> not only enabled
List<MeasurementSchedule> measurementSchedules = scheduleManager.findSchedulesForResourceAndType(
user.getSubject(), context.resourceId, DataType.MEASUREMENT, null, true);