com.softslate.commerce.daos.administrator
Class RoleDAOBasic
java.lang.Object
com.softslate.commerce.daos.core.BaseDAO
com.softslate.commerce.daos.administrator.RoleDAOBasic
- All Implemented Interfaces:
- DAOInterface, RoleDAO
- public class RoleDAOBasic
- extends BaseDAO
- implements RoleDAO
Generic DAO to manage the npcRole
table of the database.
- Author:
- David Tobey
Field Summary |
(package private) static org.apache.commons.logging.Log |
log
|
private Role |
role
|
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
role
private Role role
RoleDAOBasic
public RoleDAOBasic()
getRole
public Role getRole()
- Specified by:
getRole
in interface RoleDAO
setRole
public void setRole(Role role)
- Specified by:
setRole
in interface RoleDAO
loadRoleFromID
public void loadRoleFromID()
throws java.lang.Exception
- Specified by:
loadRoleFromID
in interface RoleDAO
- Throws:
java.lang.Exception
loadRole
public void loadRole()
throws java.lang.Exception
- Specified by:
loadRole
in interface RoleDAO
- Throws:
java.lang.Exception
getMaxRoleID
public int getMaxRoleID()
throws java.lang.Exception
- Specified by:
getMaxRoleID
in interface RoleDAO
- Throws:
java.lang.Exception
insertRole
public void insertRole()
throws java.lang.Exception
- Specified by:
insertRole
in interface RoleDAO
- Throws:
java.lang.Exception
insertRole
public void insertRole(boolean commit)
throws java.lang.Exception
- Specified by:
insertRole
in interface RoleDAO
- Throws:
java.lang.Exception
updateRole
public void updateRole()
throws java.lang.Exception
- Specified by:
updateRole
in interface RoleDAO
- Throws:
java.lang.Exception
updateRole
public void updateRole(boolean commit)
throws java.lang.Exception
- Specified by:
updateRole
in interface RoleDAO
- Throws:
java.lang.Exception
deleteRole
public void deleteRole()
throws java.lang.Exception
- Specified by:
deleteRole
in interface RoleDAO
- Throws:
java.lang.Exception
deleteRole
public void deleteRole(boolean commit)
throws java.lang.Exception
- Specified by:
deleteRole
in interface RoleDAO
- Throws:
java.lang.Exception
Copyright © SoftSlate, Inc. 20032005