private void mergeParameterList(
     List<TaskParameter> taskParameterList, List<DbGlobalTaskDetail> dbTaskDetailList) {
   for (TaskParameter taskParameter : taskParameterList) {
     String formParameterName = taskParameter.getParameterName();
     for (DbGlobalTaskDetail dbTaskDetail : dbTaskDetailList) {
       String dbParameterName = dbTaskDetail.getParameterName();
       if (formParameterName.equals(dbParameterName)) {
         taskParameter.setParameterValue(dbTaskDetail.getParameterValue());
       }
     }
   }
 }
 private TaskParameter createTaskParameter(HtmlParameter htmlParameter) {
   TaskParameter taskParameter = new TaskParameter();
   taskParameter.setParameterName(htmlParameter.getName());
   taskParameter.setAddedVersion(htmlParameter.getAddedVersion());
   taskParameter.setRequired(htmlParameter.isRequired());
   taskParameter.setDefaultValue(htmlParameter.getDefaultValue());
   taskParameter.setChoices(htmlParameter.getChoices());
   taskParameter.setDescription(htmlParameter.getDescription());
   return taskParameter;
 }