@RequestMapping(value = "/icga/InternalCtrlGapAnalysisAC.html", method = RequestMethod.POST)
 public String InternalCtrlGapAnalysisACPost(HttpServletRequest request, Model model) {
   logger.debug(" :: InternalCtrlGapAnalysisAC POSt ::");
   String controlIds = "";
   List<Control> controlList = adminService.getAllControl();
   for (Control control : controlList) {
     String checkboxStatus = request.getParameter(control.getId() + "");
     if (checkboxStatus != null && Constants.CHECK_BOX_ON.equals(checkboxStatus)) {
       controlIds = controlIds + "," + control.getId();
     }
   }
   controlIds = Utils.isEmpty(controlIds) ? "" : controlIds.substring(1, controlIds.length());
   logger.debug(" ControlIds : " + controlIds);
   if (Utils.isEmpty(controlIds)) {
     Utils.setErrorMessage(
         request, Utils.getMessageBundlePropertyValue("icga.analyzeByControl.noIdisSelect"));
     return "redirect:./InternalCtrlGapAnalysisAC.html";
   }
   return "redirect:internalCtrlGapAnalysis.html?icga=0&controlIds=" + controlIds;
 }
 private void setControlActive(
     List<Control> controlList, List<Control> controlListForTable, String[] controlIds) {
   for (Control control : controlList) {
     control.setActive(false);
     for (int i = 0; i < controlIds.length; i++) {
       if (control.getId() == Long.parseLong(Utils.isEmpty(controlIds[i]) ? "0" : controlIds[i])) {
         control.setActive(true);
       }
     }
     controlListForTable.add(control);
   }
 }