org.jasig.portlet.contacts.control
Class ConfigController

java.lang.Object
  extended by org.jasig.portlet.contacts.control.ConfigController

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

Author:
Chris White

Constructor Summary
ConfigController()
           
 
Method Summary
 String defaultView(org.springframework.ui.Model model, javax.portlet.RenderRequest request)
           
 DomainMap getActiveDomains(javax.portlet.PortletPreferences prefs)
           
 DomainMap getDefaultDomains(javax.portlet.PortletPreferences prefs)
           
 void setActiveDomains(javax.portlet.ActionRequest request, javax.portlet.ActionResponse response, javax.portlet.PortletPreferences prefs, DomainMap domains, org.springframework.validation.BindingResult result)
           
 void setContactDomains(Set<ContactDomain> domains)
           
 void setDefaultDomains(javax.portlet.ActionRequest request, javax.portlet.ActionResponse response, javax.portlet.PortletPreferences prefs, DomainMap domains, org.springframework.validation.BindingResult result)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigController

public ConfigController()
Method Detail

getActiveDomains

@ModelAttribute(value="domainsActive")
public DomainMap getActiveDomains(javax.portlet.PortletPreferences prefs)

getDefaultDomains

@ModelAttribute(value="domainsDefault")
public DomainMap getDefaultDomains(javax.portlet.PortletPreferences prefs)

setActiveDomains

@ActionMapping(params="action=active")
public void setActiveDomains(javax.portlet.ActionRequest request,
                                           javax.portlet.ActionResponse response,
                                           javax.portlet.PortletPreferences prefs,
                                           @ModelAttribute(value="domainsActive")
                                           DomainMap domains,
                                           org.springframework.validation.BindingResult result)
                      throws javax.portlet.ReadOnlyException,
                             IOException,
                             javax.portlet.ValidatorException
Throws:
javax.portlet.ReadOnlyException
IOException
javax.portlet.ValidatorException

setDefaultDomains

@ActionMapping(params="action=default")
public void setDefaultDomains(javax.portlet.ActionRequest request,
                                            javax.portlet.ActionResponse response,
                                            javax.portlet.PortletPreferences prefs,
                                            @ModelAttribute(value="domainsDefault")
                                            DomainMap domains,
                                            org.springframework.validation.BindingResult result)
                       throws javax.portlet.ReadOnlyException,
                              IOException,
                              javax.portlet.ValidatorException
Throws:
javax.portlet.ReadOnlyException
IOException
javax.portlet.ValidatorException

defaultView

@RenderMapping
public String defaultView(org.springframework.ui.Model model,
                                        javax.portlet.RenderRequest request)

setContactDomains

@Autowired
public void setContactDomains(Set<ContactDomain> domains)


Copyright © 2012 Jasig. All Rights Reserved.