Coverage Report - org.kuali.student.core.enumerationmanagement.dao.EnumerationManagementDAO
 
Classes in this File Line Coverage Branch Coverage Complexity
EnumerationManagementDAO
N/A
N/A
1
 
 1  
 /**
 2  
  * Copyright 2010 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.core.enumerationmanagement.dao;
 17  
 
 18  
 import java.util.Date;
 19  
 import java.util.List;
 20  
 
 21  
 import org.kuali.student.core.dao.CrudDao;
 22  
 import org.kuali.student.core.dao.SearchableDao;
 23  
 import org.kuali.student.core.enumerationmanagement.entity.EnumeratedValue;
 24  
 import org.kuali.student.core.enumerationmanagement.entity.Enumeration;
 25  
 import org.kuali.student.core.exceptions.DoesNotExistException;
 26  
 
 27  
 public interface EnumerationManagementDAO extends CrudDao, SearchableDao{
 28  
 
 29  
     public List<Enumeration> findEnumerations();
 30  
     
 31  
     public Enumeration addEnumeration(Enumeration entity);
 32  
 
 33  
     public boolean removeEnumeration(String enumerationKey);
 34  
     
 35  
     public List<EnumeratedValue> fetchEnumeratedValuesWithContextAndDate(String enumerationKey, String enumContextKey, String contextValue, Date contextDate);
 36  
    
 37  
     public List<EnumeratedValue> fetchEnumeratedValuesWithContext(String enumerationKey, String enumContextKey, String contextValue);
 38  
    
 39  
     public List<EnumeratedValue> fetchEnumeratedValuesWithDate(String enumerationKey, Date contextDate);
 40  
     
 41  
     public List<EnumeratedValue> fetchEnumeratedValues(String enumerationKey);
 42  
     
 43  
     public EnumeratedValue addEnumeratedValue(String enumerationKey, EnumeratedValue value);
 44  
 
 45  
     public EnumeratedValue updateEnumeratedValue(Enumeration enumeration, String code, EnumeratedValue value);
 46  
 
 47  
     public boolean removeEnumeratedValue(String enumerationKey, String code);
 48  
 
 49  
     
 50  
 }