public String takeActionForAudit() {
   boolean validFlag = ValidateSession.checkSession();
   if (validFlag) {
     try {
       System.out.println(">>>>>edit>>>>>");
       Map<String, Object> wherClause = new HashMap<String, Object>();
       Map<String, Object> condtnBlock = new HashMap<String, Object>();
       wherClause.put("action_type", request.getParameter("actionType"));
       wherClause.put("comments", request.getParameter("comments"));
       wherClause.put("action_by", userName);
       wherClause.put(
           "action_date_time",
           DateUtil.getCurrentDateUSFormat() + ", " + DateUtil.getCurrentTime());
       System.out.println("id>>>>>" + getId());
       condtnBlock.put("id", getId());
       boolean b =
           cbt.updateTableColomn(
               "feedback_audit_report", wherClause, condtnBlock, connectionSpace);
       if (b) {
         addActionMessage("Action Taken Successfullly!!!");
         return SUCCESS;
       } else {
         addActionMessage("Oops!!! There is some error.");
         return ERROR;
       }
     } catch (Exception e) {
       e.printStackTrace();
       return ERROR;
     }
   } else {
     return LOGIN;
   }
 }
 public String editEscalationViewConf() {
   System.out.println(">>>>>edit>>>>>");
   boolean sessionFlag = ValidateSession.checkSession();
   if (sessionFlag) {
     try {
       if (getOper().equalsIgnoreCase("edit")) {
         System.out.println(">>>>>edit>>>>>");
         Map<String, Object> wherClause = new HashMap<String, Object>();
         Map<String, Object> condtnBlock = new HashMap<String, Object>();
         List<String> requestParameterNames =
             Collections.list((Enumeration<String>) request.getParameterNames());
         Collections.sort(requestParameterNames);
         Iterator it = requestParameterNames.iterator();
         while (it.hasNext()) {
           String Parmname = it.next().toString();
           String paramValue = request.getParameter(Parmname);
           if (paramValue != null
               && !paramValue.equalsIgnoreCase("")
               && Parmname != null
               && !Parmname.equalsIgnoreCase("")
               && !Parmname.equalsIgnoreCase("id")
               && !Parmname.equalsIgnoreCase("oper")) wherClause.put(Parmname, paramValue);
         }
         condtnBlock.put("id", getId());
         cbt.updateTableColomn(
             "feedback_escalation_type_config", wherClause, condtnBlock, connectionSpace);
       } else if (getOper().equalsIgnoreCase("del")) {
         cbt.deleteAllRecordForId(
             "feedback_escalation_type_config", "id", getId(), connectionSpace);
       }
       return SUCCESS;
     } catch (Exception e) {
       e.printStackTrace();
       return ERROR;
     }
   } else {
     return LOGIN;
   }
 }