com.softslate.commerce.daos.product
Class AttributeDAOBasic
java.lang.Object
com.softslate.commerce.daos.core.BaseDAO
com.softslate.commerce.daos.product.AttributeDAOBasic
- All Implemented Interfaces:
- AttributeDAO, DAOInterface
- public class AttributeDAOBasic
- extends BaseDAO
- implements DAOInterface, AttributeDAO
Generic DAO to manage the npcAttribute
table of the database.
- Author:
- David Tobey
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
attribute
private Attribute attribute
AttributeDAOBasic
public AttributeDAOBasic()
getAttribute
public Attribute getAttribute()
- Specified by:
getAttribute
in interface AttributeDAO
setAttribute
public void setAttribute(Attribute attribute)
- Specified by:
setAttribute
in interface AttributeDAO
loadAttributeFromID
public void loadAttributeFromID()
throws java.lang.Exception
- Specified by:
loadAttributeFromID
in interface AttributeDAO
- Throws:
java.lang.Exception
getMaxAttributeID
public int getMaxAttributeID()
throws java.lang.Exception
- Specified by:
getMaxAttributeID
in interface AttributeDAO
- Throws:
java.lang.Exception
insertAttribute
public void insertAttribute()
throws java.lang.Exception
- Specified by:
insertAttribute
in interface AttributeDAO
- Throws:
java.lang.Exception
insertAttribute
public void insertAttribute(boolean commit)
throws java.lang.Exception
- Specified by:
insertAttribute
in interface AttributeDAO
- Throws:
java.lang.Exception
updateAttribute
public void updateAttribute()
throws java.lang.Exception
- Specified by:
updateAttribute
in interface AttributeDAO
- Throws:
java.lang.Exception
updateAttribute
public void updateAttribute(boolean commit)
throws java.lang.Exception
- Specified by:
updateAttribute
in interface AttributeDAO
- Throws:
java.lang.Exception
deleteAttribute
public void deleteAttribute()
throws java.lang.Exception
- Specified by:
deleteAttribute
in interface AttributeDAO
- Throws:
java.lang.Exception
deleteAttribute
public void deleteAttribute(boolean commit)
throws java.lang.Exception
- Specified by:
deleteAttribute
in interface AttributeDAO
- Throws:
java.lang.Exception
loadAttributeOptions
public java.util.Collection loadAttributeOptions()
throws java.lang.Exception
- Specified by:
loadAttributeOptions
in interface AttributeDAO
- Throws:
java.lang.Exception
Copyright © SoftSlate, Inc. 20032005