com.softslate.commerce.daos.order
Class StateDAOBasic

java.lang.Object
  extended bycom.softslate.commerce.daos.core.BaseDAO
      extended bycom.softslate.commerce.daos.order.StateDAOBasic
All Implemented Interfaces:
DAOInterface, StateDAO

public class StateDAOBasic
extends BaseDAO
implements DAOInterface, StateDAO

Generic DAO to manage the npcState table of the database.

Author:
David Tobey

Field Summary
(package private) static org.apache.commons.logging.Log log
           
private  State state
           
 
Fields inherited from class com.softslate.commerce.daos.core.BaseDAO
 
Constructor Summary
StateDAOBasic()
           
 
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 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
 

Field Detail

log

static org.apache.commons.logging.Log log

state

private State state
Constructor Detail

StateDAOBasic

public StateDAOBasic()
Method Detail

getState

public State getState()
Specified by:
getState in interface StateDAO

setState

public void setState(State state)
Specified by:
setState in interface StateDAO

loadStateFromID

public void loadStateFromID()
                     throws java.lang.Exception
Specified by:
loadStateFromID in interface StateDAO
Throws:
java.lang.Exception

getMaxStateID

public int getMaxStateID()
                  throws java.lang.Exception
Specified by:
getMaxStateID in interface StateDAO
Throws:
java.lang.Exception

insertState

public void insertState()
                 throws java.lang.Exception
Specified by:
insertState in interface StateDAO
Throws:
java.lang.Exception

insertState

public void insertState(boolean commit)
                 throws java.lang.Exception
Specified by:
insertState in interface StateDAO
Throws:
java.lang.Exception

updateState

public void updateState()
                 throws java.lang.Exception
Specified by:
updateState in interface StateDAO
Throws:
java.lang.Exception

updateState

public void updateState(boolean commit)
                 throws java.lang.Exception
Specified by:
updateState in interface StateDAO
Throws:
java.lang.Exception

deleteState

public void deleteState()
                 throws java.lang.Exception
Specified by:
deleteState in interface StateDAO
Throws:
java.lang.Exception

deleteState

public void deleteState(boolean commit)
                 throws java.lang.Exception
Specified by:
deleteState in interface StateDAO
Throws:
java.lang.Exception


Copyright © SoftSlate, Inc. 2003–2005