Coverage Report - org.kuali.student.enrollment.acal.controller.AcademicCalendarController
 
Classes in this File Line Coverage Branch Coverage Complexity
AcademicCalendarController
0%
0/3
N/A
1
 
 1  
 /*
 2  
  * Copyright 2011 The Kuali Foundation
 3  
  * 
 4  
  * Licensed under the Educational Community License, Version 1.0 (the
 5  
  * "License"); you may not use this file except in compliance with the License.
 6  
  * You may obtain a copy of the License at
 7  
  * 
 8  
  * http://www.opensource.org/licenses/ecl1.php
 9  
  * 
 10  
  * Unless required by applicable law or agreed to in writing, software
 11  
  * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 12  
  * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 13  
  * License for the specific language governing permissions and limitations under
 14  
  * the License.
 15  
  */
 16  
 package org.kuali.student.enrollment.acal.controller;
 17  
 
 18  
 import javax.servlet.http.HttpServletRequest;
 19  
 import javax.servlet.http.HttpServletResponse;
 20  
 
 21  
 import org.kuali.rice.kns.web.spring.controller.UifControllerBase;
 22  
 import org.kuali.rice.kns.web.spring.form.UifFormBase;
 23  
 import org.springframework.stereotype.Controller;
 24  
 import org.springframework.validation.BindingResult;
 25  
 import org.springframework.web.bind.annotation.ModelAttribute;
 26  
 import org.springframework.web.bind.annotation.RequestMapping;
 27  
 import org.springframework.web.servlet.ModelAndView;
 28  
 
 29  
 import org.kuali.student.enrollment.acal.form.AcademicCalendarForm;
 30  
 
 31  
 
 32  
 @Controller
 33  
 @RequestMapping(value = "/acal")
 34  0
 public class AcademicCalendarController extends UifControllerBase {
 35  
 
 36  
   
 37  
     /**
 38  
      * @see org.kuali.rice.kns.web.spring.controller.UifControllerBase#createInitialForm(javax.servlet.http.HttpServletRequest)
 39  
      */
 40  
     @Override
 41  
     protected UifFormBase createInitialForm(HttpServletRequest request) {
 42  0
         return new AcademicCalendarForm();
 43  
     }
 44  
 
 45  
     @RequestMapping(params = "methodToCall=start")
 46  
     public ModelAndView start(@ModelAttribute("KualiForm") AcademicCalendarForm academicCalendarForm, BindingResult result,
 47  
             HttpServletRequest request, HttpServletResponse response) {
 48  
 
 49  0
         return getUIFModelAndView(academicCalendarForm);
 50  
     }
 51  
 
 52  
 }