edu.yale.its.tp.portlets.calendar.mvc.controller
Class EditCalendarDefinitionController

java.lang.Object
  extended by org.springframework.context.support.ApplicationObjectSupport
      extended by org.springframework.web.portlet.context.PortletApplicationObjectSupport
          extended by org.springframework.web.portlet.handler.PortletContentGenerator
              extended by org.springframework.web.portlet.mvc.AbstractController
                  extended by org.springframework.web.portlet.mvc.BaseCommandController
                      extended by org.springframework.web.portlet.mvc.AbstractFormController
                          extended by org.springframework.web.portlet.mvc.SimpleFormController
                              extended by edu.yale.its.tp.portlets.calendar.mvc.controller.EditCalendarDefinitionController
All Implemented Interfaces:
org.springframework.context.ApplicationContextAware, org.springframework.web.portlet.context.PortletContextAware, org.springframework.web.portlet.mvc.Controller

public class EditCalendarDefinitionController
extends org.springframework.web.portlet.mvc.SimpleFormController

EditCalendarDefinitionController provides a GUI for adding and editing predefined calendars.

Author:
Jen Bourey

Field Summary
 
Fields inherited from class org.springframework.web.portlet.mvc.BaseCommandController
DEFAULT_COMMAND_NAME
 
Fields inherited from class org.springframework.context.support.ApplicationObjectSupport
logger
 
Constructor Summary
EditCalendarDefinitionController()
           
 
Method Summary
protected  java.lang.Object formBackingObject(javax.portlet.PortletRequest request)
           
protected  void onSubmitAction(javax.portlet.ActionRequest request, javax.portlet.ActionResponse response, java.lang.Object command, org.springframework.validation.BindException errors)
           
 void setCalendarStore(CalendarStore calendarStore)
           
 
Methods inherited from class org.springframework.web.portlet.mvc.SimpleFormController
doSubmitAction, getFormView, getSuccessView, isFormChangeRequest, onFormChange, onFormChange, onSubmitAction, onSubmitAction, onSubmitRender, onSubmitRender, onSubmitRender, processFormSubmission, referenceData, referenceData, renderFormSubmission, setFormView, setSuccessView, showForm, showForm, suppressValidation
 
Methods inherited from class org.springframework.web.portlet.mvc.AbstractFormController
getCommand, getErrorsForNewForm, getFormSessionAttributeName, getFormSessionAttributeName, getFormSubmitParameterName, getInvalidSubmitParameterName, getRenderParameters, handleActionRequestInternal, handleInvalidSubmit, handleRenderRequestInternal, isBindOnNewForm, isFormSubmission, isInvalidSubmission, isRedirectAction, isSessionForm, onBindOnNewForm, onBindOnNewForm, passRenderParameters, renderInvalidSubmit, setBindOnNewForm, setFormSubmit, setInvalidSubmit, setRedirectAction, setRenderParameters, setSessionForm, showForm, showForm, showNewForm
 
Methods inherited from class org.springframework.web.portlet.mvc.BaseCommandController
bindAndValidate, checkCommand, createBinder, createCommand, getBindingErrorProcessor, getCommandClass, getCommandName, getMessageCodesResolver, getPropertyEditorRegistrars, getRenderCommand, getRenderCommandSessionAttributeName, getRenderErrors, getRenderErrorsSessionAttributeName, getValidator, getValidators, getWebBindingInitializer, initApplicationContext, initBinder, isValidateOnBinding, onBind, onBind, onBindAndValidate, prepareBinder, setBindingErrorProcessor, setCommandClass, setCommandName, setMessageCodesResolver, setPropertyEditorRegistrar, setPropertyEditorRegistrars, setRenderCommandAndErrors, setValidateOnBinding, setValidator, setValidators, setWebBindingInitializer, suppressBinding, useDirectFieldAccess
 
Methods inherited from class org.springframework.web.portlet.mvc.AbstractController
handleActionRequest, handleRenderRequest, isRenderWhenMinimized, isSynchronizeOnSession, setRenderWhenMinimized, setSynchronizeOnSession
 
Methods inherited from class org.springframework.web.portlet.handler.PortletContentGenerator
applyCacheSeconds, cacheForSeconds, check, checkAndPrepare, checkAndPrepare, getCacheSeconds, isRequireSession, preventCaching, setCacheSeconds, setRequireSession
 
Methods inherited from class org.springframework.web.portlet.context.PortletApplicationObjectSupport
getPortletContext, getTempDir, isContextRequired, setPortletContext
 
Methods inherited from class org.springframework.context.support.ApplicationObjectSupport
getApplicationContext, getMessageSourceAccessor, initApplicationContext, requiredContextClass, setApplicationContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EditCalendarDefinitionController

public EditCalendarDefinitionController()
Method Detail

formBackingObject

protected java.lang.Object formBackingObject(javax.portlet.PortletRequest request)
                                      throws java.lang.Exception
Overrides:
formBackingObject in class org.springframework.web.portlet.mvc.AbstractFormController
Throws:
java.lang.Exception

onSubmitAction

protected void onSubmitAction(javax.portlet.ActionRequest request,
                              javax.portlet.ActionResponse response,
                              java.lang.Object command,
                              org.springframework.validation.BindException errors)
                       throws java.lang.Exception
Overrides:
onSubmitAction in class org.springframework.web.portlet.mvc.SimpleFormController
Throws:
java.lang.Exception

setCalendarStore

public void setCalendarStore(CalendarStore calendarStore)


Copyright © 2009 Jasig. All Rights Reserved.