View Javadoc

1   /**
2    * Copyright 2012 The Kuali Foundation Licensed under the
3    * Educational Community License, Version 2.0 (the "License"); you may
4    * not use this file except in compliance with the License. You may
5    * obtain a copy of the License at
6    *
7    * http://www.osedu.org/licenses/ECL-2.0
8    *
9    * Unless required by applicable law or agreed to in writing,
10   * software distributed under the License is distributed on an "AS IS"
11   * BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
12   * or implied. See the License for the specific language governing
13   * permissions and limitations under the License.
14   *
15   */
16  package org.kuali.student.enrollment.class2.acal.form;
17  
18  import org.kuali.rice.krad.web.form.UifFormBase;
19  import org.kuali.student.enrollment.class2.acal.dto.AcalSearchResult;
20  
21  
22  import java.util.ArrayList;
23  import java.util.List;
24  
25  /**
26   * This class provides a form for CalendarSearch objects
27   *
28   * @author Kuali Student Team
29   */
30  public class CalendarSearchForm extends UifFormBase {
31      private String calendarType;
32      private String name;
33      private String year;
34      private List<AcalSearchResult> searchResults;
35  
36      private String selectedLineIndex;
37      private String selectedCollectionPath;
38      private boolean clickSearchButton;
39  
40      public CalendarSearchForm(){
41          super();
42          searchResults =  new ArrayList<AcalSearchResult>();
43          clickSearchButton = false;
44      }
45  
46      public String getCalendarType() {
47          return calendarType;
48      }
49  
50      public void setCalendarType(String calendarType) {
51          this.calendarType = calendarType;
52      }
53  
54      public String getName() {
55          return name;
56      }
57  
58      public void setName(String name) {
59          this.name = name;
60      }
61  
62      public String getYear() {
63          return year;
64      }
65  
66      public void setYear(String year) {
67          this.year = year;
68      }
69  
70      public String getSelectedLineIndex() {
71          return selectedLineIndex;
72      }
73  
74      public void setSelectedLineIndex(String selectedLineIndex) {
75          this.selectedLineIndex = selectedLineIndex;
76      }
77      public String getSelectedCollectionPath() {
78          return selectedCollectionPath;
79      }
80  
81      public void setSelectedCollectionPath(String selectedCollectionPath) {
82          this.selectedCollectionPath = selectedCollectionPath;
83      }
84  
85      public List<AcalSearchResult> getSearchResults() {
86          return searchResults;
87      }
88  
89      public void setSearchResults(List<AcalSearchResult> searchResults) {
90          this.searchResults = searchResults;
91      }
92  
93      public boolean isClickSearchButton() {
94          return clickSearchButton;
95      }
96  
97      public void setClickSearchButton(boolean clickSearchButton) {
98          this.clickSearchButton = clickSearchButton;
99      }
100 }