KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > titan > cruise > CruiseHomeLocal


1 package com.titan.cruise;
2
3 import com.titan.ship.*;
4 import javax.ejb.CreateException;
5 import javax.ejb.FinderException;
6 import java.util.Collection;
7
8
9 // Cruise EJB's local home interface
10
public interface CruiseHomeLocal extends javax.ejb.EJBLocalHome {
11
12     public CruiseLocal create(String name, ShipLocal ship)
13         throws javax.ejb.CreateException;
14
15     public CruiseLocal findByPrimaryKey(Object primaryKey)
16         throws javax.ejb.FinderException;
17
18     public Collection findAllCruises()
19         throws FinderException;
20
21     public CruiseLocal findByName(String name)
22         throws FinderException;
23 }
24
Popular Tags