@Controller
@RequestMapping(value="/admin/encounters")
public class EncounterRoleFormController
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected org.apache.commons.logging.Log |
log
Logger for this class and subclasses
|
Constructor and Description |
---|
EncounterRoleFormController() |
Modifier and Type | Method and Description |
---|---|
EncounterRole |
formBackingObject(java.lang.Integer encounterRoleId) |
java.lang.String |
getEncounterList(org.springframework.ui.ModelMap modelMap) |
java.lang.String |
purge(javax.servlet.http.HttpSession session,
EncounterRole encounterRole,
org.springframework.validation.BindingResult errors) |
java.lang.String |
retire(javax.servlet.http.HttpSession session,
EncounterRole encounterRole,
org.springframework.validation.BindingResult errors) |
java.lang.String |
save(javax.servlet.http.HttpSession session,
EncounterRole encounterRole,
org.springframework.validation.BindingResult errors) |
java.lang.String |
showForm() |
java.lang.String |
unretire(javax.servlet.http.HttpSession session,
EncounterRole encounterRole,
org.springframework.validation.BindingResult errors) |
protected final org.apache.commons.logging.Log log
@RequestMapping(value="/encounterRole.form", method=POST, params="saveEncounterRole") public java.lang.String save(javax.servlet.http.HttpSession session, @ModelAttribute(value="encounterRole") EncounterRole encounterRole, org.springframework.validation.BindingResult errors) throws java.lang.Exception
session
- HttpSession for the userencounterRole
- encounterRole object submitted from the formerrors
- list of errors if exists @return logical view name to resolvejava.lang.Exception
@RequestMapping(value="/encounterRole.form", method=POST, params="retire") public java.lang.String retire(javax.servlet.http.HttpSession session, @ModelAttribute(value="encounterRole") EncounterRole encounterRole, org.springframework.validation.BindingResult errors) throws java.lang.Exception
session
- HttpSession for the userencounterRole
- encounterRole object submitted from the formerrors
- list of errors if exists @return logical view name to resolvejava.lang.Exception
@RequestMapping(value="/encounterRole.form", method=POST, params="unretire") public java.lang.String unretire(javax.servlet.http.HttpSession session, @ModelAttribute(value="encounterRole") EncounterRole encounterRole, org.springframework.validation.BindingResult errors) throws java.lang.Exception
session
- HttpSession for the userencounterRole
- encounterRole object submitted from the formerrors
- list of errors if exists @return logical view name to resolvejava.lang.Exception
@RequestMapping(value="/encounterRole.form", method=POST, params="purge") public java.lang.String purge(javax.servlet.http.HttpSession session, @ModelAttribute(value="encounterRole") EncounterRole encounterRole, org.springframework.validation.BindingResult errors) throws java.lang.Exception
session
- HttpSession for the userencounterRole
- encounterRole object submitted from the formerrors
- list of errors if exists @return logical view name to resolvejava.lang.Exception
@ModelAttribute(value="encounterRole") public EncounterRole formBackingObject(@RequestParam(required=false) java.lang.Integer encounterRoleId) throws javax.servlet.ServletException
javax.servlet.ServletException
@RequestMapping(value="/encounterRole.form", method=GET) public java.lang.String showForm()
@RequestMapping(value="/encounterRole.list", method=GET) public java.lang.String getEncounterList(org.springframework.ui.ModelMap modelMap)
modelMap
- Copyright © 2018 OpenMRS Inc.. All Rights Reserved.