org.jasig.portlets.FeedbackPortlet.web
Class ViewFeedbackFormController

java.lang.Object
  extended by org.jasig.portlets.FeedbackPortlet.web.ViewFeedbackFormController

@Controller
@RequestMapping(value="VIEW")
public class ViewFeedbackFormController
extends Object

ViewFeedbackFormController allows an administrator to view feedback entries and summary statistics describing the feedback items in the data store. The view also allows admins to restrict data being viewed to particular user roles or feedback types, as well as page through large amounts of feedback items.

Author:
Jen Bourey

Field Summary
static long MILLIS_IN_A_DAY
           
 
Constructor Summary
ViewFeedbackFormController()
           
 
Method Summary
protected  void onSubmitAction(javax.portlet.ActionRequest request, javax.portlet.ActionResponse response, ViewFeedbackForm form)
           
 void setFeedbackStore(FeedbackStore feedbackStore)
           
protected  org.springframework.web.portlet.ModelAndView showForm(javax.portlet.RenderRequest request)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MILLIS_IN_A_DAY

public static final long MILLIS_IN_A_DAY
See Also:
Constant Field Values
Constructor Detail

ViewFeedbackFormController

public ViewFeedbackFormController()
Method Detail

onSubmitAction

@RequestMapping(method=POST)
protected void onSubmitAction(javax.portlet.ActionRequest request,
                                             javax.portlet.ActionResponse response,
                                             @ModelAttribute(value="viewFeedbackForm")
                                             ViewFeedbackForm form)
                       throws Exception
Throws:
Exception

showForm

@RequestMapping
protected org.springframework.web.portlet.ModelAndView showForm(javax.portlet.RenderRequest request)
                                                         throws Exception
Throws:
Exception

setFeedbackStore

public void setFeedbackStore(FeedbackStore feedbackStore)


Copyright © 2012 Jasig. All Rights Reserved.