}
protected List<Address> getDataFromServer() {
logger.debug("Getting addresses for report...");
try {
AddressesRemote addresses = (AddressesRemote) ClientTools.getRemoteBean(AddressesRemote.class);
return addresses.getDatasets("", "", ClientGlobals.getUser(), ClientGlobals.getCompany(), 0, 0);
} catch (Exception e) {
logger.error("Error fetching addresses", e);
return null;
}
}