View Javadoc
1   /*
2    * The Kuali Financial System, a comprehensive financial management system for higher education.
3    * 
4    * Copyright 2005-2014 The Kuali Foundation
5    * 
6    * This program is free software: you can redistribute it and/or modify
7    * it under the terms of the GNU Affero General Public License as
8    * published by the Free Software Foundation, either version 3 of the
9    * License, or (at your option) any later version.
10   * 
11   * This program is distributed in the hope that it will be useful,
12   * but WITHOUT ANY WARRANTY; without even the implied warranty of
13   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14   * GNU Affero General Public License for more details.
15   * 
16   * You should have received a copy of the GNU Affero General Public License
17   * along with this program.  If not, see <http://www.gnu.org/licenses/>.
18   */
19  package org.kuali.kfs.module.ld.batch.service;
20  
21  /**
22   * Labor Ledger Year End - Inception to Date Beginning Balance process moves the Year-to-Date Total plus the Contracts and Grants
23   * Beginning Balances to the Contracts and Grants Beginning Balances of the new fiscal year for a designated group of accounts (to
24   * be identified by fund group and sub fund group).
25   */
26  public interface LaborYearEndBalanceForwardService {
27  
28      /**
29       * moves the Year-to-Date Total plus the Contracts and Grants Beginning Balances to the Contracts and Grants Beginning Balances
30       * of the new fiscal year for a designated group of accounts. The fiscal year is given through application parameter table. The
31       * new fiscal year is (fiscalYear + 1) by default.
32       */
33      public void forwardBalance();
34  
35      /**
36       * moves the Year-to-Date Total plus the Contracts and Grants Beginning Balances to the Contracts and Grants Beginning Balances
37       * of the new fiscal year for a designated group of accounts
38       * 
39       * @param fiscalYear the fiscal year to be processed. The new fiscal year is (fiscalYear + 1) by default.
40       */
41      public void forwardBalance(Integer fiscalYear);
42  
43      /**
44       * moves the Year-to-Date Total plus the Contracts and Grants Beginning Balances to the Contracts and Grants Beginning Balances
45       * of the new fiscal year for a designated group of accounts
46       * 
47       * @param fiscalYear the fiscal year to be processed.
48       * @param newFiscalYear the new fiscal year
49       */
50      public void forwardBalance(Integer fiscalYear, Integer newFiscalYear);
51  }