001/* 002 * Copyright 2006 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 */ 016package org.kuali.ole.gl.service; 017 018/** 019 * This interface defines the batch jobs that would be run nightly against the pending general ledger entries. These jobs are 020 * performed to ensure the correctness of the entries. As to date, the jobs involve two functions: finding unbalanced approved 021 * documents and finding bad approved documents. 022 */ 023public interface NightlyOutService { 024 025 /** 026 * Deletes all the records that were copied to the GL. 027 */ 028 public void deleteCopiedPendingLedgerEntries(); 029 030 /** 031 * Copies the approved pending ledger entries to orign entry table 032 */ 033 public void copyApprovedPendingLedgerEntries(); 034}