Examples of loadScienceProject()


Examples of org.sete.service.project.ScienceProjectService.loadScienceProject()

    ScienceProjectService service = getService(ScienceProjectService.class);
    Boolean canUserEdit = service.isStudentInProject(this.getAuthenticatedUser(request).getUserId(), request.getParameter("projId"));
    this.checkAuthorization(canUserEdit || userHasPrivilege(request.getSession(), getAdminPrivileges()) );
   
    CreateScienceProjectVo spvo = service.loadScienceProject(request.getParameter("projId"));

    BeanUtils.copyProperties(cpf, spvo);
    HttpSessionManager.bind(request.getSession(),
        "students",
        service.loadAllUsersByRole(UserRoleType.Key.STUDENT_KEY));
View Full Code Here

Examples of org.sete.service.project.ScoreProjectService.loadScienceProject()

       
        checkAuthorization(userHasPrivilege(request.getSession(), getPrivileges()));
        ScoreProjectService service = getService(ScoreProjectService.class);
        ViewProjectsToScoreVo vptsvo = new ViewProjectsToScoreVo();
        BeanUtils.copyProperties(vptsvo, form);
        ScienceProjectVo projectVo = service.loadScienceProject(vptsvo.getProjectId());
        request.setAttribute("project", projectVo);
        request.setAttribute("projectId", vptsvo.getProjectId());
        request.setAttribute("projectName", projectVo.getName());
       
        return mapping.findForward(WebConstants.FORWARD_VIEW);
View Full Code Here

Examples of org.sete.service.project.ScoreProjectService.loadScienceProject()

        }
        else{
            displaySuccessMessage(request,"scienceProject.award.remove.error",success);
        }
       
        ScienceProjectVo projectVo = service.loadScienceProject(projectId);
        request.setAttribute("project", projectVo);
        request.setAttribute("projectId", projectId);
        request.setAttribute("projectName", projectVo.getName());
       
        return mapping.findForward(WebConstants.FORWARD_VIEW);
View Full Code Here

Examples of org.sete.service.project.ScoreProjectService.loadScienceProject()

    vptsvo.setScorer(getAuthenticatedUser(request).getUserId().toString());
    ScienceProjectStatusType spst = ScienceProjectStatusType.forKey(ScienceProjectStatusType.Key.SCORINGINPROGRESS_KEY);
    service.updateProjectStatus(vptsvo.getProjectId(), vptsvo.getScorer(), spst);
   
    HttpSessionManager.bind(request.getSession(), "projectId", vptsvo.getProjectId());
    HttpSessionManager.bind(request.getSession(), "projectName", service.loadScienceProject(vptsvo.getProjectId()).getName());
   
    String stScore = new String();
    if(service.loadScienceProject(vptsvo.getProjectId()).getScore()!=null){
      stScore = service.loadScienceProject(vptsvo.getProjectId()).getScore().toString();
    }
View Full Code Here

Examples of org.sete.service.project.ScoreProjectService.loadScienceProject()

   
    HttpSessionManager.bind(request.getSession(), "projectId", vptsvo.getProjectId());
    HttpSessionManager.bind(request.getSession(), "projectName", service.loadScienceProject(vptsvo.getProjectId()).getName());
   
    String stScore = new String();
    if(service.loadScienceProject(vptsvo.getProjectId()).getScore()!=null){
      stScore = service.loadScienceProject(vptsvo.getProjectId()).getScore().toString();
    }
    HttpSessionManager.bind(request.getSession(), "storedScore", stScore);
    return mapping.findForward(WebConstants.FORWARD_VIEW);
   
View Full Code Here

Examples of org.sete.service.project.ScoreProjectService.loadScienceProject()

    HttpSessionManager.bind(request.getSession(), "projectId", vptsvo.getProjectId());
    HttpSessionManager.bind(request.getSession(), "projectName", service.loadScienceProject(vptsvo.getProjectId()).getName());
   
    String stScore = new String();
    if(service.loadScienceProject(vptsvo.getProjectId()).getScore()!=null){
      stScore = service.loadScienceProject(vptsvo.getProjectId()).getScore().toString();
    }
    HttpSessionManager.bind(request.getSession(), "storedScore", stScore);
    return mapping.findForward(WebConstants.FORWARD_VIEW);
   
  }
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.