org.jasig.portlet.emailpreview.controller
Class MailStoreConfigurationController

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

@Controller
@RequestMapping(value="CONFIG")
public class MailStoreConfigurationController
extends Object

Version:
$Revision$
Author:
Jen Bourey, jbourey@unicon.net

Field Summary
protected  org.apache.commons.logging.Log log
           
 
Constructor Summary
MailStoreConfigurationController()
           
 
Method Summary
 String getAccountFormView()
           
 Collection<IAuthenticationService> getAuthServices()
           
 List<IAuthenticationService> getAvailableAuthServices()
           
 MailStoreConfigurationForm getConfigurationForm(javax.portlet.PortletRequest req)
           
 Collection<IEmailLinkService> getLinkServices()
           
 org.springframework.web.servlet.ModelAndView getParameters(javax.portlet.ResourceRequest req, javax.portlet.ResourceResponse res, String linkServiceKey, String authServiceKey)
           
 List<String> getProtocols()
           
 Map<String,List<ConfigurationParameter>> getServiceParameters(javax.portlet.PortletRequest request)
           
 void saveAccountConfiguration(javax.portlet.ActionRequest request, javax.portlet.ActionResponse response, MailStoreConfigurationForm form, String save)
           
 void setAuthServiceRegistry(IAuthenticationServiceRegistry authServiceRegistry)
           
 void setLinkServiceRegistry(ILinkServiceRegistry linkServiceRegistry)
           
 void setProtocols(List<String> protocols)
           
 void setServiceBroker(IServiceBroker serviceBroker)
           
 
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
Constructor Detail

MailStoreConfigurationController

public MailStoreConfigurationController()
Method Detail

setServiceBroker

@Autowired(required=true)
public void setServiceBroker(IServiceBroker serviceBroker)

setProtocols

public void setProtocols(List<String> protocols)

setLinkServiceRegistry

@Autowired(required=true)
public void setLinkServiceRegistry(ILinkServiceRegistry linkServiceRegistry)

setAuthServiceRegistry

@Autowired(required=true)
public void setAuthServiceRegistry(IAuthenticationServiceRegistry authServiceRegistry)

getAccountFormView

@RequestMapping
public String getAccountFormView()

saveAccountConfiguration

@RequestMapping(params="action=updateConfiguration")
public void saveAccountConfiguration(javax.portlet.ActionRequest request,
                                                    javax.portlet.ActionResponse response,
                                                    @ModelAttribute(value="form")
                                                    MailStoreConfigurationForm form,
                                                    @RequestParam(value="save",required=false)
                                                    String save)
                              throws javax.portlet.PortletModeException
Throws:
javax.portlet.PortletModeException

getConfigurationForm

@ModelAttribute(value="form")
public MailStoreConfigurationForm getConfigurationForm(javax.portlet.PortletRequest req)

getAvailableAuthServices

@ModelAttribute(value="authServices")
public List<IAuthenticationService> getAvailableAuthServices()

getServiceParameters

@ModelAttribute(value="serviceParameters")
public Map<String,List<ConfigurationParameter>> getServiceParameters(javax.portlet.PortletRequest request)

getProtocols

@ModelAttribute(value="protocols")
public List<String> getProtocols()

getLinkServices

@ModelAttribute(value="linkServices")
public Collection<IEmailLinkService> getLinkServices()

getAuthServices

@ModelAttribute(value="authServices")
public Collection<IAuthenticationService> getAuthServices()

getParameters

@ResourceMapping(value="parameters")
public org.springframework.web.servlet.ModelAndView getParameters(javax.portlet.ResourceRequest req,
                                                                                  javax.portlet.ResourceResponse res,
                                                                                  @RequestParam(value="linkService")
                                                                                  String linkServiceKey,
                                                                                  @RequestParam(value="authService")
                                                                                  String authServiceKey)
                                                           throws IOException
Throws:
IOException


Copyright © 2012 Jasig. All Rights Reserved.