com.softslate.commerce.daos.product
Interface AttributeGatewayDAO

All Superinterfaces:
DAOInterface
All Known Implementing Classes:
AttributeGatewayDAOHibernate

public interface AttributeGatewayDAO
extends DAOInterface

Interface for a DAO that runs miscellaneous queries related to basic attributes.

Author:
David Tobey

Method Summary
 void editDeleteAttributes(java.util.Map parameters, BusinessObjectFactory bof)
           
 void insertProductAttribute(ProductAttribute pa)
           
 void insertProductAttribute(ProductAttribute pa, boolean commit)
           
 java.util.Collection loadAllAttributes()
           
 java.util.Collection loadAllAttributesInRange(int firstID, int lastID)
           
 java.util.Map loadAttributesAndCount(java.util.Map parameters)
           
 int loadMaxAttributeID()
           
 
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

loadAttributesAndCount

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

editDeleteAttributes

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

loadAllAttributes

java.util.Collection loadAllAttributes()
                                       throws java.lang.Exception
Throws:
java.lang.Exception

insertProductAttribute

void insertProductAttribute(ProductAttribute pa)
                            throws DataAccessException
Throws:
DataAccessException

insertProductAttribute

void insertProductAttribute(ProductAttribute pa,
                            boolean commit)
                            throws DataAccessException
Throws:
DataAccessException

loadMaxAttributeID

int loadMaxAttributeID()
                       throws java.lang.Exception
Throws:
java.lang.Exception

loadAllAttributesInRange

java.util.Collection loadAllAttributesInRange(int firstID,
                                              int lastID)
                                              throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © SoftSlate, LLC 2003–2005