01: package com.titan.phone;
02:
03: import javax.ejb.CreateException;
04: import javax.ejb.FinderException;
05: import java.util.Collection;
06:
07: // Phone EJB's local home interface
08: public interface PhoneHomeLocal extends javax.ejb.EJBLocalHome {
09:
10: public PhoneLocal create(String number, byte type)
11: throws javax.ejb.CreateException;
12:
13: public PhoneLocal findByPrimaryKey(Object primaryKey)
14: throws javax.ejb.FinderException;
15:
16: public Collection findAllPhones() throws javax.ejb.FinderException;
17:
18: }
|