/*
* The Kuali Financial System, a comprehensive financial management system for higher education.
*
* Copyright 2005-2014 The Kuali Foundation
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.kuali.kfs.module.cg.report.service;
import java.io.ByteArrayOutputStream;
import org.kuali.kfs.module.cg.report.ContractsGrantsReportDataHolder;
import org.kuali.kfs.sys.report.ReportInfo;
/**
* This class defines the methods for Contracts & Grants Award Balances Reports.
*/
public interface ContractsGrantsAwardBalancesReportService {
/**
* This method generates the report.
*
* @param reportDataHolder
* @param reportInfo
* @param baos
* @return
*/
public String generateReport(ContractsGrantsReportDataHolder reportDataHolder, ByteArrayOutputStream baos);
/**
* This method generates the report onto the byteArrayOutputStream provided.
*
* @param reportDataHolder
* @param reportInfo
* @param baos
* @return
*/
public String generateReport(ContractsGrantsReportDataHolder reportDataHolder, ReportInfo reportInfo, ByteArrayOutputStream baos);
}