com.softslate.commerce.daos.product
Interface SKUGatewayDAO

All Superinterfaces:
DAOInterface
All Known Implementing Classes:
SKUGatewayDAOHibernate

public interface SKUGatewayDAO
extends DAOInterface

Interface for a DAO that runs miscellaneous queries related to skus.

Author:
David Tobey

Method Summary
 void decrementSKU(boolean commit, int skuID, int quantity)
           
 void decrementSKU(int skuID, int quantity)
           
 void deleteOrphanedSKUs(boolean commit)
           
 void editDeleteSKUs(java.util.Map parameters, BusinessObjectFactory bof)
           
 void incrementSKU(boolean commit, int skuID, int quantity)
           
 void incrementSKU(int skuID, int quantity)
           
 java.util.Map loadSKUsAndCount(java.util.Map parameters)
           
 
Methods inherited from interface com.softslate.commerce.daos.core.DAOInterface
deleteObject, getAppComponents, getAppSettings, getConnection, getDaoFactory, getDAOUtils, getDataSource, getSettings, getSqlMap, initialize, insertObject, loadAll, loadAll, loadObject, setAppComponents, setAppSettings, setConnection, setDaoFactory, setDAOUtils, setDataSource, setSettings, setSqlMap, updateObject
 

Method Detail

loadSKUsAndCount

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

editDeleteSKUs

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

decrementSKU

void decrementSKU(int skuID,
                  int quantity)
                  throws java.lang.Exception
Throws:
java.lang.Exception

decrementSKU

void decrementSKU(boolean commit,
                  int skuID,
                  int quantity)
                  throws java.lang.Exception
Throws:
java.lang.Exception

incrementSKU

void incrementSKU(int skuID,
                  int quantity)
                  throws java.lang.Exception
Throws:
java.lang.Exception

incrementSKU

void incrementSKU(boolean commit,
                  int skuID,
                  int quantity)
                  throws java.lang.Exception
Throws:
java.lang.Exception

deleteOrphanedSKUs

void deleteOrphanedSKUs(boolean commit)
                        throws java.lang.Exception
Throws:
java.lang.Exception


Copyright ? SoftSlate, LLC 2003?2005