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