@Controller
@RequestMapping(value="/admin/provider/provider.form")
public class ProviderFormController
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected org.apache.commons.logging.Log |
log |
Constructor and Description |
---|
ProviderFormController() |
Modifier and Type | Method and Description |
---|---|
Provider |
formBackingObject(java.lang.Integer providerId) |
java.util.List<ProviderAttributeType> |
getProviderAttributeTypes() |
protected void |
initBinder(org.springframework.web.bind.WebDataBinder binder) |
java.lang.String |
onSubmit(javax.servlet.http.HttpServletRequest request,
java.lang.String saveProviderButton,
java.lang.String retireProviderButton,
java.lang.String unretireProviderButton,
boolean linkToPerson,
Provider provider,
org.springframework.validation.BindingResult errors,
org.springframework.ui.ModelMap model) |
java.lang.String |
showForm() |
java.lang.String |
showForm(java.lang.Integer providerId) |
@InitBinder protected void initBinder(org.springframework.web.bind.WebDataBinder binder) throws java.lang.Exception
java.lang.Exception
@RequestMapping(method=POST) public java.lang.String onSubmit(javax.servlet.http.HttpServletRequest request, @RequestParam(required=false) java.lang.String saveProviderButton, @RequestParam(required=false) java.lang.String retireProviderButton, @RequestParam(required=false) java.lang.String unretireProviderButton, @RequestParam(required=false) boolean linkToPerson, @ModelAttribute(value="provider") Provider provider, org.springframework.validation.BindingResult errors, org.springframework.ui.ModelMap model) throws java.lang.Exception
java.lang.Exception
@ModelAttribute(value="provider") public Provider formBackingObject(@RequestParam(required=false) java.lang.Integer providerId) throws javax.servlet.ServletException
javax.servlet.ServletException
@ModelAttribute(value="providerAttributeTypes") public java.util.List<ProviderAttributeType> getProviderAttributeTypes() throws java.lang.Exception
java.lang.Exception
@RequestMapping(method=GET) public java.lang.String showForm()
public java.lang.String showForm(java.lang.Integer providerId)
Copyright © 2018 OpenMRS Inc.. All Rights Reserved.