private void setHttpParameterWorking(HttpServletRequest request, WorkCenterMgr workCenterMgr) {
   Iterator iterator = workCenterMgr.getCurrentWorking().getWorkingDetailList().iterator();
   while (iterator.hasNext()) {
     WorkingDetail workingDetail = (WorkingDetail) iterator.next();
     workingDetail.setSheetRate(request.getParameter("sheetRate" + workingDetail.getRowNo()));
     workingDetail.setAmount(request.getParameter("amount" + workingDetail.getRowNo()));
     //            workingDetail.setAssignmentDate(request.getParameter("assignmentDate" +
     // workingDetail.getRowNo()));
   }
 }
 protected void processSelectModel(
     String actionCode, String actionObject, HttpServletRequest request) throws SQLException {
   WorkCenterMgr workCenterMgr = (WorkCenterMgr) this.getManagerFromSession(request);
   String serial = actionCode.split("-")[2];
   if (actionObject.equals("Employee")) {
     Employee employee =
         (Employee)
             Utility.getObject(
                 workCenterMgr.getFindMeta(workCenterMgr.getFoundMode()).getFindList(), serial);
     if (workCenterMgr.getEntryMode().equals(Constant.WORKER_GROUP)) {
       workCenterMgr.getCurrentWorkerGroup().setLeader(employee);
     } else if (workCenterMgr.getEntryMode().equals(Constant.CREATE_WORKER)) {
       workCenterMgr.getCurrentWorker().setEmployee(employee);
       workCenterMgr.getCurrentWorkerGroupMeta().refreshDepartment(employee.getEmployeeId());
     }
   } else if (actionObject.equals("WorkerGroup")) {
     WorkerGroup workerGroup =
         (WorkerGroup)
             Utility.getObject(
                 workCenterMgr.getFindMeta(workCenterMgr.getFoundMode()).getFindList(), serial);
     workCenterMgr.getCurrentWorker().setWorkerGroup(workerGroup);
   } else if (actionObject.equals("Worker")) {
     Worker worker =
         (Worker)
             Utility.getObject(
                 workCenterMgr.getFindMeta(workCenterMgr.getFoundMode()).getFindList(), serial);
     workCenterMgr.getCurrentWorking().setWorker(worker);
     workCenterMgr.getCurrentWorking().getWorkingDetailList().clear();
   } else if (actionObject.equals("Assignment")) {
     WorkingAssignment workingAssignment =
         (WorkingAssignment)
             Utility.getObject(
                 workCenterMgr.getFindMeta(workCenterMgr.getFoundMode()).getFindList(), serial);
     if (workingAssignment != null && !workCenterMgr.getCurrentWorking().isSelected(serial)) {
       WorkingDetail workingDetail = new WorkingDetail();
       workingDetail.setWorkingAssignment(workingAssignment);
       workingDetail.setSheetQty(workingAssignment.getAssignmentQty());
       workCenterMgr.getCurrentWorking().getWorkingDetailList().add(workingDetail);
       workCenterMgr.getCurrentWorking().setDetailListRowNo();
     }
   } else if (actionObject.equals("Working")) {
     Working working =
         (Working)
             Utility.getObject(
                 workCenterMgr.getFindMeta(workCenterMgr.getFoundMode()).getFindList(), serial);
     workCenterMgr.setCurrentWorking(working);
     workCenterMgr.getCurrentWorking().populateWorkingDetailList();
     WorkingDetail workingDetail =
         (WorkingDetail)
             ((LinkedList) workCenterMgr.getCurrentWorking().getWorkingDetailList()).getFirst();
     workCenterMgr
         .getCurrentWorking()
         .populateWorker(workCenterMgr, workingDetail.getWorkingAssignment().getWorkerId());
   }
 }