KickJava   Java API By Example, From Geeks To Geeks.

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


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 SB_SearchItemsByRegion 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 SB_SearchItemsByRegion extends EJBObject, Remote {
12
13   /**
14    * Get the items in a specific category in a specific region.
15    *
16    * @return a string that is the list of items in html format
17    * @since 1.1
18    */

19   public String JavaDoc getItems(Integer JavaDoc categoryId, Integer JavaDoc regionId, int page, int nbOfItems) throws RemoteException;
20
21
22   /**
23    * Item related printed function
24    *
25    * @param item the item to display
26    * @return a string in html format
27    * @since 1.1
28    */

29   public String JavaDoc printItem(Item item) throws RemoteException;
30
31  
32 }
33
Popular Tags