}
protected void initLinks(final HttpServletRequest request, final ModelAndViewThemeDevice modelAndView, final Locale locale) throws Exception{
List<LinkMenuViewBean> batchLinks = new ArrayList<LinkMenuViewBean>();
LinkMenuViewBean linkMenuViewBean = new LinkMenuViewBean();
linkMenuViewBean.setName(coreMessageSource.getMessage("header.menu.batch.customer.list", locale));
linkMenuViewBean.setUrl(backofficeUrlService.generateUrl(BoUrls.BATCH_CUSTOMER, requestUtil.getRequestData(request)));
batchLinks.add(linkMenuViewBean);
linkMenuViewBean = new LinkMenuViewBean();
linkMenuViewBean.setName(coreMessageSource.getMessage("header.menu.batch.order.list", locale));
linkMenuViewBean.setUrl(backofficeUrlService.generateUrl(BoUrls.BATCH_ORDER, requestUtil.getRequestData(request)));
batchLinks.add(linkMenuViewBean);
linkMenuViewBean = new LinkMenuViewBean();
linkMenuViewBean.setName(coreMessageSource.getMessage("header.menu.batch.email.list", locale));
linkMenuViewBean.setUrl(backofficeUrlService.generateUrl(BoUrls.BATCH_EMAIL, requestUtil.getRequestData(request)));
batchLinks.add(linkMenuViewBean);
linkMenuViewBean = new LinkMenuViewBean();
linkMenuViewBean.setName(coreMessageSource.getMessage("header.menu.batch.cms.list", locale));
linkMenuViewBean.setUrl(backofficeUrlService.generateUrl(BoUrls.BATCH_CMS, requestUtil.getRequestData(request)));
batchLinks.add(linkMenuViewBean);
linkMenuViewBean = new LinkMenuViewBean();
linkMenuViewBean.setName(coreMessageSource.getMessage("header.menu.batch.stock.list", locale));
linkMenuViewBean.setUrl(backofficeUrlService.generateUrl(BoUrls.BATCH_STOCK, requestUtil.getRequestData(request)));
batchLinks.add(linkMenuViewBean);
modelAndView.addObject("links", batchLinks);
}