com.softslate.commerce.daos.order
Class StateDAOBasic
java.lang.Object
com.softslate.commerce.daos.core.BaseDAO
com.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 |
|
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
state
private State state
StateDAOBasic
public StateDAOBasic()
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. 20032005