com.softslate.commerce.daos.administrator
Class RoleDAOHibernate
java.lang.Object
com.softslate.commerce.daos.core.BaseDAO
com.softslate.commerce.daos.administrator.RoleDAOHibernate
- All Implemented Interfaces:
- RoleDAO, DAOInterface
public class RoleDAOHibernate
- extends BaseDAO
- implements RoleDAO
Generic DAO to manage the sscRole
table of the database.
- Author:
- David Tobey
Field Summary |
(package private) static org.apache.commons.logging.Log |
log
|
private Role |
role
|
Methods inherited from class com.softslate.commerce.daos.core.BaseDAO |
deleteObject, evictCache, formatDateTime, getAppComponents, getAppSettings, getConnection, getDaoFactory, getDAOUtils, getDataSource, getImportExportSQL, getImportExportSqlMap, getNamedQuery, getSettings, getSQL, getSqlMap, initialize, insertObject, loadAll, loadAll, loadObject, parseDateTime, setAppComponents, setAppSettings, setConnection, setDaoFactory, setDAOUtils, setDataSource, setImportExportSqlMap, setSettings, setSqlMap, updateObject |
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 |
deleteObject, getAppComponents, getAppSettings, getConnection, getDaoFactory, getDAOUtils, getDataSource, getSettings, getSqlMap, initialize, insertObject, loadAll, loadAll, loadObject, setAppComponents, setAppSettings, setConnection, setDaoFactory, setDAOUtils, setDataSource, setSettings, setSqlMap, updateObject |
log
static org.apache.commons.logging.Log log
role
private Role role
RoleDAOHibernate
public RoleDAOHibernate()
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
loadRoleFromCode
public void loadRoleFromCode()
throws DataAccessException
- Specified by:
loadRoleFromCode
in interface RoleDAO
- Throws:
DataAccessException
insertRole
public void insertRole()
throws DataAccessException
- Specified by:
insertRole
in interface RoleDAO
- Throws:
DataAccessException
insertRole
public void insertRole(boolean commit)
throws DataAccessException
- Specified by:
insertRole
in interface RoleDAO
- Throws:
DataAccessException
updateRole
public void updateRole()
throws DataAccessException
- Specified by:
updateRole
in interface RoleDAO
- Throws:
DataAccessException
updateRole
public void updateRole(boolean commit)
throws DataAccessException
- Specified by:
updateRole
in interface RoleDAO
- Throws:
DataAccessException
deleteRole
public void deleteRole()
throws DataAccessException
- Specified by:
deleteRole
in interface RoleDAO
- Throws:
DataAccessException
deleteRole
public void deleteRole(boolean commit)
throws DataAccessException
- Specified by:
deleteRole
in interface RoleDAO
- Throws:
DataAccessException
Copyright © SoftSlate, LLC 20032005