1 /** 2 * Copyright 2004-2014 The Kuali Foundation 3 * 4 * Licensed under the Educational Community License, Version 2.0 (the "License"); 5 * 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/ecl2.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, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 package org.kuali.kpme.core.paygrade.dao; 17 18 import java.util.List; 19 20 import org.joda.time.LocalDate; 21 import org.kuali.kpme.core.paygrade.PayGradeBo; 22 23 public interface PayGradeDao { 24 /** 25 * Get paygrade as of a particular date 26 * @param payGrade 27 * @param salGroup 28 * @param asOfDate 29 * @return 30 */ 31 public PayGradeBo getPayGrade(String payGrade, String salGroup, LocalDate asOfDate); 32 /** 33 * Get paygrade by unique id 34 * @param hrPayGradeId 35 * @return 36 */ 37 public PayGradeBo getPayGrade(String hrPayGradeId); 38 39 public int getPayGradeCount(String payGrade); 40 41 List<PayGradeBo> getPayGrades(String payGrade, String payGradeDescr, String salGroup, String active, String showHistory); 42 /** 43 * Retreives a list of pay grades active on the salary group as of a specific date. 44 * @param salaryGroup 45 * @param asOfDate 46 * @return 47 */ 48 public List<PayGradeBo> getPayGradesForSalaryGroup(String salaryGroup, LocalDate asOfDate); 49 }