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    /*
017     * Created on Sep 2, 2004
018     *
019     */
020    package org.kuali.kfs.pdp.dataaccess;
021    
022    import java.util.Iterator;
023    
024    import org.kuali.kfs.pdp.businessobject.GlPendingTransaction;
025    
026    /**
027     * DAO Interface for <code>GlPendingTransaction</code>
028     */
029    public interface PendingTransactionDao {
030    
031        /**
032         * Get all of the GL transactions where the extract flag is null
033         * 
034         * @return Iterator of all the transactions
035         */
036        public Iterator<GlPendingTransaction> getUnextractedTransactions();
037        
038        /**
039         * Deletes all transaction records where the process indicator is true
040         */
041        public void clearExtractedTransactions();
042    }