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);
   }
 }
 private void setControlInActive(List<Control> controlList, List<Control> controlListForTable) {
   for (Control control1 : controlList) {
     control1.setActive(false);
     controlListForTable.add(control1);
   }
 }