@Controller @RequestMapping(value="/admin/person/personAttributeType.list") public class PersonAttributeTypeListController extends Object
PersonAttributeTypes.| Modifier and Type | Field and Description |
|---|---|
protected org.apache.commons.logging.Log |
log
Logger for this class and subclasses
|
| Constructor and Description |
|---|
PersonAttributeTypeListController() |
| Modifier and Type | Method and Description |
|---|---|
String |
displayPage(org.springframework.ui.ModelMap modelMap)
Show the page to the user.
|
String |
moveDown(Integer[] personAttributeTypeId,
javax.servlet.http.HttpSession httpSession)
Moves the selected types down in the order
|
String |
moveUp(Integer[] personAttributeTypeId,
javax.servlet.http.HttpSession httpSession)
Moves the selected types up one in the order
|
protected String |
updateGlobalProperties(String patientListingAttributeTypes,
String patientViewingAttributeTypes,
String patientHeaderAttributeTypes,
String userListingAttributeTypes,
String userViewingAttributeTypes,
javax.servlet.http.HttpSession httpSession)
The user has selected the bottom save button to update the GPs
|
protected final org.apache.commons.logging.Log log
@RequestMapping(method=GET) public String displayPage(org.springframework.ui.ModelMap modelMap) throws Exception
Exception@RequestMapping(method=POST,
params="action=attrs")
protected String updateGlobalProperties(String patientListingAttributeTypes,
String patientViewingAttributeTypes,
String patientHeaderAttributeTypes,
String userListingAttributeTypes,
String userViewingAttributeTypes,
javax.servlet.http.HttpSession httpSession)
patientListingAttributeTypes - patient list gppatientViewingAttributeTypes - patient viewing gppatientHeaderAttributeTypes - patient header gpuserListingAttributeTypes - user listing gpuserViewingAttributeTypes - user viewing gphttpSession - the current session@RequestMapping(method=POST,
params="action=moveup")
public String moveUp(Integer[] personAttributeTypeId,
javax.servlet.http.HttpSession httpSession)
personAttributeTypeId - list of ids to move uphttpSession - the current session@RequestMapping(method=POST,
params="action=movedown")
public String moveDown(Integer[] personAttributeTypeId,
javax.servlet.http.HttpSession httpSession)
personAttributeTypeId - list of ids to move downhttpSession - the current sessionCopyright © 2018 OpenMRS LLC.. All Rights Reserved.