cz.muni.fi.pclis.web.controllers.teacher.peerEvaluation
Class EditStudentEvaluationAssignmentController

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 org.springframework.web.servlet.mvc.BaseCommandController
                      extended by org.springframework.web.servlet.mvc.AbstractFormController
                          extended by org.springframework.web.servlet.mvc.SimpleFormController
                              extended by cz.muni.fi.pclis.web.controllers.teacher.peerEvaluation.AbstractPeerEvaluationAssignmentController<StudentEvaluationAssignment>
                                  extended by cz.muni.fi.pclis.web.controllers.teacher.peerEvaluation.EditStudentEvaluationAssignmentController
All Implemented Interfaces:
org.springframework.context.ApplicationContextAware, org.springframework.web.context.ServletContextAware, org.springframework.web.servlet.mvc.Controller

@Component(value="editStudentEvaluationAssignmentController")
public class EditStudentEvaluationAssignmentController
extends AbstractPeerEvaluationAssignmentController<StudentEvaluationAssignment>

Controller handling editing of student evaluation assingments User: Ľuboš Pecho Date: 1.4.2010 Time: 21:43:42


Field Summary
private  StudentEvaluationAssignmentService studentEvaluationAssignmentService
           
 
Fields inherited from class org.springframework.web.servlet.mvc.BaseCommandController
DEFAULT_COMMAND_NAME
 
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
EditStudentEvaluationAssignmentController()
           
 
Method Summary
protected  StudentEvaluationAssignment createAssignment()
           
protected  PeerEvaluationAssignmentService<StudentEvaluationAssignment> getAssignmentService()
           
protected  void initBinder(javax.servlet.http.HttpServletRequest request, org.springframework.web.bind.ServletRequestDataBinder binder)
           
protected  Map referenceData(javax.servlet.http.HttpServletRequest request)
           
 void setStudentEvaluationAssignmentService(StudentEvaluationAssignmentService studentEvaluationAssignmentService)
           
 
Methods inherited from class cz.muni.fi.pclis.web.controllers.teacher.peerEvaluation.AbstractPeerEvaluationAssignmentController
formBackingObject, getCourseService, getTermService, onSubmit, setCourseService, setTermService
 
Methods inherited from class org.springframework.web.servlet.mvc.SimpleFormController
doSubmitAction, getFormView, getSuccessView, isFormChangeRequest, isFormChangeRequest, onFormChange, onFormChange, onSubmit, onSubmit, processFormSubmission, referenceData, setFormView, setSuccessView, showForm, showForm, suppressValidation
 
Methods inherited from class org.springframework.web.servlet.mvc.AbstractFormController
currentFormObject, getCommand, getErrorsForNewForm, getFormSessionAttributeName, getFormSessionAttributeName, handleInvalidSubmit, handleRequestInternal, isBindOnNewForm, isFormSubmission, isSessionForm, onBindOnNewForm, onBindOnNewForm, setBindOnNewForm, setSessionForm, showForm, showForm, showNewForm
 
Methods inherited from class org.springframework.web.servlet.mvc.BaseCommandController
bindAndValidate, createBinder, createCommand, getBindingErrorProcessor, getCommandClass, getCommandName, getMessageCodesResolver, getPropertyEditorRegistrars, getValidator, getValidators, getWebBindingInitializer, checkCommand, initApplicationContext, isValidateOnBinding, onBind, onBind, onBindAndValidate, prepareBinder, setBindingErrorProcessor, setCommandClass, setCommandName, setMessageCodesResolver, setPropertyEditorRegistrar, setPropertyEditorRegistrars, setValidateOnBinding, setValidator, setValidators, setWebBindingInitializer, suppressBinding, suppressValidation, suppressValidation, useDirectFieldAccess
 
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, requiredContextClass, setApplicationContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

studentEvaluationAssignmentService

private StudentEvaluationAssignmentService studentEvaluationAssignmentService
Constructor Detail

EditStudentEvaluationAssignmentController

public EditStudentEvaluationAssignmentController()
Method Detail

referenceData

protected Map referenceData(javax.servlet.http.HttpServletRequest request)
                     throws Exception
Overrides:
referenceData in class AbstractPeerEvaluationAssignmentController<StudentEvaluationAssignment>
Throws:
Exception

initBinder

protected void initBinder(javax.servlet.http.HttpServletRequest request,
                          org.springframework.web.bind.ServletRequestDataBinder binder)
                   throws Exception
Overrides:
initBinder in class AbstractPeerEvaluationAssignmentController<StudentEvaluationAssignment>
Throws:
Exception

createAssignment

protected StudentEvaluationAssignment createAssignment()
Specified by:
createAssignment in class AbstractPeerEvaluationAssignmentController<StudentEvaluationAssignment>

getAssignmentService

protected PeerEvaluationAssignmentService<StudentEvaluationAssignment> getAssignmentService()
Specified by:
getAssignmentService in class AbstractPeerEvaluationAssignmentController<StudentEvaluationAssignment>

setStudentEvaluationAssignmentService

public void setStudentEvaluationAssignmentService(StudentEvaluationAssignmentService studentEvaluationAssignmentService)


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