KickJava   Java API By Example, From Geeks To Geeks.

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


1 package edu.rice.rubis.beans;
2
3 import javax.ejb.*;
4 import java.rmi.*;
5
6 /**
7  * This is the Remote Interface of the IDManager Bean
8  * @author <a HREF="mailto:cecchet@rice.edu">Emmanuel Cecchet</a> and <a HREF="mailto:julie.marguerite@inrialpes.fr">Julie Marguerite</a>
9  * @version 1.1
10  */

11 public interface IDManager extends EJBObject, Remote {
12
13   /**
14    * Get IDManager id.
15    *
16    * @return IDManager id
17    * @exception RemoteException if an error occurs
18    * @since 1.0
19    */

20   public Integer JavaDoc getId() throws RemoteException;
21
22   /**
23    * Generate the category id.
24    *
25    * @return Value of the ID
26    * @since 1.1
27    */

28     public Integer JavaDoc getNextCategoryID() throws RemoteException;
29
30   /**
31    * Generate the region id.
32    *
33    * @return Value of the ID
34    * @since 1.1
35    */

36     public Integer JavaDoc getNextRegionID() throws RemoteException;
37
38   /**
39    * Generate the user id.
40    *
41    * @return Value of the ID
42    * @since 1.1
43    */

44   public Integer JavaDoc getNextUserID() throws RemoteException;
45
46   /**
47    * Generate the item id.
48    *
49    * @return Value of the ID
50    * @since 1.1
51    */

52   public Integer JavaDoc getNextItemID() throws RemoteException;
53
54   /**
55    * Generate the comment id.
56    *
57    * @return Value of the ID
58    * @since 1.1
59    */

60   public Integer JavaDoc getNextCommentID() throws RemoteException;
61
62   /**
63    * Generate the bid id.
64    *
65    * @return Value of the ID
66    * @since 1.1
67    */

68   public Integer JavaDoc getNextBidID() throws RemoteException;
69
70   /**
71    * Generate the buyNow id.
72    *
73    * @return Value of the ID
74    * @since 1.1
75    */

76   public Integer JavaDoc getNextBuyNowID() throws RemoteException;
77
78 }
79
Popular Tags