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.ld.batch.service;
017
018 /**
019 * Labor Ledger Year End - Inception to Date Beginning Balance process moves the Year-to-Date Total plus the Contracts and Grants
020 * Beginning Balances to the Contracts and Grants Beginning Balances of the new fiscal year for a designated group of accounts (to
021 * be identified by fund group and sub fund group).
022 */
023 public interface LaborYearEndBalanceForwardService {
024
025 /**
026 * moves the Year-to-Date Total plus the Contracts and Grants Beginning Balances to the Contracts and Grants Beginning Balances
027 * of the new fiscal year for a designated group of accounts. The fiscal year is given through application parameter table. The
028 * new fiscal year is (fiscalYear + 1) by default.
029 */
030 public void forwardBalance();
031
032 /**
033 * moves the Year-to-Date Total plus the Contracts and Grants Beginning Balances to the Contracts and Grants Beginning Balances
034 * of the new fiscal year for a designated group of accounts
035 *
036 * @param fiscalYear the fiscal year to be processed. The new fiscal year is (fiscalYear + 1) by default.
037 */
038 public void forwardBalance(Integer fiscalYear);
039
040 /**
041 * moves the Year-to-Date Total plus the Contracts and Grants Beginning Balances to the Contracts and Grants Beginning Balances
042 * of the new fiscal year for a designated group of accounts
043 *
044 * @param fiscalYear the fiscal year to be processed.
045 * @param newFiscalYear the new fiscal year
046 */
047 public void forwardBalance(Integer fiscalYear, Integer newFiscalYear);
048 }