001/* 002 * Copyright 2011 The Kuali Foundation. 003 * 004 * Licensed under the Educational Community License, Version 1.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/ecl1.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 */ 016package org.kuali.ole.vnd.batch.service; 017 018import java.util.List; 019 020import org.kuali.ole.vnd.businessobject.DebarredVendorMatch; 021import org.kuali.ole.vnd.businessobject.VendorDetail; 022 023public interface VendorExcludeService { 024 /** 025 * This method loads the epls file, retrieves and saves debarred vendors to a temp table in DB. 026 */ 027 public boolean loadEplsFile(); 028 029 /** 030 * This method retrieves the debarred vendors and match with the vendors in the system. Matches are stored in DB. 031 */ 032 public boolean matchVendors(); 033 034 /** 035 * This method purges the existing vendor records in MT table. 036 */ 037 public void purgeOldVendorRecords(); 038 039 /** 040 * This method returns the already debarred vendors in the system, which are not matched with the EPLS excluded vendors. 041 */ 042 public List<VendorDetail> getDebarredVendorsUnmatched(); 043 044 /** 045 * This method confirms the debarred vendor match record, as a debarred vendor in the DB. 046 */ 047 public void confirmDebarredVendor(int debarredVendorId); 048 049 /** 050 * This method denies the debarred vendor match record in the DB. 051 */ 052 public void denyDebarredVendor(int debarredVendorId); 053}