@Controller public class GenericMasterAjaxController extends Object
| Constructor and Description |
|---|
GenericMasterAjaxController() |
| Modifier and Type | Method and Description |
|---|---|
void |
blockByLocality(Long locality,
javax.servlet.http.HttpServletResponse response) |
void |
blockByWard(Long wardId,
javax.servlet.http.HttpServletResponse response) |
void |
getAllActiveUserByNameLike(String userName,
javax.servlet.http.HttpServletResponse response) |
void |
getBoundariesByBoundaryType(Long boundaryTypeId,
javax.servlet.http.HttpServletResponse response) |
void |
getBoundaryTypeByHierarchyType(Long hierarchyTypeId,
javax.servlet.http.HttpServletResponse response) |
void |
getRolesByUserName(String username,
javax.servlet.http.HttpServletResponse response) |
boolean |
isChildBoundaryTypePresent(Long parentId) |
boolean |
isRootBoundary(Long boundaryTypeId,
Long hierarchyTypeId) |
@RequestMapping(value="/boundarytype/ajax/boundarytypelist-for-hierarchy",
method=GET)
@ResponseBody
public void getBoundaryTypeByHierarchyType(@RequestParam
Long hierarchyTypeId,
javax.servlet.http.HttpServletResponse response)
throws IOException
IOException@RequestMapping(value="/boundaries-by-boundaryType",
method=GET)
@ResponseBody
public void getBoundariesByBoundaryType(@RequestParam
Long boundaryTypeId,
javax.servlet.http.HttpServletResponse response)
throws IOException
IOException@RequestMapping(value="/check-is-root",
method=GET)
@ResponseBody
public boolean isRootBoundary(@RequestParam
Long boundaryTypeId,
@RequestParam
Long hierarchyTypeId)
@RequestMapping(value="/boundarytype/ajax/checkchild",
method=GET)
@ResponseBody
public boolean isChildBoundaryTypePresent(@RequestParam
Long parentId)
@RequestMapping(value="/userRole/ajax/rolelist-for-user",
method=GET)
@ResponseBody
public void getRolesByUserName(@RequestParam
String username,
javax.servlet.http.HttpServletResponse response)
throws IOException
IOException@RequestMapping(value="/userRole/ajax/userlist",
method=GET,
produces="application/json")
@ResponseBody
public void getAllActiveUserByNameLike(@RequestParam
String userName,
javax.servlet.http.HttpServletResponse response)
throws IOException
IOException@RequestMapping(value={"/boundary/ajaxBoundary-blockByLocality","/public/boundary/ajaxBoundary-blockByLocality"},
method=GET)
public void blockByLocality(@RequestParam
Long locality,
javax.servlet.http.HttpServletResponse response)
throws IOException
IOException@RequestMapping(value="/boundary/ajaxBoundary-blockByWard",
method=GET)
public void blockByWard(@RequestParam
Long wardId,
javax.servlet.http.HttpServletResponse response)
throws IOException
IOExceptionCopyright © 2015–2016 eGovernments Foundation. All rights reserved.