KickJava   Java API By Example, From Geeks To Geeks.

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


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_ViewItem 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_ViewItem extends EJBObject, Remote {
12
13   /**
14    * Get the full description of an item and the bidding option if userId>0.
15    *
16    * @param item an <code>Item</code> value
17    * @param userId an authenticated user id
18    */

19   public String JavaDoc getItemDescription(Integer JavaDoc itemId, int userId) throws RemoteException;
20
21   /**
22    * Construct a html highlighted string.
23    * @param msg the message to display
24    * @return a string in html format
25    * @since 1.1
26    */

27   public String JavaDoc printHTMLHighlighted(String JavaDoc msg) throws RemoteException;
28
29
30 }
31
Popular Tags