KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > edu > rice > rubis > beans > IDManagerLocalHome


1 package edu.rice.rubis.beans;
2
3 import java.rmi.RemoteException JavaDoc;
4 import javax.ejb.CreateException JavaDoc;
5 import javax.ejb.FinderException JavaDoc;
6 import javax.ejb.RemoveException JavaDoc;
7 import javax.ejb.EJBLocalHome JavaDoc;
8
9 /** This is the Home interface of the IDManager Bean */
10
11 public interface IDManagerLocalHome extends EJBLocalHome JavaDoc {
12
13   /**
14    * This method is used to create a new IDManager Bean.
15    *
16    * @return entity bean
17    */

18   public IDManagerLocal create() throws CreateException JavaDoc, RemoveException JavaDoc;
19
20
21   /**
22    * This method is used to retrieve a IDManager Bean from its primary key,
23    * that is to say its id (in that case 0).
24    *
25    * @param id IDManager id (primary key)
26    *
27    * @return the IDManager if found else null
28    */

29   public IDManagerLocal findByPrimaryKey(IDManagerPK id) throws FinderException JavaDoc;
30
31 }
32
Popular Tags