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(Category category)
Category related printed functions |
java.lang.String |
printCategoryByRegion(Category category,
int regionId)
List all the categories with links to browse items by region |
java.lang.String |
printCategoryToSellItem(Category category,
int userId)
Lists all the categories and links to the sell item page |
Methods inherited from interface javax.ejb.EJBObject |
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove |
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(Category category)
throws java.rmi.RemoteException
- Category related printed functions
- Parameters:
category
- the category to display- Returns:
- a string in html format
- Since:
- 1.1
printCategoryByRegion
public java.lang.String printCategoryByRegion(Category category,
int regionId)
throws java.rmi.RemoteException
- List all the categories with links to browse items by region
- Returns:
- a string in html format
- Since:
- 1.1
printCategoryToSellItem
public java.lang.String printCategoryToSellItem(Category category,
int userId)
throws java.rmi.RemoteException
- Lists all the categories and links to the sell item page
- Returns:
- a string in html format
- Since:
- 1.1
Copyright © 2003 - ObjectWeb Consortium - All Rights Reserved.