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.integration.purap; 017 018 import java.sql.Date; 019 import java.util.Collections; 020 import java.util.List; 021 022 import org.apache.log4j.Logger; 023 024 public class PurchasingAccountsPayableModuleServiceNoOp implements PurchasingAccountsPayableModuleService { 025 026 private Logger LOG = Logger.getLogger(getClass()); 027 028 public void addAssignedAssetNumbers(Integer purchaseOrderNumber, String authorId, String noteText) { 029 LOG.warn( "Using No-Op " + getClass().getSimpleName() + " service." ); 030 } 031 032 public List<PurchasingAccountsPayableSensitiveData> getAllSensitiveDatas() { 033 LOG.warn( "Using No-Op " + getClass().getSimpleName() + " service." ); 034 return Collections.emptyList(); 035 } 036 037 public String getB2BUrlString() { 038 LOG.warn( "Using No-Op " + getClass().getSimpleName() + " service." ); 039 return ""; 040 } 041 042 public String getPurchaseOrderInquiryUrl(Integer purchaseOrderNumber) { 043 LOG.warn( "Using No-Op " + getClass().getSimpleName() + " service." ); 044 return ""; 045 } 046 047 public PurchasingAccountsPayableSensitiveData getSensitiveDataByCode(String sensitiveDataCode) { 048 LOG.warn( "Using No-Op " + getClass().getSimpleName() + " service." ); 049 return null; 050 } 051 052 public void handlePurchasingBatchCancels(String documentNumber, String financialSystemDocumentTypeCode, boolean primaryCancel, boolean disbursedPayment) { 053 LOG.warn( "Using No-Op " + getClass().getSimpleName() + " service." ); 054 } 055 056 public void handlePurchasingBatchPaids(String documentNumber, String financialSystemDocumentTypeCode, Date processDate) { 057 LOG.warn( "Using No-Op " + getClass().getSimpleName() + " service." ); 058 } 059 060 public boolean isPurchasingBatchDocument(String financialSystemDocumentTypeCode) { 061 LOG.warn( "Using No-Op " + getClass().getSimpleName() + " service." ); 062 return false; 063 } 064 065 }