org.jasig.portlet.emailpreview.controller
Class EmailSummaryController

java.lang.Object
  extended by org.jasig.portlet.emailpreview.controller.EmailSummaryController

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

Author:
Jen Bourey, jbourey@unicon.net, Drew Wills, drew@unicon.net

Nested Class Summary
static class EmailSummaryController.View
          Three possible views for this controller.
 
Field Summary
static String ALLOW_DELETE_PREFERENCE
           
static String DEFAULT_VIEW_PREFERENCE
           
static String PAGE_SIZE_PREFERENCE
           
static String SUPPORTS_TOGGLE_SEEN_KEY
           
static String WELCOME_INSTRUCTIONS_PREFERENCE
           
static String WELCOME_TITLE_PREFERENCE
           
 
Constructor Summary
EmailSummaryController()
           
 
Method Summary
 org.springframework.web.portlet.ModelAndView chooseView(javax.portlet.RenderRequest req, javax.portlet.RenderResponse res)
           
 void setAdminRoleName(String adminRoleName)
           
 void switchToPreview(javax.portlet.ActionRequest req, javax.portlet.ActionResponse res)
           
 void switchToRollup(javax.portlet.ActionRequest req, javax.portlet.ActionResponse res)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

WELCOME_TITLE_PREFERENCE

public static final String WELCOME_TITLE_PREFERENCE
See Also:
Constant Field Values

WELCOME_INSTRUCTIONS_PREFERENCE

public static final String WELCOME_INSTRUCTIONS_PREFERENCE
See Also:
Constant Field Values

DEFAULT_VIEW_PREFERENCE

public static final String DEFAULT_VIEW_PREFERENCE
See Also:
Constant Field Values

PAGE_SIZE_PREFERENCE

public static final String PAGE_SIZE_PREFERENCE
See Also:
Constant Field Values

ALLOW_DELETE_PREFERENCE

public static final String ALLOW_DELETE_PREFERENCE
See Also:
Constant Field Values

SUPPORTS_TOGGLE_SEEN_KEY

public static final String SUPPORTS_TOGGLE_SEEN_KEY
See Also:
Constant Field Values
Constructor Detail

EmailSummaryController

public EmailSummaryController()
Method Detail

setAdminRoleName

public void setAdminRoleName(String adminRoleName)

switchToRollup

@RequestMapping(params="action=showRollup")
public void switchToRollup(javax.portlet.ActionRequest req,
                                          javax.portlet.ActionResponse res)

switchToPreview

@RequestMapping(params="action=showPreview")
public void switchToPreview(javax.portlet.ActionRequest req,
                                           javax.portlet.ActionResponse res)

chooseView

@RequestMapping
public org.springframework.web.portlet.ModelAndView chooseView(javax.portlet.RenderRequest req,
                                                                              javax.portlet.RenderResponse res)
                                                        throws Exception
Throws:
Exception


Copyright © 2012 Jasig. All Rights Reserved.