1 /* 2 * Copyright 2006 The Kuali Foundation 3 * 4 * Licensed under the Educational Community License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.opensource.org/licenses/ecl2.php 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 package org.kuali.ole.gl.batch.service; 17 18 import java.util.Map; 19 20 /** 21 * An interface declaring the methods needed to run the organization reversion process 22 */ 23 public interface OrganizationReversionProcessService { 24 25 /** 26 * Runs the Organization Reversion Year End Process for the end of a fiscal year (ie, a process that 27 * runs before the fiscal year end, and thus uses current account, etc.) 28 * 29 * @param jobParameters the parameters used in the process 30 * @param organizationReversionCounts a Map of named statistics generated by running the process 31 */ 32 public void organizationReversionPriorYearAccountProcess(Map jobParameters, Map<String, Integer> organizationReversionCounts); 33 34 /** 35 * Organization Reversion Year End Process for the beginning of a fiscal year (ie, the process as it runs 36 * after the fiscal year end, thus using prior year account, etc.) 37 * 38 * @param jobParameters the parameters used in the process 39 * @param organizationReversionCounts a Map of named statistics generated by running the process 40 */ 41 public void organizationReversionCurrentYearAccountProcess(Map jobParameters, Map<String, Integer> organizationReversionCounts); 42 43 /** 44 * Returns the parameters for this organization reversion job 45 * 46 * @return a Map of standard parameters for the job 47 */ 48 public Map getJobParameters(); 49 }