com.softslate.commerce.daos.product
Interface DiscountDAO
- All Superinterfaces:
- DAOInterface
- All Known Implementing Classes:
- DiscountDAOHibernate
public interface DiscountDAO
- extends DAOInterface
Interface for a DAO to manage the sscDiscount
table of the
database.
- Author:
- David Tobey
Methods inherited from interface com.softslate.commerce.daos.core.DAOInterface |
deleteObject, getAppComponents, getAppSettings, getConnection, getDaoFactory, getDAOUtils, getDataSource, getSettings, getSqlMap, initialize, insertObject, loadAll, loadAll, loadObject, setAppComponents, setAppSettings, setConnection, setDaoFactory, setDAOUtils, setDataSource, setSettings, setSqlMap, updateObject |
getDiscount
Discount getDiscount()
setDiscount
void setDiscount(Discount discount)
loadDiscountFromID
void loadDiscountFromID()
throws java.lang.Exception
- Throws:
java.lang.Exception
loadDiscountFromCode
void loadDiscountFromCode()
throws java.lang.Exception
- Throws:
java.lang.Exception
insertDiscount
void insertDiscount()
throws java.lang.Exception
- Throws:
java.lang.Exception
insertDiscount
void insertDiscount(boolean commit)
throws java.lang.Exception
- Throws:
java.lang.Exception
updateDiscount
void updateDiscount()
throws java.lang.Exception
- Throws:
java.lang.Exception
updateDiscount
void updateDiscount(boolean commit)
throws java.lang.Exception
- Throws:
java.lang.Exception
deleteDiscount
void deleteDiscount()
throws java.lang.Exception
- Throws:
java.lang.Exception
deleteDiscount
void deleteDiscount(boolean commit)
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © SoftSlate, LLC 20032005