cz.muni.fi.pclis.web.controllers.student.learningExpectations
Class LearningExpectationsStudentController

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.student.learningExpectations.LearningExpectationsStudentController
All Implemented Interfaces:
org.springframework.context.ApplicationContextAware, org.springframework.web.context.ServletContextAware, org.springframework.web.servlet.mvc.Controller

@Component(value="learningExpectationsStudentsController")
public class LearningExpectationsStudentController
extends org.springframework.web.servlet.mvc.SimpleFormController

Controller handling student view, modification and evaluation of learning expectations User: Ľuboš Pecho Date: 6.9.2009 Time: 13:18:06


Nested Class Summary
private  class LearningExpectationsStudentController.ExpectationPointValidator
           
 
Field Summary
private  ControllerHelper controllerHelper
           
private  CourseService courseService
           
private  ExpectationPointService expectationPointService
           
private  LearningExpectationsBehaviourService learningExpectationsBehaviourService
           
private  TermService termService
           
 
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
LearningExpectationsStudentController()
           
 
Method Summary
protected  Object formBackingObject(javax.servlet.http.HttpServletRequest request)
           
 ControllerHelper getControllerHelper()
           
 CourseService getCourseService()
           
 ExpectationPointService getExpectationPointService()
           
 LearningExpectationsBehaviourService getLearningExpectationsBehaviourService()
           
 TermService getTermService()
           
protected  org.springframework.web.servlet.ModelAndView onSubmit(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse httpServletResponse, Object o, org.springframework.validation.BindException e)
           
protected  Map referenceData(javax.servlet.http.HttpServletRequest request)
           
 void setControllerHelper(ControllerHelper controllerHelper)
           
 void setCourseService(CourseService courseService)
           
 void setExpectationPointService(ExpectationPointService expectationPointService)
           
 void setLearningExpectationsBehaviourService(LearningExpectationsBehaviourService learningExpectationsBehaviourService)
           
 void setTermService(TermService termService)
           
 
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, initBinder, 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

controllerHelper

private ControllerHelper controllerHelper

expectationPointService

private ExpectationPointService expectationPointService

learningExpectationsBehaviourService

private LearningExpectationsBehaviourService learningExpectationsBehaviourService

courseService

private CourseService courseService

termService

private TermService termService
Constructor Detail

LearningExpectationsStudentController

public LearningExpectationsStudentController()
Method Detail

referenceData

protected Map referenceData(javax.servlet.http.HttpServletRequest request)
                     throws Exception
Overrides:
referenceData in class org.springframework.web.servlet.mvc.SimpleFormController
Throws:
Exception

formBackingObject

protected Object formBackingObject(javax.servlet.http.HttpServletRequest request)
                            throws Exception
Overrides:
formBackingObject in class org.springframework.web.servlet.mvc.AbstractFormController
Throws:
Exception

onSubmit

protected org.springframework.web.servlet.ModelAndView onSubmit(javax.servlet.http.HttpServletRequest request,
                                                                javax.servlet.http.HttpServletResponse httpServletResponse,
                                                                Object o,
                                                                org.springframework.validation.BindException e)
                                                         throws Exception
Overrides:
onSubmit in class org.springframework.web.servlet.mvc.SimpleFormController
Throws:
Exception

getControllerHelper

public ControllerHelper getControllerHelper()

setControllerHelper

public void setControllerHelper(ControllerHelper controllerHelper)

getExpectationPointService

public ExpectationPointService getExpectationPointService()

setExpectationPointService

public void setExpectationPointService(ExpectationPointService expectationPointService)

getCourseService

public CourseService getCourseService()

setCourseService

public void setCourseService(CourseService courseService)

getTermService

public TermService getTermService()

setTermService

public void setTermService(TermService termService)

getLearningExpectationsBehaviourService

public LearningExpectationsBehaviourService getLearningExpectationsBehaviourService()

setLearningExpectationsBehaviourService

public void setLearningExpectationsBehaviourService(LearningExpectationsBehaviourService learningExpectationsBehaviourService)


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