//TODO: Write a service method that accepts offset and limit
List<RelatedProduct> relatedProds = product.getUpSaleProducts();
if (relatedProds != null) {
for (RelatedProduct prod : relatedProds) {
RelatedProductWrapper wrapper = (RelatedProductWrapper)context.getBean(RelatedProductWrapper.class.getName());
wrapper.wrapSummary(prod, request);
out.add(wrapper);
}
}
return out;
}