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.cab.service.impl;
017
018 import java.util.Collection;
019 import java.util.Iterator;
020 import java.util.Map;
021
022 import org.kuali.kfs.module.cab.dataaccess.PurchasingAccountsPayableReportDao;
023 import org.kuali.kfs.module.cab.service.PurchasingAccountsPayableReportService;
024 import org.springframework.transaction.annotation.Transactional;
025
026 @Transactional
027 public class PurchasingAccountsPayableReportServiceImpl implements PurchasingAccountsPayableReportService {
028 private static org.apache.log4j.Logger LOG = org.apache.log4j.Logger.getLogger(PurchasingAccountsPayableReportServiceImpl.class);
029 protected PurchasingAccountsPayableReportDao purApReportDao;
030
031 /**
032 * @see org.kuali.kfs.module.cab.service.PurchasingAccountsPayableReportService#findGeneralLedgers(java.util.Map)
033 */
034 public Iterator findGeneralLedgers(Map<String, String> fieldValues) {
035 LOG.debug("findGeneralLedgers() started");
036
037 return purApReportDao.findGeneralLedgers(fieldValues);
038 }
039
040 /**
041 * @see org.kuali.kfs.module.cab.service.PurchasingAccountsPayableReportService#findPurchasingAccountsPayableDocuments(java.util.Map)
042 */
043 public Collection findPurchasingAccountsPayableDocuments(Map<String, String> fieldValues) {
044 LOG.debug("findPurchasingAccountsPayableDocuments() started");
045
046 return purApReportDao.findPurchasingAccountsPayableDocuments(fieldValues);
047 }
048
049 /**
050 * Gets the purApReportDao attribute.
051 *
052 * @return Returns the purApReportDao.
053 */
054 public PurchasingAccountsPayableReportDao getPurApReportDao() {
055 return purApReportDao;
056 }
057
058 /**
059 * Sets the purApReportDao attribute value.
060 *
061 * @param purApReportDao The purApReportDao to set.
062 */
063 public void setPurApReportDao(PurchasingAccountsPayableReportDao purchasingAccountsPayableReportDao) {
064 this.purApReportDao = purchasingAccountsPayableReportDao;
065 }
066
067
068 }