@Controller public class AjaxWorkFlowController extends Object
| Constructor and Description |
|---|
AjaxWorkFlowController() |
| Modifier and Type | Method and Description |
|---|---|
List<org.egov.pims.commons.Designation> |
getDesignationsByObjectType(String departmentRule,
String currentState,
String type,
String amountRule,
String additionalRule,
String pendingAction,
Long approvalDepartment) |
List<org.egov.pims.commons.Designation> |
getDesignationsByObjectTypeAndDesignation(String departmentRule,
String currentState,
String type,
String amountRule,
String additionalRule,
String pendingAction,
Long approvalDepartment,
String currentDesignation)
Temporary API to get next designations based on logged in user designation
|
String |
getWorkFlowPositionByDepartmentAndDesignation(Long approvalDepartment,
Long approvalDesignation,
javax.servlet.http.HttpServletResponse response) |
@RequestMapping(value="/ajaxWorkFlow-getDesignationsByObjectType",
method=GET,
produces="application/json")
@ResponseBody
public List<org.egov.pims.commons.Designation> getDesignationsByObjectType(@ModelAttribute(value="designations") @RequestParam
String departmentRule,
@RequestParam
String currentState,
@RequestParam
String type,
@RequestParam
String amountRule,
@RequestParam
String additionalRule,
@RequestParam
String pendingAction,
@RequestParam
Long approvalDepartment)
departmentRule - currentState - type - amountRule - additionalRule - pendingAction - approvalDepartment - @RequestMapping(value="/ajaxWorkFlow-getDesignationsByObjectTypeAndDesignation",
method=GET,
produces="application/json")
@ResponseBody
public List<org.egov.pims.commons.Designation> getDesignationsByObjectTypeAndDesignation(@ModelAttribute(value="designations") @RequestParam
String departmentRule,
@RequestParam
String currentState,
@RequestParam
String type,
@RequestParam
String amountRule,
@RequestParam
String additionalRule,
@RequestParam
String pendingAction,
@RequestParam
Long approvalDepartment,
@RequestParam
String currentDesignation)
departmentRule - currentState - type - amountRule - additionalRule - pendingAction - approvalDepartment - @RequestMapping(value="/ajaxWorkFlow-positionsByDepartmentAndDesignation",
method=GET,
produces="text/plain")
@ResponseBody
public String getWorkFlowPositionByDepartmentAndDesignation(@RequestParam
Long approvalDepartment,
@RequestParam
Long approvalDesignation,
javax.servlet.http.HttpServletResponse response)
approvalDepartment - approvalDesignation - Copyright © 2015–2017 eGovernments Foundation. All rights reserved.