com.softslate.commerce.daos.product
Interface AttributeDAO

All Superinterfaces:
DAOInterface
All Known Implementing Classes:
AttributeDAOBasic

public interface AttributeDAO
extends DAOInterface

Interface for a DAO to manage the npcAttribute table of the database.

Author:
David Tobey

Method Summary
 void deleteAttribute()
           
 void deleteAttribute(boolean commit)
           
 Attribute getAttribute()
           
 int getMaxAttributeID()
           
 void insertAttribute()
           
 void insertAttribute(boolean commit)
           
 void loadAttributeFromID()
           
 java.util.Collection loadAttributeOptions()
           
 void setAttribute(Attribute attribute)
           
 void updateAttribute()
           
 void updateAttribute(boolean commit)
           
 
Methods inherited from interface com.softslate.commerce.daos.core.DAOInterface
getConnection, getDaoFactory, getDataSource, getSettingsBean, getSqlMap, initialize, setConnection, setDaoFactory, setDataSource, setSettingsBean, setSqlMap
 

Method Detail

getAttribute

public Attribute getAttribute()

setAttribute

public void setAttribute(Attribute attribute)

loadAttributeFromID

public void loadAttributeFromID()
                         throws java.lang.Exception
Throws:
java.lang.Exception

getMaxAttributeID

public int getMaxAttributeID()
                      throws java.lang.Exception
Throws:
java.lang.Exception

insertAttribute

public void insertAttribute()
                     throws java.lang.Exception
Throws:
java.lang.Exception

insertAttribute

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

updateAttribute

public void updateAttribute()
                     throws java.lang.Exception
Throws:
java.lang.Exception

updateAttribute

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

deleteAttribute

public void deleteAttribute()
                     throws java.lang.Exception
Throws:
java.lang.Exception

deleteAttribute

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

loadAttributeOptions

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


Copyright © SoftSlate, Inc. 2003–2005