@Controller @RequestMapping(value="/employee") public class EmployeeAjaxController extends Object
| Constructor and Description |
|---|
EmployeeAjaxController() |
| Modifier and Type | Method and Description |
|---|---|
List<org.egov.pims.commons.Designation> |
getAllDesignationsByNameLike(String designationName) |
List<org.egov.pims.commons.Position> |
getPositionForDeptAndDesig(Long deptId,
Long desigId,
Date fromDate,
Date toDate,
String positionName,
boolean primary) |
boolean |
getPrimaryAssignmentsForPosition(Long positionId,
Long assignmentId) |
@RequestMapping(value="/ajax/designations",
method=GET,
produces="application/json")
@ResponseBody
public List<org.egov.pims.commons.Designation> getAllDesignationsByNameLike(@ModelAttribute(value="employeeBean") @RequestParam
String designationName)
@RequestMapping(value="/ajax/positions",
method=GET,
produces="application/json")
@ResponseBody
public List<org.egov.pims.commons.Position> getPositionForDeptAndDesig(@ModelAttribute(value="employeeBean") @RequestParam
Long deptId,
@RequestParam
Long desigId,
@RequestParam
Date fromDate,
@RequestParam
Date toDate,
@RequestParam
String positionName,
@RequestParam
boolean primary)
Copyright © 2015–2016 eGovernments Foundation. All rights reserved.