/** * Reloads the data from the service. */ private void loadDataFromService() { List<ExceptionSensorData> exData = null; // if fromDate and toDate are set, then we retrieve only the data for // this time interval if ((null != fromDate) && (null != toDate)) { exData = dataAccessService.getUngroupedExceptionOverview(template, limit, fromDate, toDate, resultComparator); } else { exData = dataAccessService.getUngroupedExceptionOverview(template, limit, resultComparator); } exceptionSensorData.clear(); if (null != exData) { exceptionSensorData.addAll(exData); } }