Class RoleDAOHibernate
java.lang.Object
com.softslate.commerce.daos.core.BaseDAO
com.softslate.commerce.daos.administrator.RoleDAOHibernate
- All Implemented Interfaces:
RoleDAO
,DAOInterface
Generic DAO to manage the
sscRole
table of the database.- Author:
- David Tobey
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
deleteRole
(boolean commit) getRole()
void
void
insertRole
(boolean commit) void
void
void
void
void
updateRole
(boolean commit) Methods inherited from class com.softslate.commerce.daos.core.BaseDAO
deleteObject, doWorkToSetConnection, editAssignment, evictCache, formatDateTime, getAppComponents, getAppSettings, getConnection, getDaoFactory, getDAOUtils, getDataSource, getImportExportSQL, getImportExportSqlMap, getInjector, getNamedQuery, getSettings, getSQL, getSqlMap, initialize, insertObject, loadAll, loadAll, loadObject, parseDateTime, setAppComponents, setAppSettings, setConnection, setDaoFactory, setDAOUtils, setDataSource, setImportExportSqlMap, setInjector, 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, formatDateTime, getAppComponents, getAppSettings, getConnection, getDaoFactory, getDAOUtils, getDataSource, getInjector, getSettings, getSqlMap, initialize, insertObject, loadAll, loadAll, loadObject, parseDateTime, setAppComponents, setAppSettings, setConnection, setDaoFactory, setDAOUtils, setDataSource, setInjector, setSettings, setSqlMap, updateObject
-
Field Details
-
log
static org.apache.commons.logging.Log log -
role
-
-
Constructor Details
-
RoleDAOHibernate
public RoleDAOHibernate()
-
-
Method Details
-
getRole
-
setRole
-
loadRoleFromID
- Specified by:
loadRoleFromID
in interfaceRoleDAO
- Throws:
Exception
-
loadRoleFromCode
- Specified by:
loadRoleFromCode
in interfaceRoleDAO
- Throws:
DataAccessException
-
insertRole
- Specified by:
insertRole
in interfaceRoleDAO
- Throws:
DataAccessException
-
insertRole
- Specified by:
insertRole
in interfaceRoleDAO
- Throws:
DataAccessException
-
updateRole
- Specified by:
updateRole
in interfaceRoleDAO
- Throws:
DataAccessException
-
updateRole
- Specified by:
updateRole
in interfaceRoleDAO
- Throws:
DataAccessException
-
deleteRole
- Specified by:
deleteRole
in interfaceRoleDAO
- Throws:
DataAccessException
-
deleteRole
- Specified by:
deleteRole
in interfaceRoleDAO
- Throws:
DataAccessException
-