public ObservableList<AdapterNotifyRowModel> getAdapterNotifies(Date from, Date to, int maxCount){
try {
ObservableList<AdapterNotifyRowModel> result = FXCollections.observableArrayList();
List<AdapterWfNotifyInfo> list = copperMonitoringService.getList(new TypeFilter<AdapterWfNotifyInfo>(AdapterWfNotifyInfo.class), from, to, maxCount);
for (AdapterWfNotifyInfo adapterWfNotifyInfo: list){
result.add(new AdapterNotifyRowModel(adapterWfNotifyInfo));
}
return result;
} catch (RemoteException e) {
throw new RuntimeException(e);
}