@Controller
@RequestMapping(value="/admin/person/personAttributeType.list")
public class PersonAttributeTypeListController
extends java.lang.Object
PersonAttributeType
s.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 |
---|---|
java.lang.String |
displayPage(org.springframework.ui.ModelMap modelMap)
Show the page to the user.
|
java.lang.String |
moveDown(java.lang.Integer[] personAttributeTypeId,
javax.servlet.http.HttpSession httpSession)
Moves the selected types down in the order
|
java.lang.String |
moveUp(java.lang.Integer[] personAttributeTypeId,
javax.servlet.http.HttpSession httpSession)
Moves the selected types up one in the order
|
protected java.lang.String |
updateGlobalProperties(java.lang.String patientListingAttributeTypes,
java.lang.String patientViewingAttributeTypes,
java.lang.String patientHeaderAttributeTypes,
java.lang.String userListingAttributeTypes,
java.lang.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 java.lang.String displayPage(org.springframework.ui.ModelMap modelMap) throws java.lang.Exception
java.lang.Exception
@RequestMapping(method=POST, params="action=attrs") protected java.lang.String updateGlobalProperties(java.lang.String patientListingAttributeTypes, java.lang.String patientViewingAttributeTypes, java.lang.String patientHeaderAttributeTypes, java.lang.String userListingAttributeTypes, java.lang.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 java.lang.String moveUp(java.lang.Integer[] personAttributeTypeId, javax.servlet.http.HttpSession httpSession)
personAttributeTypeId
- list of ids to move uphttpSession
- the current session@RequestMapping(method=POST, params="action=movedown") public java.lang.String moveDown(java.lang.Integer[] personAttributeTypeId, javax.servlet.http.HttpSession httpSession)
personAttributeTypeId
- list of ids to move downhttpSession
- the current sessionCopyright © 2018 OpenMRS Inc.. All Rights Reserved.