Package org.jtalks.jcommune.model.entity

Examples of org.jtalks.jcommune.model.entity.BannerPosition


    @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;
    }
View Full Code Here

TOP

Related Classes of org.jtalks.jcommune.model.entity.BannerPosition

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.