View Javadoc

1   /**
2    * Copyright 2011-2012 The Kuali Foundation Licensed under the Educational
3    * Community License, Version 2.0 (the "License"); you may not use this file
4    * except in compliance with the License. You may obtain a copy of the License
5    * at
6    *
7    * http://www.osedu.org/licenses/ECL-2.0
8    *
9    * Unless required by applicable law or agreed to in writing, software
10   * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11   * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12   * License for the specific language governing permissions and limitations under
13   * the License.
14   */
15  package org.kuali.mobility.academics.dao;
16  
17  import java.util.List;
18  import java.util.Map;
19  
20  
21  import org.kuali.mobility.academics.entity.Career;
22  import org.kuali.mobility.academics.entity.CatalogNumber;
23  import org.kuali.mobility.academics.entity.SearchResult;
24  import org.kuali.mobility.academics.entity.Section;
25  import org.kuali.mobility.academics.entity.Subject;
26  import org.kuali.mobility.academics.entity.Term;
27  
28  public interface AcademicsDao {
29  
30      public List<? extends Term> getTerms ();
31      
32      public List<? extends Term> getTerms(Map<String, String> query);
33  
34      public void setTerms(List<? extends Term> terms);
35  
36      public List<? extends Career> getCareers(Map<String, String> query);
37  
38      public void setCareers(List<? extends Career> careers);
39  
40      public List<? extends Subject> getSubjects(final Map<String, String> query);
41  
42      public void setSubjects(List<? extends Subject> subjects);
43  
44      public List<? extends CatalogNumber> getCatalogNumbers(Map<String, String> query);
45  
46      public List<? extends Section> getSections(Map<String, String> query);
47  
48      public Section getSectionDetail(Section section);
49  
50      public SearchResult getSearchResults( Map<String,String[]> query );
51  
52      public List<? extends Section> getMyClassSchedule(Map<String, String> query);
53  }