cz.muni.fi.pclis.web.controllers.student.feedback
Class FeedbackStudentController
java.lang.Object
org.springframework.context.support.ApplicationObjectSupport
org.springframework.web.context.support.WebApplicationObjectSupport
org.springframework.web.servlet.support.WebContentGenerator
org.springframework.web.servlet.mvc.AbstractController
org.springframework.web.servlet.mvc.BaseCommandController
org.springframework.web.servlet.mvc.AbstractFormController
org.springframework.web.servlet.mvc.SimpleFormController
cz.muni.fi.pclis.web.controllers.student.feedback.FeedbackStudentController
- All Implemented Interfaces:
- org.springframework.context.ApplicationContextAware, org.springframework.web.context.ServletContextAware, org.springframework.web.servlet.mvc.Controller
@Component(value="feedbackStudentController")
public class FeedbackStudentController
- extends org.springframework.web.servlet.mvc.SimpleFormController
Controller handling student part of feedback scenario. It means it shows relevant topics for student and allowes him
to enter location of his blog
User: Ľuboš Pecho
Date: 20.9.2009
Time: 11:40:27
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 |
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 |
controllerHelper
private ControllerHelper controllerHelper
termService
private TermService termService
courseService
private CourseService courseService
feedbackTopicsService
private FeedbackTopicsService feedbackTopicsService
userToEducatableRelationService
private UserToEducatableRelationService userToEducatableRelationService
userBlogLocationService
private UserBlogLocationService userBlogLocationService
FeedbackStudentController
public FeedbackStudentController()
referenceData
protected Map referenceData(javax.servlet.http.HttpServletRequest request)
throws Exception
- Overrides:
referenceData
in class org.springframework.web.servlet.mvc.SimpleFormController
- 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
formBackingObject
protected Object formBackingObject(javax.servlet.http.HttpServletRequest request)
throws Exception
- Overrides:
formBackingObject
in class org.springframework.web.servlet.mvc.AbstractFormController
- Throws:
Exception
getControllerHelper
public ControllerHelper getControllerHelper()
setControllerHelper
public void setControllerHelper(ControllerHelper controllerHelper)
getTermService
public TermService getTermService()
setTermService
public void setTermService(TermService termService)
getCourseService
public CourseService getCourseService()
setCourseService
public void setCourseService(CourseService courseService)
getFeedbackTopicsService
public FeedbackTopicsService getFeedbackTopicsService()
setFeedbackTopicsService
public void setFeedbackTopicsService(FeedbackTopicsService feedbackTopicsService)
getUserToEducatableRelationService
public UserToEducatableRelationService getUserToEducatableRelationService()
setUserToEducatableRelationService
public void setUserToEducatableRelationService(UserToEducatableRelationService userToEducatableRelationService)
setUserBlogLocationService
public void setUserBlogLocationService(UserBlogLocationService userBlogLocationService)
Copyright © 2009-2010 Faculty of Informatics, Masaryk university, Brno. All Rights Reserved.