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 TypeMethodDescriptionvoidvoiddeleteRole(boolean commit) getRole()voidvoidinsertRole(boolean commit) voidvoidvoidvoidvoidupdateRole(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, updateObjectMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
loadRoleFromIDin interfaceRoleDAO- Throws:
Exception
-
loadRoleFromCode
- Specified by:
loadRoleFromCodein interfaceRoleDAO- Throws:
DataAccessException
-
insertRole
- Specified by:
insertRolein interfaceRoleDAO- Throws:
DataAccessException
-
insertRole
- Specified by:
insertRolein interfaceRoleDAO- Throws:
DataAccessException
-
updateRole
- Specified by:
updateRolein interfaceRoleDAO- Throws:
DataAccessException
-
updateRole
- Specified by:
updateRolein interfaceRoleDAO- Throws:
DataAccessException
-
deleteRole
- Specified by:
deleteRolein interfaceRoleDAO- Throws:
DataAccessException
-
deleteRole
- Specified by:
deleteRolein interfaceRoleDAO- Throws:
DataAccessException
-