Package com.softslate.commerce.daos.core
Class BaseAdminGatewayDAOHibernate
java.lang.Object
com.softslate.commerce.daos.core.BaseDAO
com.softslate.commerce.daos.core.BaseAdminGatewayDAOHibernate
- All Implemented Interfaces:
DAOInterface
- Direct Known Subclasses:
AdministratorGatewayDAOHibernate
,AttributeGatewayDAOHibernate
,BasicTaxRateGatewayDAOHibernate
,CategoryGatewayDAOHibernate
,CountryGatewayDAOHibernate
,CustomerAddressGatewayDAOHibernate
,CustomerGatewayDAOHibernate
,CustomerWishListGatewayDAOHibernate
,DiscountGatewayDAOHibernate
,DiscountRangeGatewayDAOHibernate
,EmailGatewayDAOHibernate
,EmailOptOutGatewayDAOHibernate
,ManufacturerGatewayDAOHibernate
,OptionGatewayDAOHibernate
,OrderDeliveryGatewayDAOHibernate
,OrderDiscountGatewayDAOHibernate
,OrderGatewayDAOHibernate
,OrderItemAttributeGatewayDAOHibernate
,OrderItemGatewayDAOHibernate
,OrderShippingRuleGatewayDAOHibernate
,PaymentGatewayDAOHibernate
,ProductGatewayDAOHibernate
,ProductReviewGatewayDAOHibernate
,ProductSettingGatewayDAOHibernate
,RequestLogGatewayDAOHibernate
,RoleGatewayDAOHibernate
,SettingsDAOHibernate
,ShippingMethodGatewayDAOHibernate
,ShippingRateGatewayDAOHibernate
,ShippingRuleGatewayDAOHibernate
,ShippingRuleRangeGatewayDAOHibernate
,SKUGatewayDAOHibernate
,StateGatewayDAOHibernate
,TemplateGatewayDAOHibernate
- Author:
- David Tobey
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioneditDeleteAssignments
(Map parameters, Object item, BusinessObjectFactory bof, int index) editDeleteItems
(Map parameters, BusinessObjectFactory bof) incomingPropertiesByIndex
(Map parameters, int index) loadItemsAndCount
(Map parameters) int
loadItemsCount
(Map parameters) loadItemsFromIDs
(String[] itemIDs, String table, String module) postChangedItemEvent
(Object item, Map parameters, BusinessObjectFactory bof) postChangingItemEvent
(Object item, Map parameters, BusinessObjectFactory bof) org.hibernate.Criteria
processCommonCriteria
(org.hibernate.Criteria crit, Map parameters) void
setPropertiesDynamically
(Map parameters, Object item, int index) 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
-
BaseAdminGatewayDAOHibernate
public BaseAdminGatewayDAOHibernate()
-
-
Method Details
-
loadItemsFromIDs
- Throws:
Exception
-
editDeleteItems
- Throws:
Exception
-
setPropertiesDynamically
- Throws:
Exception
-
incomingPropertiesByIndex
- Throws:
Exception
-
postChangingItemEvent
public Map postChangingItemEvent(Object item, Map parameters, BusinessObjectFactory bof) throws Exception - Throws:
Exception
-
postChangedItemEvent
public Map postChangedItemEvent(Object item, Map parameters, BusinessObjectFactory bof) throws Exception - Throws:
Exception
-
editDeleteAssignments
public Map editDeleteAssignments(Map parameters, Object item, BusinessObjectFactory bof, int index) throws Exception - Throws:
Exception
-
loadItemsAndCount
- Throws:
Exception
-
loadItems
- Throws:
DataAccessException
-
loadItemsCount
- Throws:
DataAccessException
-
processCommonCriteria
-