Package net.naijatek.myalumni.modules.common.domain

Examples of net.naijatek.myalumni.modules.common.domain.FrontPageVO


    }   

    public ActionForward viewFrontPageLinks(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception {
        logger.debug("in viewFrontPageLinks...");      
        FrontPageForm frontPageForm = (FrontPageForm) form;
        FrontPageVO frontPageVO = new FrontPageVO();
        frontPageVO = frontPageService.findById(frontPageForm.getLinkId());
        BeanUtils.copyProperties(frontPageForm, frontPageVO );
        return mapping.findForward(BaseConstants.FWD_SUCCESS);
    }   
View Full Code Here


        if ( !isTokenValid(request) ) {
            return mapping.findForward(BaseConstants.FWD_INVALID_TOKEN);
        }         
       
        FrontPageForm frontPageForm = (FrontPageForm) form;
        FrontPageVO frontPageVO = new FrontPageVO();
        BeanUtils.copyProperties(frontPageVO, frontPageForm);
        frontPageVO.setLastModifiedBy(getLastModifiedBy(request));
        frontPageService.merge(frontPageVO);
        getFrontPageHelper(request);
        resetToken(request);
        return mapping.findForward(BaseConstants.FWD_SUCCESS);
    }
View Full Code Here

        }         
    if (!adminSecurityCheck(request)) {
      return mapping.findForward(BaseConstants.FWD_ADMIN_LOGIN);
    }       
        FrontPageForm frontPageForm = (FrontPageForm) form;
        FrontPageVO frontPageVO = new FrontPageVO();
        BeanUtils.copyProperties(frontPageVO, frontPageForm);
        frontPageVO.setLastModifiedBy(getLastModifiedBy(request));
        frontPageService.save(frontPageVO);
        getFrontPageHelper(request);
        resetToken(request);
        return mapping.findForward(BaseConstants.FWD_SUCCESS);
    }
View Full Code Here

   
    public ActionForward prepareUpdateFrontPageLinks(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception {
        logger.debug("in prepareUpdateFrontPageLinks...");   
        saveToken(request);
        FrontPageForm frontPageForm = (FrontPageForm) form;
        FrontPageVO frontPageVO = frontPageService.findById(frontPageForm.getLinkId());
        BeanUtils.copyProperties(frontPageForm, frontPageVO);
        getFrontPageHelper(request);
        return mapping.findForward(BaseConstants.FWD_SUCCESS);
    }
View Full Code Here

TOP

Related Classes of net.naijatek.myalumni.modules.common.domain.FrontPageVO

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.