KickJava   Java API By Example, From Geeks To Geeks.

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


1 package org.objectweb.jonas.jtests.beans.ejbql;
2
3 import java.util.Collection JavaDoc;
4
5 // Phone EJB's local home interface
6
public interface PhoneHomeLocal extends javax.ejb.EJBLocalHome JavaDoc {
7
8   public PhoneLocal create(String JavaDoc number, byte type)
9                       throws javax.ejb.CreateException JavaDoc;
10
11   public PhoneLocal findByPrimaryKey(Object JavaDoc primaryKey)
12                       throws javax.ejb.FinderException JavaDoc;
13
14   public PhoneLocal findByNumber(String JavaDoc number)
15                       throws javax.ejb.FinderException JavaDoc;
16
17   public Collection JavaDoc findAllPhones()
18                       throws javax.ejb.FinderException JavaDoc;
19
20 }
21
Popular Tags