com.sun.j2ee.blueprints.shoppingcart.catalog.ejb
Interface Catalog


public interface Catalog
extends javax.ejb.EJBObject

This interface is the remote interface for the catalog EJB. It provides the ejb-tier implementation of the catalog model, although for technical reasons (its methods cant throw RemoteException if the corresponding methods of CatalogModel dont) it does not implement the CatalogModel interface.


Method Summary
 ListChunk getCategories(int startIndex, int count, java.util.Locale locale)
           
 Category getCategory(java.lang.String categoryId, java.util.Locale locale)
           
 Item getItem(java.lang.String itemId, java.util.Locale locale)
           
 ListChunk getItems(java.lang.String productId, int startIndex, int count, java.util.Locale locale)
           
 Product getProduct(java.lang.String productId, java.util.Locale locale)
           
 ListChunk getProducts(java.lang.String categoryId, int startIndex, int count, java.util.Locale locale)
           
 ListChunk searchProducts(java.util.Collection keyWords, int startIndex, int count, java.util.Locale locale)
           
 
Methods inherited from interface javax.ejb.EJBObject
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove
 

Method Detail

getCategory

public Category getCategory(java.lang.String categoryId,
                            java.util.Locale locale)
                     throws java.rmi.RemoteException

getCategories

public ListChunk getCategories(int startIndex,
                               int count,
                               java.util.Locale locale)
                        throws java.rmi.RemoteException

getProducts

public ListChunk getProducts(java.lang.String categoryId,
                             int startIndex,
                             int count,
                             java.util.Locale locale)
                      throws java.rmi.RemoteException

getProduct

public Product getProduct(java.lang.String productId,
                          java.util.Locale locale)
                   throws java.rmi.RemoteException

getItems

public ListChunk getItems(java.lang.String productId,
                          int startIndex,
                          int count,
                          java.util.Locale locale)
                   throws java.rmi.RemoteException

getItem

public Item getItem(java.lang.String itemId,
                    java.util.Locale locale)
             throws java.rmi.RemoteException

searchProducts

public ListChunk searchProducts(java.util.Collection keyWords,
                                int startIndex,
                                int count,
                                java.util.Locale locale)
                         throws java.rmi.RemoteException


Copyright © 2000 Sun Microsystems Inc. All Rights Reserved.