org.opennms.acl.ui
Class AuthorityFormController

java.lang.Object
  extended by org.opennms.acl.ui.AuthorityFormController

@Controller
@RequestMapping(value="/authority.edit.page")
public class AuthorityFormController
extends Object

Authority Form Controller to insert or update an Authority

Since:
jdk 1.5.0
Author:
Massimiliano Dessì (desmax74@yahoo.it)

Constructor Summary
AuthorityFormController()
           
 
Method Summary
 void initBinder(org.springframework.web.bind.WebDataBinder binder)
           
protected  String processSubmit(AuthorityDTO authority, org.springframework.validation.BindingResult result, org.springframework.web.bind.support.SessionStatus status)
           
 String setupForm(Integer id, org.springframework.ui.ModelMap model)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthorityFormController

public AuthorityFormController()
Method Detail

processSubmit

@RequestMapping(method=POST)
protected String processSubmit(@ModelAttribute(value="authority")
                                              AuthorityDTO authority,
                                              org.springframework.validation.BindingResult result,
                                              org.springframework.web.bind.support.SessionStatus status)

initBinder

@InitBinder
public void initBinder(org.springframework.web.bind.WebDataBinder binder)
                throws Exception
Throws:
Exception

setupForm

@RequestMapping(method=GET)
public String setupForm(@RequestParam(required=false,value="aid")
                                       Integer id,
                                       org.springframework.ui.ModelMap model)


Copyright © 2009. All Rights Reserved.