KickJava   Java API By Example, From Geeks To Geeks.

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


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