Interface DiscountDAO
- All Superinterfaces:
DAOInterface
- All Known Implementing Classes:
DiscountDAOHibernate
Interface for a DAO to manage the
sscDiscount
table of the
database.- Author:
- David Tobey
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
deleteDiscount
(boolean commit) void
void
insertDiscount
(boolean commit) void
void
void
setDiscount
(Discount discount) void
void
updateDiscount
(boolean commit) 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
-
Method Details
-
getDiscount
Discount getDiscount() -
setDiscount
-
loadDiscountFromID
- Throws:
Exception
-
loadDiscountFromCode
- Throws:
Exception
-
insertDiscount
- Throws:
Exception
-
insertDiscount
- Throws:
Exception
-
updateDiscount
- Throws:
Exception
-
updateDiscount
- Throws:
Exception
-
deleteDiscount
- Throws:
Exception
-
deleteDiscount
- Throws:
Exception
-