View Javadoc
1   /*
2    * Copyright 2007 The Kuali Foundation
3    * 
4    * Licensed under the Educational Community License, Version 2.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/ecl2.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.pdp.service;
17  
18  import org.kuali.ole.pdp.businessobject.ACHBank;
19  
20  public interface AchBankService {
21  
22      /**
23       * Read the bank data from a text file and reset table to match this file. The format of the file comes from here:
24       * https://www.fededirectory.frb.org/format_ACH.cfm https://www.fededirectory.frb.org/FedACHdir.txt
25       * 
26       * @param filename
27       */
28      public boolean reloadTable(String filename);
29      
30      /**
31       * Returns the AchBank for the given routing number
32       * 
33       * @param bankRoutingNumber pk for AchBank
34       * @return AchBank
35       */
36      public ACHBank getByPrimaryId(String bankRoutingNumber);
37  }