edu.rice.rubis.beans
Interface SB_BrowseCategories

All Superinterfaces:
javax.ejb.EJBObject, java.rmi.Remote

public interface SB_BrowseCategories
extends javax.ejb.EJBObject, java.rmi.Remote

This is the Remote Interface of the SB_BrowseCategories Bean

Version:
1.1
Author:
Emmanuel Cecchet and Julie Marguerite

Method Summary
 java.lang.String getCategories(java.lang.String regionName, java.lang.String userName, java.lang.String password)
          Get all the categories from the database.
 java.lang.String printCategory(java.lang.String name, int id)
          Display category information for the BrowseCategories servlet
 java.lang.String printCategoryByRegion(java.lang.String name, int id, int regionId)
          Display category information for the BrowseCategories servlet
 java.lang.String printCategoryToSellItem(java.lang.String name, int id, int userId)
          Display category information for the BrowseCategories servlet
 
Methods inherited from interface javax.ejb.EJBObject
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove
 

Method Detail

getCategories

public java.lang.String getCategories(java.lang.String regionName,
                                      java.lang.String userName,
                                      java.lang.String password)
                               throws java.rmi.RemoteException
Get all the categories from the database.
Returns:
a string that is the list of categories in html format
Since:
1.1

printCategory

public java.lang.String printCategory(java.lang.String name,
                                      int id)
                               throws java.rmi.RemoteException
Display category information for the BrowseCategories servlet
Returns:
a String containing HTML code
Throws:
java.rmi.RemoteException - if an error occurs
Since:
1.0

printCategoryByRegion

public java.lang.String printCategoryByRegion(java.lang.String name,
                                              int id,
                                              int regionId)
                                       throws java.rmi.RemoteException
Display category information for the BrowseCategories servlet
Returns:
a String containing HTML code
Throws:
java.rmi.RemoteException - if an error occurs
Since:
1.0

printCategoryToSellItem

public java.lang.String printCategoryToSellItem(java.lang.String name,
                                                int id,
                                                int userId)
                                         throws java.rmi.RemoteException
Display category information for the BrowseCategories servlet
Returns:
a String containing HTML code
Throws:
java.rmi.RemoteException - if an error occurs
Since:
1.0


Copyright © 2003 - ObjectWeb Consortium - All Rights Reserved.