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 Aug 11, 2004
018     *
019     */
020    package org.kuali.kfs.pdp.dataaccess;
021    
022    /**
023     * This class has methods for batch maintenance.
024     */
025    public interface BatchMaintenanceDao {
026        /**
027         * This method checks if all payments in this batch have open status.
028         * 
029         * @param batchId
030         * @return true if all payments have open status, false otherwise
031         */
032        public boolean doBatchPaymentsHaveOpenStatus(Integer batchId);
033    
034        /**
035         * This method checks if all payments in this batch have held status.
036         * 
037         * @param batchId
038         * @return true if all payments have held status, false otherwise
039         */
040        public boolean doBatchPaymentsHaveHeldStatus(Integer batchId);
041    }