public List<RecentProductViewBean> buildListViewBeanRecentProduct(final RequestData requestData, final List<String> listProductSkuCodes, FetchPlan categoryVirtualFetchPlans, FetchPlan productMarketingFetchPlans, FetchPlan productSkuFetchPlans) throws Exception {
final List<RecentProductViewBean> recentProductViewBeans = new ArrayList<RecentProductViewBean>();
final Localization localization = requestData.getMarketAreaLocalization();
final String localeCode = localization.getCode();
for (String productSkuCode : listProductSkuCodes) {
RecentProductViewBean recentProductViewBean = new RecentProductViewBean();
final ProductSku reloadedProductSku = productService.getProductSkuByCode(productSkuCode, productSkuFetchPlans);
final ProductMarketing productMarketing = productService.getProductMarketingByCode(reloadedProductSku.getProductMarketing().getCode(), productMarketingFetchPlans);
final CatalogCategoryVirtual catalogCategory = catalogCategoryService.getDefaultVirtualCatalogCategoryByProductSkuId(reloadedProductSku.getId(), categoryVirtualFetchPlans);
recentProductViewBean.setId(productMarketing.getId());
recentProductViewBean.setCode(productMarketing.getCode());
recentProductViewBean.setDetailsUrl(urlService.generateUrl(FoUrls.PRODUCT_DETAILS, requestData, catalogCategory, productMarketing, productMarketing.getDefaultProductSku()));
recentProductViewBean.setI18nName(productMarketing.getI18nName(localeCode));
recentProductViewBeans.add(recentProductViewBean);
}
return recentProductViewBeans;
}