User: janaudy
Date: 00/05/22 09:58:33
Modified: webstore/src/org/jboss/zol/webstore/ejbs/product
ProductEntityHome.java
Log:
Revision Changes Path
1.2 +8 -0
zola/webstore/src/org/jboss/zol/webstore/ejbs/product/ProductEntityHome.java
Index: ProductEntityHome.java
===================================================================
RCS file:
/products/cvs/ejboss/zola/webstore/src/org/jboss/zol/webstore/ejbs/product/ProductEntityHome.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- ProductEntityHome.java 2000/05/10 14:36:37 1.1
+++ ProductEntityHome.java 2000/05/22 16:58:33 1.2
@@ -30,6 +30,14 @@
public ProductEntity findByPrimaryKey(ProductEntityPK _productPK)
throws FinderException, RemoteException;
+ /**
+ * Find products by category
+ * @param cat The category
+ * @return a collection of this products
+ */
+ public Collection findProductsByCategory(String category)
+ throws FinderException, RemoteException;
+
/**
* Return all products that have their price between low and high
* @param low