1   package org.wcb.model.manager;
2   
3   import org.wcb.model.vo.hibernate.AirportBO;
4   import org.wcb.exception.ManagerException;
5   
6   import java.util.List;
7   import java.util.Collection;
8   
9   /**
10   * <small>
11   * <p/>
12   * Copyright (c)  2006  wbogaardt.
13   * Permission is granted to copy, distribute and/or modify this document
14   * under the terms of the GNU Free Documentation License, Version 1.2
15   * or any later version published by the Free Software Foundation;
16   * with no Invariant Sections, no Front-Cover Texts, and no Back-Cover
17   * Texts.  A copy of the license is included in the section entitled "GNU
18   * Free Documentation License".
19   * <p/>
20   * $File:  $ <br>
21   * $Change:  $ submitted by $Author: wbogaardt $ at $DateTime: Mar 31, 2006 1:06:20 PM $ <br>
22   * </small>
23   *
24   * @author wbogaardt
25   * @version 1
26   *          Date: Mar 31, 2006
27   *          Time: 1:06:20 PM
28   */
29  public interface IAirportManager extends IBaseManager {
30      List<AirportBO> findAll() throws ManagerException;
31  
32      AirportBO findByAirportFaa(String faaCode) throws ManagerException;
33  
34      void saveOrUpdateAirport(AirportBO airport) throws ManagerException;
35  
36      void saveOrUpdateAirports(Collection<AirportBO> airports) throws ManagerException;
37  
38      void deleteAirportEntry(AirportBO arpt) throws ManagerException;
39  }