edu.rice.rubis.beans
Interface CategoryLocal

All Superinterfaces:
javax.ejb.EJBLocalObject

public interface CategoryLocal
extends javax.ejb.EJBLocalObject

This is the local Interface of the Category Bean

Version:
1.0
Author:
Emmanuel Cecchet and Julie Marguerite

Method Summary
 java.lang.Integer getId()
          Get category's id.
 java.lang.String getName()
          Get the category name.
 java.lang.String printCategory()
          Display category information for the BrowseCategories servlet
 java.lang.String printCategoryByRegion(int regionId)
          Display category information for the BrowseCategories servlet
 java.lang.String printCategoryToSellItem(int userId)
          Display category information for the BrowseCategories servlet
 void setName(java.lang.String newName)
          Set category's name
 
Methods inherited from interface javax.ejb.EJBLocalObject
getEJBLocalHome, getPrimaryKey, isIdentical, remove
 

Method Detail

getId

public java.lang.Integer getId()
Get category's id.
Returns:
category id

getName

public java.lang.String getName()
Get the category name.
Returns:
category name

setName

public void setName(java.lang.String newName)
Set category's name
Parameters:
newName - category name

printCategory

public java.lang.String printCategory()
Display category information for the BrowseCategories servlet
Returns:
a String containing HTML code
Since:
1.0

printCategoryByRegion

public java.lang.String printCategoryByRegion(int regionId)
Display category information for the BrowseCategories servlet
Returns:
a String containing HTML code
Since:
1.0

printCategoryToSellItem

public java.lang.String printCategoryToSellItem(int userId)
Display category information for the BrowseCategories servlet
Returns:
a String containing HTML code
Since:
1.0


Copyright © 2003 - ObjectWeb Consortium - All Rights Reserved.