public class SampleController
extends org.springframework.web.servlet.mvc.multiaction.MultiActionController
DEFAULT_COMMAND_NAME, LAST_MODIFIED_METHOD_SUFFIX, PAGE_NOT_FOUND_LOG_CATEGORY, pageNotFoundLogger
Constructor and Description |
---|
SampleController()
Constructor for SampleController.
|
SampleController(Object delegate)
Constructor for SampleController.
|
Modifier and Type | Method and Description |
---|---|
ExperimentService |
getExperimentService()
Getter for the field
experimentService . |
OrganismService |
getOrganismService()
Getter for the field
organismService . |
SampleService |
getSampleService()
Getter for the field
sampleService . |
org.springframework.validation.Validator |
getValidator()
Getter for the field
validator . |
org.springframework.web.servlet.ModelAndView |
handleCancel(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Sample 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,
Sample command)
Handles the user's request to delete their sample.
|
org.springframework.web.servlet.ModelAndView |
handleReset(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Sample command)
Handles the user's request to reset the sample page during a new or update sample.
|
org.springframework.web.servlet.ModelAndView |
handleSubmit(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Sample 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,
Sample command)
Handles the user's request to update their study.
|
void |
setExperimentService(ExperimentService experimentService)
Setter for the field
experimentService . |
void |
setOrganismService(OrganismService organismService)
Setter for the field
organismService . |
void |
setSampleService(SampleService sampleService)
Setter for the field
sampleService . |
void |
setValidator(org.springframework.validation.Validator validator)
Setter for the field
validator . |
bind, createBinder, getCommandName, getExceptionHandler, getLastModified, getMethodNameResolver, getValidators, getWebBindingInitializer, handleNoSuchRequestHandlingMethod, handleRequestInternal, initBinder, invokeNamedMethod, newCommandObject, setDelegate, setMethodNameResolver, setValidators, setWebBindingInitializer
handleRequest, isSynchronizeOnSession, setSynchronizeOnSession
applyCacheSeconds, applyCacheSeconds, cacheForSeconds, cacheForSeconds, checkAndPrepare, checkAndPrepare, getCacheSeconds, getSupportedMethods, isAlwaysMustRevalidate, isRequireSession, isUseCacheControlHeader, isUseCacheControlNoStore, isUseExpiresHeader, preventCaching, setAlwaysMustRevalidate, setCacheSeconds, setRequireSession, setSupportedMethods, setUseCacheControlHeader, setUseCacheControlNoStore, setUseExpiresHeader
getServletContext, getTempDir, getWebApplicationContext, initApplicationContext, initServletContext, isContextRequired, setServletContext
public org.springframework.validation.Validator getValidator()
Getter for the field validator
.
Validator
object.public void setValidator(org.springframework.validation.Validator validator)
Setter for the field validator
.
validator
- a Validator
object.public SampleService getSampleService()
Getter for the field sampleService
.
SampleService
object.public void setSampleService(SampleService sampleService)
Setter for the field sampleService
.
sampleService
- a SampleService
object.public ExperimentService getExperimentService()
Getter for the field experimentService
.
ExperimentService
object.public void setExperimentService(ExperimentService experimentService)
Setter for the field experimentService
.
experimentService
- a ExperimentService
object.public OrganismService getOrganismService()
Getter for the field organismService
.
OrganismService
object.public void setOrganismService(OrganismService organismService)
Setter for the field organismService
.
organismService
- a OrganismService
object.public org.springframework.web.servlet.ModelAndView handleSubmit(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Sample 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, Sample command) throws Exception
command
- Sample 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, Sample 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, Sample 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, Sample command) throws Exception
command
- Sample command objectrequest
- a HttpServletRequest
object.response
- a HttpServletResponse
object.ModelAndView
object.Exception
- if any.Copyright © 2015 SeqWare. All rights reserved.