KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > jonas > jtests > beans > ejbql > ShipHomeLocal


1 package org.objectweb.jonas.jtests.beans.ejbql;
2
3 import java.util.Collection JavaDoc;
4
5 import javax.ejb.FinderException JavaDoc;
6
7 // Ship EJB's local home interface
8
public interface ShipHomeLocal extends javax.ejb.EJBLocalHome JavaDoc {
9
10     public ShipLocal create(Integer JavaDoc primaryKey, String JavaDoc name, double tonnage)
11     throws javax.ejb.CreateException JavaDoc;
12
13     public ShipLocal findByPrimaryKey(Object JavaDoc primaryKey)
14     throws javax.ejb.FinderException JavaDoc;
15
16     public Collection JavaDoc findAllShips()
17     throws FinderException JavaDoc;
18
19     public Collection JavaDoc findByTonnage(Double JavaDoc tonnage)
20     throws javax.ejb.FinderException JavaDoc;
21
22     public Collection JavaDoc findByTonnage(Double JavaDoc tonnage1, Double JavaDoc tonnage2)
23     throws javax.ejb.FinderException JavaDoc;
24
25 }
26
Popular Tags