Class AdministratorGatewayDAOHibernate
java.lang.Object
com.softslate.commerce.daos.core.BaseDAO
com.softslate.commerce.daos.core.BaseAdminGatewayDAOHibernate
com.softslate.commerce.daos.administrator.AdministratorGatewayDAOHibernate
- All Implemented Interfaces:
AdministratorGatewayDAO
,DAOInterface
public class AdministratorGatewayDAOHibernate
extends BaseAdminGatewayDAOHibernate
implements AdministratorGatewayDAO
Generic DAO that runs miscellaneous queries for the administrator
application.
- Author:
- David Tobey
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioneditDeleteAdministrators
(Map parameters, BusinessObjectFactory bof) loadAdministratorsAndCount
(Map parameters) processApiLogin
(String apiLoginID, String apiAuthenticationToken) processLogin
(User user) processLogin
(String administratorUserName, String administratorPassword) Methods inherited from class com.softslate.commerce.daos.core.BaseAdminGatewayDAOHibernate
editDeleteAssignments, editDeleteItems, incomingPropertiesByIndex, loadItems, loadItemsAndCount, loadItemsCount, loadItemsFromIDs, postChangedItemEvent, postChangingItemEvent, processCommonCriteria, setPropertiesDynamically
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
-
-
Constructor Details
-
AdministratorGatewayDAOHibernate
public AdministratorGatewayDAOHibernate()
-
-
Method Details
-
processLogin
- Specified by:
processLogin
in interfaceAdministratorGatewayDAO
- Throws:
Exception
-
processLogin
public Map processLogin(String administratorUserName, String administratorPassword) throws Exception - Specified by:
processLogin
in interfaceAdministratorGatewayDAO
- Throws:
Exception
-
processApiLogin
public Administrator processApiLogin(String apiLoginID, String apiAuthenticationToken) throws Exception - Specified by:
processApiLogin
in interfaceAdministratorGatewayDAO
- Throws:
Exception
-
loadAdministratorsAndCount
- Specified by:
loadAdministratorsAndCount
in interfaceAdministratorGatewayDAO
- Throws:
Exception
-
editDeleteAdministrators
- Specified by:
editDeleteAdministrators
in interfaceAdministratorGatewayDAO
- Throws:
Exception
-