org.jasig.portlet.emailpreview.controller
Class EmailAccountSummaryController

java.lang.Object
  extended by org.jasig.portlet.emailpreview.controller.BaseEmailController
      extended by org.jasig.portlet.emailpreview.controller.EmailAccountSummaryController

@Controller
@RequestMapping(value="VIEW")
public class EmailAccountSummaryController
extends BaseEmailController

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

Field Summary
static String FORCE_REFRESH_PARAMETER
           
static String INBOX_NAME_DEFAULT
           
static String INBOX_NAME_PREFERENCE
           
static String INBOX_NAME_UNDEFINED
           
static String KEY_ACCOUNT_SUMMARY
           
static String KEY_EMAIL_QUOTA_LIMIT
           
static String KEY_EMAIL_QUOTA_USAGE
           
static String KEY_ERROR
           
static String KEY_INBOX_URL
           
protected  org.apache.commons.logging.Log log
           
 
Fields inherited from class org.jasig.portlet.emailpreview.controller.BaseEmailController
serviceBroker
 
Constructor Summary
EmailAccountSummaryController()
           
 
Method Summary
 org.springframework.web.portlet.ModelAndView getAccountSummary(javax.portlet.ResourceRequest req, javax.portlet.ResourceResponse res, int start, int max, String folder)
           
 
Methods inherited from class org.jasig.portlet.emailpreview.controller.BaseEmailController
getEmailAccountService, getServiceBroker
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected final org.apache.commons.logging.Log log

FORCE_REFRESH_PARAMETER

public static final String FORCE_REFRESH_PARAMETER
See Also:
Constant Field Values

KEY_ACCOUNT_SUMMARY

public static final String KEY_ACCOUNT_SUMMARY
See Also:
Constant Field Values

KEY_INBOX_URL

public static final String KEY_INBOX_URL
See Also:
Constant Field Values

KEY_ERROR

public static final String KEY_ERROR
See Also:
Constant Field Values

KEY_EMAIL_QUOTA_LIMIT

public static final String KEY_EMAIL_QUOTA_LIMIT
See Also:
Constant Field Values

KEY_EMAIL_QUOTA_USAGE

public static final String KEY_EMAIL_QUOTA_USAGE
See Also:
Constant Field Values

INBOX_NAME_PREFERENCE

public static final String INBOX_NAME_PREFERENCE
See Also:
Constant Field Values

INBOX_NAME_DEFAULT

public static final String INBOX_NAME_DEFAULT
See Also:
Constant Field Values

INBOX_NAME_UNDEFINED

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

EmailAccountSummaryController

public EmailAccountSummaryController()
Method Detail

getAccountSummary

@ResourceMapping(value="accountSummary")
public org.springframework.web.portlet.ModelAndView getAccountSummary(javax.portlet.ResourceRequest req,
                                                                                      javax.portlet.ResourceResponse res,
                                                                                      @RequestParam(value="pageStart")
                                                                                      int start,
                                                                                      @RequestParam(value="numberOfMessages")
                                                                                      int max,
                                                                                      @RequestParam(value="inboxFolder",required=false)
                                                                                      String folder)
                                                               throws IOException
Throws:
IOException


Copyright © 2013 Jasig. All Rights Reserved.