1 /*
2 * Copyright 2011 The Kuali Foundation.
3 *
4 * Licensed under the Educational Community License, Version 1.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.opensource.org/licenses/ecl1.php
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16 package org.kuali.ole.vnd.batch.service;
17
18 import java.util.List;
19
20 import org.kuali.ole.vnd.businessobject.DebarredVendorMatch;
21 import org.kuali.ole.vnd.businessobject.VendorDetail;
22
23 public interface VendorExcludeService {
24 /**
25 * This method loads the epls file, retrieves and saves debarred vendors to a temp table in DB.
26 */
27 public boolean loadEplsFile();
28
29 /**
30 * This method retrieves the debarred vendors and match with the vendors in the system. Matches are stored in DB.
31 */
32 public boolean matchVendors();
33
34 /**
35 * This method purges the existing vendor records in MT table.
36 */
37 public void purgeOldVendorRecords();
38
39 /**
40 * This method returns the already debarred vendors in the system, which are not matched with the EPLS excluded vendors.
41 */
42 public List<VendorDetail> getDebarredVendorsUnmatched();
43
44 /**
45 * This method confirms the debarred vendor match record, as a debarred vendor in the DB.
46 */
47 public void confirmDebarredVendor(int debarredVendorId);
48
49 /**
50 * This method denies the debarred vendor match record in the DB.
51 */
52 public void denyDebarredVendor(int debarredVendorId);
53 }