protected void processEditModel(
     String actionCode, String actionObject, HttpServletRequest request) throws SQLException {
   WorkCenterMgr workCenterMgr = (WorkCenterMgr) this.getManagerFromSession(request);
   workCenterMgr.setFunctionMode(Constant.UPDATE);
   String key = actionCode.split("-")[2];
   if (actionObject.equals("WorkCenter")) {
     WorkCenter workCenter =
         (WorkCenter)
             Utility.getObject(workCenterMgr.getCurrentWorkCenterMeta().getWorkCenterList(), key);
     workCenterMgr.setCurrentWorkCenter(workCenter);
   } else if (actionObject.equals("WorkerGroup")) {
     WorkerGroup workerGroup =
         (WorkerGroup)
             Utility.getObject(
                 workCenterMgr.getCurrentWorkerGroupMeta().getWorkerGroupList(), key);
     workCenterMgr.setCurrentWorkerGroup(workerGroup);
   } else if (actionObject.equals("Worker")) {
     Worker worker =
         (Worker)
             Utility.getObject(workCenterMgr.getCurrentWorkerGroupMeta().getWorkerList(), key);
     workCenterMgr.setCurrentWorker(worker);
     workCenterMgr
         .getCurrentWorkerGroupMeta()
         .refreshDepartment(worker.getEmployee().getEmployeeId());
     worker.setDepartment(
         (SelectionOption)
             Utility.getObject(
                 workCenterMgr.getCurrentWorkerGroupMeta().getDepartmentList(),
                 worker.getDepartment().getAttributeId()));
   }
 }
 private void setHttpParameterWorker(HttpServletRequest request, WorkCenterMgr workCenterMgr) {
   Worker worker = workCenterMgr.getCurrentWorker();
   worker.setWorkerNo(request.getParameter("workerNo"));
   if (request.getParameter("isDisable") != null
       && request.getParameter("isDisable").equals("Y")) {
     worker.setDisable(true);
   } else {
     worker.setDisable(false);
   }
   worker.setDepartment(
       (SelectionOption)
           Utility.getObject(
               workCenterMgr.getCurrentWorkerGroupMeta().getDepartmentList(),
               request.getParameter("departmentList")));
 }