Package com.softslate.commerce.daos.core
Class RequestLogGatewayDAOHibernate
java.lang.Object
com.softslate.commerce.daos.core.BaseDAO
com.softslate.commerce.daos.core.BaseAdminGatewayDAOHibernate
com.softslate.commerce.daos.core.RequestLogGatewayDAOHibernate
- All Implemented Interfaces:
DAOInterface
,RequestLogGatewayDAO
public class RequestLogGatewayDAOHibernate
extends BaseAdminGatewayDAOHibernate
implements RequestLogGatewayDAO
Generic DAO that runs miscellaneous queries related to the request log.
- Author:
- David Tobey
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioneditDeleteRequestLogs
(Map parameters, BusinessObjectFactory bof) loadDistinctSessionIDsFromCustomerID
(int parentCustomerID) loadDistinctSessionIDsFromOrderID
(int parentOrderID) loadRequestLogsAndCount
(Map parameters) postChangingItemEvent
(Object item, Map parameters, BusinessObjectFactory bof) org.hibernate.Criteria
processCommonCriteria
(org.hibernate.Criteria crit, Map parameters) int
pruneRequestLog
(boolean commit, Map parameters) Methods inherited from class com.softslate.commerce.daos.core.BaseAdminGatewayDAOHibernate
editDeleteAssignments, editDeleteItems, incomingPropertiesByIndex, loadItems, loadItemsAndCount, loadItemsCount, loadItemsFromIDs, postChangedItemEvent, 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
-
RequestLogGatewayDAOHibernate
public RequestLogGatewayDAOHibernate()
-
-
Method Details
-
loadRequestLogsAndCount
- Specified by:
loadRequestLogsAndCount
in interfaceRequestLogGatewayDAO
- Throws:
Exception
-
editDeleteRequestLogs
- Specified by:
editDeleteRequestLogs
in interfaceRequestLogGatewayDAO
- Throws:
Exception
-
loadDistinctSessionIDsFromCustomerID
public Collection loadDistinctSessionIDsFromCustomerID(int parentCustomerID) throws DataAccessException - Specified by:
loadDistinctSessionIDsFromCustomerID
in interfaceRequestLogGatewayDAO
- Throws:
DataAccessException
-
loadDistinctSessionIDsFromOrderID
- Specified by:
loadDistinctSessionIDsFromOrderID
in interfaceRequestLogGatewayDAO
- Throws:
DataAccessException
-
processCommonCriteria
- Overrides:
processCommonCriteria
in classBaseAdminGatewayDAOHibernate
-
loadRequestLogStatistics
- Specified by:
loadRequestLogStatistics
in interfaceRequestLogGatewayDAO
- Throws:
DataAccessException
-
pruneRequestLog
- Specified by:
pruneRequestLog
in interfaceRequestLogGatewayDAO
- Throws:
DataAccessException
-
postChangingItemEvent
public Map postChangingItemEvent(Object item, Map parameters, BusinessObjectFactory bof) throws Exception - Overrides:
postChangingItemEvent
in classBaseAdminGatewayDAOHibernate
- Throws:
Exception
-