Package org.internna.iwebmvc.dao

Examples of org.internna.iwebmvc.dao.DAO


     */
    @RemoteProperty public PollVote getCurrentUserVote() {
        HttpServletRequest request = RequestContextUtils.getActiveRequest();
        if (request != null) {
            UserManager userManager = (UserManager) WebApplicationContextUtils.getBean("sessionUserManager");
            DAO dao = (DAO) WebApplicationContextUtils.getBean("baseDAO");
            if ((userManager!= null) && (dao != null))
                return getUserVote(userManager.getActiveUser(request), request.getRemoteAddr(), dao);
        }
        return null;
    }
View Full Code Here

TOP

Related Classes of org.internna.iwebmvc.dao.DAO

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.