Class TemplateDAOHibernate
java.lang.Object
com.softslate.commerce.daos.core.BaseDAO
com.softslate.commerce.daos.email.TemplateDAOHibernate
- All Implemented Interfaces:
DAOInterface
,TemplateDAO
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
deleteTemplate
(boolean commit) void
void
insertTemplate
(boolean commit) void
void
setTemplate
(Template template) void
void
updateTemplate
(boolean commit) 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 -
template
-
-
Constructor Details
-
TemplateDAOHibernate
public TemplateDAOHibernate()
-
-
Method Details
-
getTemplate
- Specified by:
getTemplate
in interfaceTemplateDAO
-
setTemplate
- Specified by:
setTemplate
in interfaceTemplateDAO
-
loadTemplateFromID
- Specified by:
loadTemplateFromID
in interfaceTemplateDAO
- Throws:
Exception
-
insertTemplate
- Specified by:
insertTemplate
in interfaceTemplateDAO
- Throws:
Exception
-
insertTemplate
- Specified by:
insertTemplate
in interfaceTemplateDAO
- Throws:
Exception
-
updateTemplate
- Specified by:
updateTemplate
in interfaceTemplateDAO
- Throws:
DataAccessException
-
updateTemplate
- Specified by:
updateTemplate
in interfaceTemplateDAO
- Throws:
DataAccessException
-
deleteTemplate
- Specified by:
deleteTemplate
in interfaceTemplateDAO
- Throws:
Exception
-
deleteTemplate
- Specified by:
deleteTemplate
in interfaceTemplateDAO
- Throws:
Exception
-