cz.muni.fi.pclis.web.controllers.student.peerEvaluation
Class PeerEvaluationStudentController

java.lang.Object
  extended by org.springframework.context.support.ApplicationObjectSupport
      extended by org.springframework.web.context.support.WebApplicationObjectSupport
          extended by org.springframework.web.servlet.support.WebContentGenerator
              extended by org.springframework.web.servlet.mvc.AbstractController
                  extended by cz.muni.fi.pclis.web.controllers.student.peerEvaluation.PeerEvaluationStudentController
All Implemented Interfaces:
org.springframework.context.ApplicationContextAware, org.springframework.web.context.ServletContextAware, org.springframework.web.servlet.mvc.Controller

@Component(value="peerEvaluationStudentController")
public class PeerEvaluationStudentController
extends org.springframework.web.servlet.mvc.AbstractController

Controller showing peer evaluation assignment for student User: Ľuboš Pecho Date: 3.4.2010 Time: 21:22:29


Field Summary
private  CourseService courseService
           
private  SelfEvaluationAssignmentService selfEvaluationAssignmentService
           
private  StudentEvaluationAssignmentService studentEvaluationAssignmentService
           
private  TeamEvaluationAssignmentService teamEvaluationAssignmentService
           
private  TermService termService
           
 
Fields inherited from class org.springframework.web.servlet.support.WebContentGenerator
METHOD_GET, METHOD_HEAD, METHOD_POST
 
Fields inherited from class org.springframework.context.support.ApplicationObjectSupport
logger
 
Constructor Summary
PeerEvaluationStudentController()
           
 
Method Summary
private
<Ass extends PeerEvaluationAssignment>
List<Ass>
filterForUser(List<Ass> assignments, User user)
           
private  boolean[] getIsFilling(List<? extends PeerEvaluationAssignment> assignments, Date now)
           
protected  org.springframework.web.servlet.ModelAndView handleRequestInternal(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 void setCourseService(CourseService courseService)
           
 void setSelfEvaluationAssignmentService(SelfEvaluationAssignmentService selfEvaluationAssignmentService)
           
 void setStudentEvaluationAssignmentService(StudentEvaluationAssignmentService studentEvaluationAssignmentService)
           
 void setTeamEvaluationAssignmentService(TeamEvaluationAssignmentService teamEvaluationAssignmentService)
           
 void setTermService(TermService termService)
           
 
Methods inherited from class org.springframework.web.servlet.mvc.AbstractController
handleRequest, isSynchronizeOnSession, setSynchronizeOnSession
 
Methods inherited from class org.springframework.web.servlet.support.WebContentGenerator
applyCacheSeconds, applyCacheSeconds, cacheForSeconds, cacheForSeconds, getCacheSeconds, getSupportedMethods, checkAndPrepare, checkAndPrepare, isRequireSession, isUseCacheControlHeader, isUseCacheControlNoStore, isUseExpiresHeader, preventCaching, setCacheSeconds, setRequireSession, setSupportedMethods, setUseCacheControlHeader, setUseCacheControlNoStore, setUseExpiresHeader
 
Methods inherited from class org.springframework.web.context.support.WebApplicationObjectSupport
getServletContext, getTempDir, getWebApplicationContext, initApplicationContext, initServletContext, isContextRequired, setServletContext
 
Methods inherited from class org.springframework.context.support.ApplicationObjectSupport
getApplicationContext, getMessageSourceAccessor, initApplicationContext, requiredContextClass, setApplicationContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

teamEvaluationAssignmentService

private TeamEvaluationAssignmentService teamEvaluationAssignmentService

selfEvaluationAssignmentService

private SelfEvaluationAssignmentService selfEvaluationAssignmentService

studentEvaluationAssignmentService

private StudentEvaluationAssignmentService studentEvaluationAssignmentService

courseService

private CourseService courseService

termService

private TermService termService
Constructor Detail

PeerEvaluationStudentController

public PeerEvaluationStudentController()
Method Detail

handleRequestInternal

protected org.springframework.web.servlet.ModelAndView handleRequestInternal(javax.servlet.http.HttpServletRequest request,
                                                                             javax.servlet.http.HttpServletResponse response)
                                                                      throws Exception
Specified by:
handleRequestInternal in class org.springframework.web.servlet.mvc.AbstractController
Throws:
Exception

filterForUser

private <Ass extends PeerEvaluationAssignment> List<Ass> filterForUser(List<Ass> assignments,
                                                                       User user)

getIsFilling

private boolean[] getIsFilling(List<? extends PeerEvaluationAssignment> assignments,
                               Date now)

setTeamEvaluationAssignmentService

public void setTeamEvaluationAssignmentService(TeamEvaluationAssignmentService teamEvaluationAssignmentService)

setCourseService

public void setCourseService(CourseService courseService)

setTermService

public void setTermService(TermService termService)

setSelfEvaluationAssignmentService

public void setSelfEvaluationAssignmentService(SelfEvaluationAssignmentService selfEvaluationAssignmentService)

setStudentEvaluationAssignmentService

public void setStudentEvaluationAssignmentService(StudentEvaluationAssignmentService studentEvaluationAssignmentService)


Copyright © 2009-2010 Faculty of Informatics, Masaryk university, Brno. All Rights Reserved.