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.CriteriaprocessCommonCriteria(org.hibernate.Criteria crit, Map parameters) intpruneRequestLog(boolean commit, Map parameters) Methods inherited from class com.softslate.commerce.daos.core.BaseAdminGatewayDAOHibernate
editDeleteAssignments, editDeleteItems, incomingPropertiesByIndex, loadItems, loadItemsAndCount, loadItemsCount, loadItemsFromIDs, postChangedItemEvent, setPropertiesDynamicallyMethods 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
-
-
Constructor Details
-
RequestLogGatewayDAOHibernate
public RequestLogGatewayDAOHibernate()
-
-
Method Details
-
loadRequestLogsAndCount
- Specified by:
loadRequestLogsAndCountin interfaceRequestLogGatewayDAO- Throws:
Exception
-
editDeleteRequestLogs
- Specified by:
editDeleteRequestLogsin interfaceRequestLogGatewayDAO- Throws:
Exception
-
loadDistinctSessionIDsFromCustomerID
public Collection loadDistinctSessionIDsFromCustomerID(int parentCustomerID) throws DataAccessException - Specified by:
loadDistinctSessionIDsFromCustomerIDin interfaceRequestLogGatewayDAO- Throws:
DataAccessException
-
loadDistinctSessionIDsFromOrderID
- Specified by:
loadDistinctSessionIDsFromOrderIDin interfaceRequestLogGatewayDAO- Throws:
DataAccessException
-
processCommonCriteria
- Overrides:
processCommonCriteriain classBaseAdminGatewayDAOHibernate
-
loadRequestLogStatistics
- Specified by:
loadRequestLogStatisticsin interfaceRequestLogGatewayDAO- Throws:
DataAccessException
-
pruneRequestLog
- Specified by:
pruneRequestLogin interfaceRequestLogGatewayDAO- Throws:
DataAccessException
-
postChangingItemEvent
public Map postChangingItemEvent(Object item, Map parameters, BusinessObjectFactory bof) throws Exception - Overrides:
postChangingItemEventin classBaseAdminGatewayDAOHibernate- Throws:
Exception
-