com.softslate.commerce.daos.product
Interface ProductGatewayDAO

All Superinterfaces:
DAOInterface
All Known Implementing Classes:
ProductGatewayDAOBasic

public interface ProductGatewayDAO
extends DAOInterface

Interface for a DAO that runs miscellaneous queries related to products and categories.

Author:
David Tobey $Id: ProductGatewayDAO.java,v 1.3 2005/07/06 23:17:01 softslat Exp $

Method Summary
 void deleteProductAttribute(int productID, int attributeID)
           
 void deleteProductAttribute(int productID, int attributeID, boolean commit)
           
 void deleteProductCategory(int productID, int categoryID)
           
 void deleteProductCategory(int productID, int categoryID, boolean commit)
           
 void editDeleteProducts(java.util.Map parameters, BusinessObjectFactory bof)
           
 void insertProductAttribute(int productID, int attributeID)
           
 void insertProductAttribute(int productID, int attributeID, boolean commit)
           
 void insertProductCategory(int productID, int categoryID)
           
 void insertProductCategory(int productID, int categoryID, boolean commit)
           
 java.util.Collection loadActiveProducts()
           
 java.util.Collection loadCategoryTree()
           
 ProductList loadProductList(ProductList productList)
           
 java.util.Map loadProductsAndCount(java.util.Map parameters)
           
 java.util.Collection loadProductSettings(java.lang.String productIDs)
           
 java.util.Collection loadSkus(java.lang.String productIDs)
           
 java.util.Collection processCategorySettings(boolean commit, java.util.Map parameters)
           
 java.util.Collection processCategorySettings(java.util.Map parameters)
           
 java.util.Collection processSettings(boolean commit, java.util.Map parameters)
           
 java.util.Collection processSettings(java.util.Map parameters)
           
 
Methods inherited from interface com.softslate.commerce.daos.core.DAOInterface
getConnection, getDaoFactory, getDataSource, getSettingsBean, getSqlMap, initialize, setConnection, setDaoFactory, setDataSource, setSettingsBean, setSqlMap
 

Method Detail

loadCategoryTree

public java.util.Collection loadCategoryTree()
                                      throws java.lang.Exception
Throws:
java.lang.Exception

loadProductList

public ProductList loadProductList(ProductList productList)
                            throws java.lang.Exception
Throws:
java.lang.Exception

loadProductsAndCount

public java.util.Map loadProductsAndCount(java.util.Map parameters)
                                   throws java.lang.Exception
Throws:
java.lang.Exception

editDeleteProducts

public void editDeleteProducts(java.util.Map parameters,
                               BusinessObjectFactory bof)
                        throws java.lang.Exception
Throws:
java.lang.Exception

loadActiveProducts

public java.util.Collection loadActiveProducts()
                                        throws java.lang.Exception
Throws:
java.lang.Exception

insertProductCategory

public void insertProductCategory(int productID,
                                  int categoryID)
                           throws java.lang.Exception
Throws:
java.lang.Exception

insertProductCategory

public void insertProductCategory(int productID,
                                  int categoryID,
                                  boolean commit)
                           throws java.lang.Exception
Throws:
java.lang.Exception

deleteProductCategory

public void deleteProductCategory(int productID,
                                  int categoryID)
                           throws java.lang.Exception
Throws:
java.lang.Exception

deleteProductCategory

public void deleteProductCategory(int productID,
                                  int categoryID,
                                  boolean commit)
                           throws java.lang.Exception
Throws:
java.lang.Exception

insertProductAttribute

public void insertProductAttribute(int productID,
                                   int attributeID)
                            throws java.lang.Exception
Throws:
java.lang.Exception

insertProductAttribute

public void insertProductAttribute(int productID,
                                   int attributeID,
                                   boolean commit)
                            throws java.lang.Exception
Throws:
java.lang.Exception

deleteProductAttribute

public void deleteProductAttribute(int productID,
                                   int attributeID)
                            throws java.lang.Exception
Throws:
java.lang.Exception

deleteProductAttribute

public void deleteProductAttribute(int productID,
                                   int attributeID,
                                   boolean commit)
                            throws java.lang.Exception
Throws:
java.lang.Exception

processSettings

public java.util.Collection processSettings(java.util.Map parameters)
                                     throws java.lang.Exception
Throws:
java.lang.Exception

processSettings

public java.util.Collection processSettings(boolean commit,
                                            java.util.Map parameters)
                                     throws java.lang.Exception
Throws:
java.lang.Exception

processCategorySettings

public java.util.Collection processCategorySettings(java.util.Map parameters)
                                             throws java.lang.Exception
Throws:
java.lang.Exception

processCategorySettings

public java.util.Collection processCategorySettings(boolean commit,
                                                    java.util.Map parameters)
                                             throws java.lang.Exception
Throws:
java.lang.Exception

loadProductSettings

public java.util.Collection loadProductSettings(java.lang.String productIDs)
                                         throws java.lang.Exception
Throws:
java.lang.Exception

loadSkus

public java.util.Collection loadSkus(java.lang.String productIDs)
                              throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © SoftSlate, Inc. 2003–2005