com.softslate.commerce.daos.order
Interface StateDAO

All Superinterfaces:
DAOInterface
All Known Implementing Classes:
StateDAOBasic

public interface StateDAO
extends DAOInterface

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

Author:
David Tobey

Method Summary
 void deleteState()
           
 void deleteState(boolean commit)
           
 int getMaxStateID()
           
 State getState()
           
 void insertState()
           
 void insertState(boolean commit)
           
 void loadStateFromID()
           
 void setState(State state)
           
 void updateState()
           
 void updateState(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

getState

public State getState()

setState

public void setState(State state)

loadStateFromID

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

getMaxStateID

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

insertState

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

insertState

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

updateState

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

updateState

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

deleteState

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

deleteState

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


Copyright © SoftSlate, Inc. 2003–2005