Package org.jayasoft.woj.portal.data.dao.commercial

Examples of org.jayasoft.woj.portal.data.dao.commercial.FidelityOfferDao.find()


        if (u instanceof UserImpl) {
            try {
                UserImpl user = (UserImpl)u;
                UserPointDao upDao = DaoFactory.getUserPointDao();
                FidelityOfferDao foDao = DaoFactory.getFidelityOfferDao();
                FidelityOffer fo = (FidelityOffer)foDao.find(giftId);
                if (fo != null) {
                    UserPoint oldUP = getUserPoint(user);
                    if (oldUP.getPoints() < fo.getNeededPoints()) {
                        throw new ServiceException(RessourceBundleApplicationMessage.error("woj.page.fidelity.offers.not.enough.points", null));
                    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.