001 /*
002 * Copyright 2011 The Kuali Foundation.
003 *
004 * Licensed under the Educational Community License, Version 2.0 (the "License");
005 * you may not use this file except in compliance with the License.
006 * You may obtain a copy of the License at
007 *
008 * http://www.opensource.org/licenses/ecl2.php
009 *
010 * Unless required by applicable law or agreed to in writing, software
011 * distributed under the License is distributed on an "AS IS" BASIS,
012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013 * See the License for the specific language governing permissions and
014 * limitations under the License.
015 */
016 package org.kuali.kfs.module.bc.document.dataaccess;
017
018 import org.kuali.rice.kns.util.KualiDecimal;
019
020 public interface BudgetConstructionSalarySummaryReportDao {
021
022
023
024 /**
025 *
026 * lists all salaries, or only those flagged with a reason for increase
027 * @param principalName--the user requesting the report
028 * @param listSalariesWithReasonCodes--true if only salaries associated with a reason for increase are to be listed, false if all salaries are to be listed
029 */
030 public void updateSalaryAndReasonSummaryReportsWithoutThreshold(String principalName, boolean listSalariesWithReasonCodes);
031
032 /**
033 *
034 * lists salaries with increases at or above a threshold, or with increases at or below a threshold
035 * @param principalName--the user requesting the report
036 * @param previousFiscalYear--the fiscal year preceding the one for which the budget is being built
037 * @param reportGreaterThanOrEqualToThreshold--true if salaries increased at or above the threshold percentage are listed, false if salaries increased at or below the threshold percentage are listed
038 * @param threshold--the threshold percentage (a fraction times 100)
039 */
040 public void updateSalaryAndReasonSummaryReportsWithThreshold(String principalName, Integer previousFiscalYear, boolean reportGreaterThanOrEqualToThreshold, KualiDecimal threshold);
041
042 }
043