@Controller
public class ConceptMapTypeFormController
extends java.lang.Object
| Constructor and Description |
|---|
ConceptMapTypeFormController() |
| Modifier and Type | Method and Description |
|---|---|
ConceptMapType |
getConceptMapType(java.lang.Integer conceptMapTypeId) |
java.lang.String |
purgeTerm(org.springframework.web.context.request.WebRequest request,
ConceptMapType conceptMapType)
Processes requests to purge a concept map type
|
java.lang.String |
retireConceptMapType(org.springframework.web.context.request.WebRequest request,
ConceptMapType conceptMapType,
java.lang.String retireReason)
Processes requests to retire a concept map type
|
java.lang.String |
saveConceptMapType(org.springframework.web.context.request.WebRequest request,
ConceptMapType conceptMapType,
org.springframework.validation.BindingResult result)
Processes requests to save/update a concept map type
|
void |
showConceptMapTypeList(org.springframework.ui.ModelMap model,
org.springframework.web.context.request.WebRequest request)
Processes requests to display a list of the current concept map types in the database
|
java.lang.String |
showForm()
Processes requests to display the form
|
java.lang.String |
unretireConceptMapType(org.springframework.web.context.request.WebRequest request,
ConceptMapType conceptMapType)
Processes requests to unretire a concept map type
|
@RequestMapping(method=GET,
value="/admin/concepts/conceptMapType")
public java.lang.String showForm()
@RequestMapping(method=GET,
value="/admin/concepts/conceptMapTypeList")
public void showConceptMapTypeList(org.springframework.ui.ModelMap model,
org.springframework.web.context.request.WebRequest request)
model - the ModelMap objectrequest - the WebRequest object@ModelAttribute(value="conceptMapType") public ConceptMapType getConceptMapType(@RequestParam(value="conceptMapTypeId",required=false) java.lang.Integer conceptMapTypeId)
@RequestMapping(method=POST,
value="/admin/concepts/conceptMapType")
public java.lang.String saveConceptMapType(org.springframework.web.context.request.WebRequest request,
@ModelAttribute(value="conceptMapType")
ConceptMapType conceptMapType,
org.springframework.validation.BindingResult result)
request - the WebRequest objectconceptMapType - the concept map type object to save/updateresult - the BindingResult object@RequestMapping(method=POST,
value="/admin/concepts/retireConceptMapType")
public java.lang.String retireConceptMapType(org.springframework.web.context.request.WebRequest request,
@ModelAttribute(value="conceptMapType")
ConceptMapType conceptMapType,
@RequestParam(required=false,value="retireReason")
java.lang.String retireReason)
request - the WebRequest objectconceptMapType - the concept map type object to retireretireReason - the reason why the concept map type is getting retired@RequestMapping(method=POST,
value="/admin/concepts/unretireConceptMapType")
public java.lang.String unretireConceptMapType(org.springframework.web.context.request.WebRequest request,
@ModelAttribute(value="conceptMapType")
ConceptMapType conceptMapType)
request - the WebRequest objectconceptMapType - the concept map type object to unretire@RequestMapping(method=POST,
value="/admin/concepts/purgeConceptMapType")
public java.lang.String purgeTerm(org.springframework.web.context.request.WebRequest request,
@ModelAttribute(value="conceptMapType")
ConceptMapType conceptMapType)
request - the WebRequest objectconceptMapType - Copyright © 2018 OpenMRS Inc.. All Rights Reserved.