@Override
public Map<String, Banner> getAllBanners() {
Collection<Banner> allBanners = getDao().getAll();
Map<String, Banner> positionAndBannerMap = new HashMap<String, Banner>();
for (Banner banner : allBanners) {
BannerPosition positionOnPage = banner.getPositionOnPage();
positionAndBannerMap.put(ObjectUtils.toString(positionOnPage), banner);
}
return positionAndBannerMap;
}