Class ExpressionExperimentFormController

  • All Implemented Interfaces:
    org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware, org.springframework.web.context.ServletContextAware, org.springframework.web.servlet.mvc.Controller

    public class ExpressionExperimentFormController
    extends BaseFormController
    Handle editing of expression experiments.
    Author:
    keshav
    • Field Summary

      • 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected Object formBackingObject​(javax.servlet.http.HttpServletRequest request)  
      org.springframework.web.servlet.ModelAndView onSubmit​(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Object command, org.springframework.validation.BindException errors)  
      org.springframework.web.servlet.ModelAndView processFormSubmission​(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Object command, org.springframework.validation.BindException errors)
      Default behavior for FormControllers - redirect to the successView when the cancel button has been pressed.
      protected Map<Object,​Object> referenceData​(javax.servlet.http.HttpServletRequest request)  
      void setAuditTrailService​(AuditTrailService auditTrailService)  
      void setBioAssayService​(BioAssayService bioAssayService)  
      void setBioMaterialService​(BioMaterialService bioMaterialService)  
      void setExpressionExperimentService​(ExpressionExperimentService expressionExperimentService)  
      void setExternalDatabaseService​(ExternalDatabaseService externalDatabaseService)  
      void setPersisterHelper​(Persister persisterHelper)  
      void setPreprocessorService​(PreprocessorService preprocessorService)  
      void setQuantitationTypeService​(QuantitationTypeService quantitationTypeService)  
      • Methods inherited from class org.springframework.web.servlet.mvc.SimpleFormController

        doSubmitAction, getFormView, getSuccessView, isFormChangeRequest, isFormChangeRequest, onFormChange, onFormChange, onSubmit, onSubmit, 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, checkCommand, createBinder, createCommand, getBindingErrorProcessor, getCommandClass, getCommandName, getMessageCodesResolver, getPropertyEditorRegistrars, getValidator, getValidators, getWebBindingInitializer, 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, checkAndPrepare, checkAndPrepare, getCacheSeconds, getSupportedMethods, isAlwaysMustRevalidate, isRequireSession, isUseCacheControlHeader, isUseCacheControlNoStore, isUseExpiresHeader, preventCaching, setAlwaysMustRevalidate, 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
    • Constructor Detail

      • ExpressionExperimentFormController

        public ExpressionExperimentFormController()
    • Method Detail

      • processFormSubmission

        public org.springframework.web.servlet.ModelAndView processFormSubmission​(javax.servlet.http.HttpServletRequest request,
                                                                                  javax.servlet.http.HttpServletResponse response,
                                                                                  Object command,
                                                                                  org.springframework.validation.BindException errors)
                                                                           throws Exception
        Description copied from class: BaseFormController
        Default behavior for FormControllers - redirect to the successView when the cancel button has been pressed.
        Overrides:
        processFormSubmission in class BaseFormController
        Throws:
        Exception
      • setAuditTrailService

        public void setAuditTrailService​(AuditTrailService auditTrailService)
        Parameters:
        auditTrailService - the auditTrailService to set
      • setBioAssayService

        public void setBioAssayService​(BioAssayService bioAssayService)
        Parameters:
        bioAssayService - the bioAssayService to set
      • setBioMaterialService

        public void setBioMaterialService​(BioMaterialService bioMaterialService)
        Parameters:
        bioMaterialService - the bioMaterialService to set
      • setExpressionExperimentService

        public void setExpressionExperimentService​(ExpressionExperimentService expressionExperimentService)
      • setExternalDatabaseService

        public void setExternalDatabaseService​(ExternalDatabaseService externalDatabaseService)
      • setPersisterHelper

        public void setPersisterHelper​(Persister persisterHelper)
        Parameters:
        persisterHelper - the persisterHelper to set
      • setPreprocessorService

        public void setPreprocessorService​(PreprocessorService preprocessorService)
      • setQuantitationTypeService

        public void setQuantitationTypeService​(QuantitationTypeService quantitationTypeService)
      • formBackingObject

        protected Object formBackingObject​(javax.servlet.http.HttpServletRequest request)
        Overrides:
        formBackingObject in class org.springframework.web.servlet.mvc.AbstractFormController
      • referenceData

        protected Map<Object,​Object> referenceData​(javax.servlet.http.HttpServletRequest request)
        Overrides:
        referenceData in class org.springframework.web.servlet.mvc.SimpleFormController
      • onSubmit

        public org.springframework.web.servlet.ModelAndView onSubmit​(javax.servlet.http.HttpServletRequest request,
                                                                     javax.servlet.http.HttpServletResponse response,
                                                                     Object command,
                                                                     org.springframework.validation.BindException errors)
        Overrides:
        onSubmit in class org.springframework.web.servlet.mvc.SimpleFormController