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    package org.kuali.kfs.module.endow.dataaccess;
017    
018    import java.sql.Date;
019    import java.util.List;
020    
021    import org.apache.ojb.broker.query.Criteria;
022    import org.apache.ojb.broker.query.QueryByCriteria;
023    import org.apache.ojb.broker.query.QueryFactory;
024    import org.apache.ojb.broker.query.ReportQueryByCriteria;
025    import org.kuali.kfs.module.endow.EndowPropertyConstants;
026    import org.kuali.kfs.module.endow.businessobject.KEMID;
027    import org.kuali.kfs.module.endow.businessobject.KemidHistoricalCash;
028    import org.kuali.kfs.module.endow.businessobject.TypeRestrictionCode;
029    import org.kuali.rice.kns.util.KualiInteger;
030    
031    public interface KemidHistoricalCashDao {
032    
033        /**
034         * Gets a collection of historical cash object
035         * 
036         * @param kemids
037         * @param medId
038         * @return
039         */
040        List<KemidHistoricalCash> getHistoricalCashRecords(List<String> kemids, KualiInteger medId);
041    
042        /**
043         * Gets a collection of historical cash
044         * 
045         * @param kemid
046         * @param beginningMed
047         * @param endingMed
048         * @return
049         */
050        List<KemidHistoricalCash> getKemidsFromHistoryCash(String kemid, KualiInteger beginningMed, KualiInteger endingMed);
051        
052        /**
053         * Gets a collection of historical cash
054         * 
055         * @param beginningMed
056         * @param endingMed
057         * @return
058         */
059        List<KemidHistoricalCash> getKemidsFromHistoryCash(KualiInteger beginningMed, KualiInteger endingMed);
060        
061        /**
062         * method to retrieve a list of END_HIST_CSH_T records for the given kemids and monthendids
063         * @param kemid
064         * @param beginningMed
065         * @param endingMed
066         */
067        List<KemidHistoricalCash> getHistoricalCashRecords(List<String> kemid, KualiInteger beginningMed, KualiInteger endingMed);
068    }