public class StudyController
extends org.springframework.web.servlet.mvc.multiaction.MultiActionController
DEFAULT_COMMAND_NAME, LAST_MODIFIED_METHOD_SUFFIX, PAGE_NOT_FOUND_LOG_CATEGORY, pageNotFoundLogger| Constructor and Description |
|---|
StudyController()
Constructor for StudyController.
|
StudyController(Object delegate)
Constructor for StudyController.
|
| Modifier and Type | Method and Description |
|---|---|
ShareStudyService |
getShareStudyService()
Getter for the field
shareStudyService. |
StudyService |
getStudyService()
Getter for the field
studyService. |
StudyTypeService |
getStudyTypeService()
Getter for the field
studyTypeService. |
org.springframework.validation.Validator |
getUpdateValidator()
getUpdateValidator.
|
org.springframework.validation.Validator |
getValidator()
getValidator.
|
org.springframework.web.servlet.ModelAndView |
handleCancel(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Study command)
Handles the user's request to cancel the study or the study update page.
|
org.springframework.web.servlet.ModelAndView |
handleDelete(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Study command)
Handles the user's request to delete their study.
|
org.springframework.web.servlet.ModelAndView |
handleReset(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Study command)
Handles the user's request to reset the study page during a new or update study.
|
org.springframework.web.servlet.ModelAndView |
handleShare(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Study command)
Handles the user's request to share their study.
|
org.springframework.web.servlet.ModelAndView |
handleSubmit(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Study command)
Handles the user's request to submit a new study.
|
org.springframework.web.servlet.ModelAndView |
handleUpdate(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Study command)
Handles the user's request to update their study.
|
void |
setRegistrationService(RegistrationService registrationService)
Setter for the field
registrationService. |
void |
setShareStudyService(ShareStudyService shareStudyService)
Setter for the field
shareStudyService. |
void |
setStudyService(StudyService studyService)
Setter for the field
studyService. |
void |
setStudyTypeService(StudyTypeService studyTypeService)
Setter for the field
studyTypeService. |
void |
setUpdateValidator(org.springframework.validation.Validator validator)
setUpdateValidator.
|
void |
setValidator(org.springframework.validation.Validator validator)
setValidator.
|
bind, createBinder, getCommandName, getExceptionHandler, getLastModified, getMethodNameResolver, getValidators, getWebBindingInitializer, handleNoSuchRequestHandlingMethod, handleRequestInternal, initBinder, invokeNamedMethod, newCommandObject, setDelegate, setMethodNameResolver, setValidators, setWebBindingInitializerhandleRequest, isSynchronizeOnSession, setSynchronizeOnSessionapplyCacheSeconds, applyCacheSeconds, cacheForSeconds, cacheForSeconds, checkAndPrepare, checkAndPrepare, getCacheSeconds, getSupportedMethods, isAlwaysMustRevalidate, isRequireSession, isUseCacheControlHeader, isUseCacheControlNoStore, isUseExpiresHeader, preventCaching, setAlwaysMustRevalidate, setCacheSeconds, setRequireSession, setSupportedMethods, setUseCacheControlHeader, setUseCacheControlNoStore, setUseExpiresHeadergetServletContext, getTempDir, getWebApplicationContext, initApplicationContext, initServletContext, isContextRequired, setServletContextpublic StudyService getStudyService()
Getter for the field studyService.
StudyService object.public void setStudyService(StudyService studyService)
Setter for the field studyService.
studyService - a StudyService object.public ShareStudyService getShareStudyService()
Getter for the field shareStudyService.
ShareStudyService object.public void setShareStudyService(ShareStudyService shareStudyService)
Setter for the field shareStudyService.
shareStudyService - a ShareStudyService object.public void setRegistrationService(RegistrationService registrationService)
Setter for the field registrationService.
registrationService - a RegistrationService object.public org.springframework.validation.Validator getValidator()
getValidator.
Validator object.public void setValidator(org.springframework.validation.Validator validator)
setValidator.
validator - a Validator object.public org.springframework.validation.Validator getUpdateValidator()
getUpdateValidator.
Validator object.public void setUpdateValidator(org.springframework.validation.Validator validator)
setUpdateValidator.
validator - a Validator object.public StudyTypeService getStudyTypeService()
Getter for the field studyTypeService.
StudyTypeService object.public void setStudyTypeService(StudyTypeService studyTypeService)
Setter for the field studyTypeService.
studyTypeService - a StudyTypeService object.public org.springframework.web.servlet.ModelAndView handleSubmit(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Study command)
throws Exception
request - HttpServletRequestresponse - HttpServletResponsecommand - Study command objectException - if any.public org.springframework.web.servlet.ModelAndView handleReset(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Study command)
throws Exception
command - Study command objectrequest - a HttpServletRequest object.response - a HttpServletResponse object.ModelAndView object.Exception - if any.public org.springframework.web.servlet.ModelAndView handleCancel(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Study command)
throws Exception
command - Study command objectrequest - a HttpServletRequest object.response - a HttpServletResponse object.ModelAndView object.Exception - if any.public org.springframework.web.servlet.ModelAndView handleUpdate(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Study command)
throws Exception
command - Study command objectrequest - a HttpServletRequest object.response - a HttpServletResponse object.ModelAndView object.Exception - if any.public org.springframework.web.servlet.ModelAndView handleDelete(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Study command)
throws Exception
command - Study command objectrequest - a HttpServletRequest object.response - a HttpServletResponse object.ModelAndView object.Exception - if any.public org.springframework.web.servlet.ModelAndView handleShare(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Study command)
throws Exception
command - Study command objectrequest - a HttpServletRequest object.response - a HttpServletResponse object.ModelAndView object.Exception - if any.Copyright © 2015 SeqWare. All rights reserved.