com.softslate.commerce.daos.product
Class SKUDAOBasic
java.lang.Object
com.softslate.commerce.daos.core.BaseDAO
com.softslate.commerce.daos.product.SKUDAOBasic
- All Implemented Interfaces:
- DAOInterface, SKUDAO
- public class SKUDAOBasic
- extends BaseDAO
- implements DAOInterface, SKUDAO
Generic DAO to manage the npcSKU
table of the database.
- Author:
- David Tobey
Field Summary |
(package private) static org.apache.commons.logging.Log |
log
|
private SKU |
sku
|
Fields inherited from class com.softslate.commerce.daos.core.BaseDAO |
|
Methods inherited from class com.softslate.commerce.daos.core.BaseDAO |
formatDateTime, getConnection, getDaoFactory, getDataSource, getSettingsBean, getSQL, getSqlMap, initialize, parseDateTime, setConnection, setDaoFactory, setDataSource, setSettingsBean, setSqlMap |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.softslate.commerce.daos.core.DAOInterface |
getConnection, getDaoFactory, getDataSource, getSettingsBean, getSqlMap, initialize, setConnection, setDaoFactory, setDataSource, setSettingsBean, setSqlMap |
log
static org.apache.commons.logging.Log log
sku
private SKU sku
SKUDAOBasic
public SKUDAOBasic()
getSKU
public SKU getSKU()
- Specified by:
getSKU
in interface SKUDAO
setSKU
public void setSKU(SKU sku)
- Specified by:
setSKU
in interface SKUDAO
loadSKUFromID
public void loadSKUFromID()
throws java.lang.Exception
- Specified by:
loadSKUFromID
in interface SKUDAO
- Throws:
java.lang.Exception
getMaxSKUID
public int getMaxSKUID()
throws java.lang.Exception
- Specified by:
getMaxSKUID
in interface SKUDAO
- Throws:
java.lang.Exception
insertSKU
public void insertSKU()
throws java.lang.Exception
- Specified by:
insertSKU
in interface SKUDAO
- Throws:
java.lang.Exception
insertSKU
public void insertSKU(boolean commit)
throws java.lang.Exception
- Specified by:
insertSKU
in interface SKUDAO
- Throws:
java.lang.Exception
updateSKU
public void updateSKU()
throws java.lang.Exception
- Specified by:
updateSKU
in interface SKUDAO
- Throws:
java.lang.Exception
updateSKU
public void updateSKU(boolean commit)
throws java.lang.Exception
- Specified by:
updateSKU
in interface SKUDAO
- Throws:
java.lang.Exception
deleteSKU
public void deleteSKU()
throws java.lang.Exception
- Specified by:
deleteSKU
in interface SKUDAO
- Throws:
java.lang.Exception
deleteSKU
public void deleteSKU(boolean commit)
throws java.lang.Exception
- Specified by:
deleteSKU
in interface SKUDAO
- Throws:
java.lang.Exception
Copyright © SoftSlate, Inc. 20032005