KickJava   Java API By Example, From Geeks To Geeks.

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


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 IDManagerLocal extends EJBLocalObject {
12
13   /**
14    * Get IDManager id.
15    *
16    * @return IDManager id
17    * @since 1.0
18    */

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

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

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

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

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

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

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

75   public Integer JavaDoc getNextBuyNowID();
76
77 }
78
Popular Tags