private void populateHeaderConfiguration( SpreadsheetHeaderConfiguration headerConfiguration, ImportStoriesForm form) { headerConfiguration.setWorksheetName(form.getWorksheetName()); headerConfiguration.setTitleHeader(form.getTitleColumn()); headerConfiguration.setEndDateHeader(form.getEndDateColumn()); headerConfiguration.setEstimateHeader(form.getEstimateColumn()); headerConfiguration.setPriorityHeader(form.getPriorityColumn()); headerConfiguration.setStatusHeader(form.getStatusColumn()); }
@Override protected void setCookies( AbstractEditorForm form, ActionMapping mapping, HttpServletRequest request, HttpServletResponse response) { ImportStoriesForm importForm = (ImportStoriesForm) form; addCookie(WORKSHEET_NAME_PROPERTY_KEY, importForm.getWorksheetName(), response); addCookie(STORY_TITLE_PROPERTY_KEY, importForm.getTitleColumn(), response); addCookie(ITERATION_END_DATE_PROPERTY_KEY, importForm.getEndDateColumn(), response); addCookie(STORY_ESTIMATE_PROPERTY_KEY, importForm.getEstimateColumn(), response); addCookie(STORY_PRIORITY_PROPERTY_KEY, importForm.getPriorityColumn(), response); addCookie(STORY_STATUS_PROPERTY_KEY, importForm.getStatusColumn(), response); addCookie(ONLY_INCOMPLETE_COOKIE_NAME, "" + importForm.isOnlyIncomplete(), response); addCookie(COMPLETED_STORY_STATUS_KEY, importForm.getCompletedStatus(), response); }