@Controller public class AjaxEmployeePositionController extends Object
| Constructor and Description |
|---|
AjaxEmployeePositionController() |
| Modifier and Type | Method and Description |
|---|---|
Map<Long,String> |
getEmployeeForDeptAndDesig(String employeeName) |
Map<Long,String> |
getPosition(String positionName) |
Map<Long,String> |
getPositionForDeptAndDesig(String positionName) |
@RequestMapping(value="/ajax/getpositionEmployee",
method=GET,
produces="application/json")
@ResponseBody
public Map<Long,String> getPositionForDeptAndDesig(@ModelAttribute(value="employeeBean") @RequestParam
String positionName)
@RequestMapping(value="/ajax/getposition",
method=GET,
produces="application/json")
@ResponseBody
public Map<Long,String> getPosition(@ModelAttribute(value="employeeBean") @RequestParam
String positionName)
Copyright © 2015–2017 eGovernments Foundation. All rights reserved.