01: package com.titan.cruise;
02:
03: import com.titan.ship.*;
04: import javax.ejb.CreateException;
05: import javax.ejb.FinderException;
06: import java.util.Collection;
07:
08: // Cruise EJB's local home interface
09: public interface CruiseHomeLocal extends javax.ejb.EJBLocalHome {
10:
11: public CruiseLocal create(String name, ShipLocal ship)
12: throws javax.ejb.CreateException;
13:
14: public CruiseLocal findByPrimaryKey(Object primaryKey)
15: throws javax.ejb.FinderException;
16:
17: public Collection findAllCruises() throws FinderException;
18:
19: public CruiseLocal findByName(String name) throws FinderException;
20: }
|