Examples of SystemConfigVO


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

          // User should be forced to change this on next logon.
          String newPasswd =  PasswordGenerator.createPassword(8);
         
          memberDao.resetPassword(memberId, Encoder.getMD5_Base64(newPasswd), lastModifiedBy);
       
          SystemConfigVO sysConfig = sysConfigDao.getSystemConfig();
       
          SendMailUtil.sendPasswordReminderMail(memberVO.getEmail(), memberVO.getMemberUserName(), newPasswd, sysConfig);
        }
        else{
          throw new MyAlumniException("Unable to resetPassword, user not found ");
View Full Code Here

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

       
       
        String reasonforUpdate = "TODO: NEED REASON (Update Done by Administrator)";
    try{
      SystemConfigVO sysConfigVO = sysConfigSerivce.getSystemConfig();
      SendMailUtil.sendProfileChangeNotificationMail(memberVO.getEmail(), memberVO.getFullName(), sysConfigVO, reasonforUpdate);
      messages.add(BaseConstants.INFO_KEY, new ActionMessage("message.userprofile.updated"));
    }
    catch(MailServerException e){
      messages.add(BaseConstants.ERROR_KEY, new ActionMessage("errors.account.mailserver"));
View Full Code Here

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

    }
   
    PrivateMessageForm pmForm = (PrivateMessageForm)form;
    PrivateMessageVO pmVO = new PrivateMessageVO();
    BeanUtils.copyProperties(pmVO, pmForm);
    SystemConfigVO sysConfigVO = sysConfigSerivce.getSystemConfig();
   
   
    SendMailUtil.sendEmail(pmVO, sysConfigVO);
        ActionMessages errors = new ActionMessages();
        errors.add(BaseConstants.INFO_KEY, new ActionMessage("message.emailsent"));
View Full Code Here

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

      PrivateMessageVO pmVO = new PrivateMessageVO();
     
      BeanUtils.copyProperties(pmVO, dynaForm);
     
      //String toMemberEmail = memService.getMemberEmailByMemberId(pm.getGuestEmail());
      SystemConfigVO sysConfigVO = sysConfigSerivce.getSystemConfig();
     
    String toMemberEmail = new String();
   
    if(pmVO.getType().equals("contact")){
      if (pmVO.getMessageToUserId() != null && pmVO.getMessageToUserId() != ""){
View Full Code Here

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

      ActionForm form, HttpServletRequest request,
      HttpServletResponse response) throws Exception {
    logger.debug("in prepareUpdateOrgAboutUs...");
    saveToken(request);
    SystemConfigForm orgInfoForm = (SystemConfigForm) form;
    SystemConfigVO orgInfoVO = systemConfigService.getOrgInfo();
    BeanUtils.copyProperties(orgInfoForm, orgInfoVO);
    return mapping.findForward(BaseConstants.FWD_SUCCESS);
  }
View Full Code Here

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

    if (!isTokenValid(request)) {
      return mapping.findForward(BaseConstants.FWD_INVALID_TOKEN);
    }
    ActionMessages msgs = new ActionMessages();
    SystemConfigForm orgInfoForm = (SystemConfigForm) form;
    SystemConfigVO orgInfoVO = new SystemConfigVO();
    BeanUtils.copyProperties(orgInfoVO, orgInfoForm);

    orgInfoVO.setLastModifiedBy(getLastModifiedBy(request));

    systemConfigService.updateOrgAboutUs(orgInfoVO.getOrgAboutUs(), getLastModifiedBy(request));
    msgs.add(BaseConstants.INFO_KEY, new ActionMessage("message.record.updated"));
    saveMessages(request, msgs);
    resetToken(request)
    return mapping.findForward(BaseConstants.FWD_SUCCESS);
  }
View Full Code Here

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

      ActionForm form, HttpServletRequest request,
      HttpServletResponse response) throws Exception {
    logger.debug("in prepareUpdateOrgIntro...");
    saveToken(request);
    SystemConfigForm orgInfoForm = (SystemConfigForm) form;
    SystemConfigVO orgInfoVO = systemConfigService.getOrgInfo();
    BeanUtils.copyProperties(orgInfoForm, orgInfoVO);
    return mapping.findForward(BaseConstants.FWD_SUCCESS);
  }
View Full Code Here

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

    if (!isTokenValid(request)) {
      return mapping.findForward(BaseConstants.FWD_INVALID_TOKEN);
    }
    ActionMessages msgs = new ActionMessages();
    SystemConfigForm orgInfoForm = (SystemConfigForm) form;
    SystemConfigVO orgInfoVO = new SystemConfigVO();
    BeanUtils.copyProperties(orgInfoVO, orgInfoForm);

    orgInfoVO.setLastModifiedBy(getLastModifiedBy(request));

    systemConfigService.updateOrgIntro(orgInfoVO.getOrgIntro(), getLastModifiedBy(request));
    msgs.add(BaseConstants.INFO_KEY, new ActionMessage("message.record.updated"));
    saveMessages(request, msgs);
    resetToken(request)
    return mapping.findForward(BaseConstants.FWD_SUCCESS);
  }
View Full Code Here

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

      ActionForm form, HttpServletRequest request,
      HttpServletResponse response) throws Exception {
    logger.debug("in prepareUpdateOrgInfo...");
    saveToken(request);
    SystemConfigForm orgInfoForm = (SystemConfigForm) form;
    SystemConfigVO orgInfoVO = systemConfigService.getOrgInfo();
    BeanUtils.copyProperties(orgInfoForm, orgInfoVO);
    return mapping.findForward(BaseConstants.FWD_SUCCESS);
  }
View Full Code Here

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

    if (!isTokenValid(request)) {
      return mapping.findForward(BaseConstants.FWD_INVALID_TOKEN);
    }
    ActionMessages msgs = new ActionMessages();
    SystemConfigForm orgInfoForm = (SystemConfigForm) form;
    SystemConfigVO orgInfoVO = new SystemConfigVO();
    BeanUtils.copyProperties(orgInfoVO, orgInfoForm);

    orgInfoVO.setLastModifiedBy(getLastModifiedBy(request));

    systemConfigService.updateOrgInfo(orgInfoVO);
    msgs.add(BaseConstants.INFO_KEY, new ActionMessage("message.record.updated"));
    saveMessages(request, msgs);
    resetToken(request);
    ServletContext sCtx = request.getSession().getServletContext();
      sCtx.setAttribute(BaseConstants.ORGANIZATION_NAME, orgInfoVO.getOrganizationName())
      sCtx.setAttribute(BaseConstants.ORGANIZATION_SHORT_NAME, orgInfoVO.getOrganizationShortName())
      sCtx.setAttribute(BaseConstants.ORG_EMAIL, orgInfoVO.getOrgEmail())
    return mapping.findForward(BaseConstants.FWD_SUCCESS);
  }
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.