KickJava   Java API By Example, From Geeks To Geeks.

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


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.EJBHome JavaDoc;
8
9 /** This is the Home interface of the IDManager Bean */
10
11 public interface IDManagerHome extends EJBHome JavaDoc {
12
13   /**
14    * This method is used to create a new IDManager Bean.
15    *
16    * @return entity bean
17    */

18   public IDManager create() throws CreateException JavaDoc, RemoteException 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 IDManager findByPrimaryKey(IDManagerPK id) throws FinderException JavaDoc, RemoteException JavaDoc;
30
31 }
32
Popular Tags