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 BudgetConstructionReasonStatisticsReportDao { 021 022 /** 023 * clears any previous report data for the current user out of the reason statistics report table 024 * 025 * @param principalName--the user requesting the report 026 */ 027 public void cleanReportsReasonStatisticsTable(String principalName); 028 029 030 /** 031 * 032 * report salary reason statistics for people at or above or at or below a given threshold percent 033 * @param principalName--the user running this report 034 * @param previousFiscalYear--the fiscal year preceding the one for which we are building a budget 035 * @param reportIncreasesAtOrAboveTheThreshold--true if we report increases at or above the threshold, false otherwise 036 * @param thresholdPercent--the threshold percent (fraction times 100) increase 037 */ 038 public void updateReasonStatisticsReportsWithAThreshold(String principalName, Integer previousFiscalYear, boolean reportIncreasesAtOrAboveTheThreshold, KualiDecimal thresholdPercent); 039 040 /** 041 * 042 * report salary reason statistics for everyone 043 * @param principalName--the user running this report 044 * @param previousFiscalYear--the fiscal year preceding the one for which we are building a budget 045 */ 046 public void updateReasonStatisticsReportsWithoutAThreshold(String principalName, Integer previousFiscalYear); 047 048 049 } 050