@Override
public List<JbsBaseObject> getDataFromServer(int startIndex,
int resultCount) {
try {
ShoppingCartsRemote shoppingCarts = (ShoppingCartsRemote)ClientTools.getRemoteBean(ShoppingCartsRemote.class);
return shoppingCarts.getDatasets(this.getFilter(), this.getOrderFields(), this.getUser(), this.getCompany(), startIndex, resultCount);
} catch (Exception e) {
logger.error("Error fetching shopping-carts.", e);
return null;
}
}