|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.dao.support.DaoSupport
org.springframework.orm.hibernate3.support.HibernateDaoSupport
ch.tatool.app.service.impl.ModuleDAO
public class ModuleDAO
Property access object for module objects.
| Field Summary |
|---|
| Fields inherited from class org.springframework.dao.support.DaoSupport |
|---|
logger |
| Constructor Summary | |
|---|---|
ModuleDAO()
|
|
| Method Summary | |
|---|---|
void |
addModuleProperties(ModuleImpl impl,
Map<String,String> properties)
|
void |
deleteModule(Module module)
Deletes a module object. |
void |
deleteModule(ModuleInfoImpl moduleInfo)
Deletes a module |
Set<Module.Info> |
getModules(UserAccountImpl account)
Get info objects of all available module instances for an account. |
ModuleImpl |
loadModule(ModuleInfoImpl moduleInfo)
Loads a module object from the database, using the id specified in the module. |
void |
saveModule(ModuleImpl module)
Stores the module object. |
| Methods inherited from class org.springframework.orm.hibernate3.support.HibernateDaoSupport |
|---|
checkDaoConfig, convertHibernateAccessException, createHibernateTemplate, getHibernateTemplate, getSession, getSession, getSessionFactory, releaseSession, setHibernateTemplate, setSessionFactory |
| Methods inherited from class org.springframework.dao.support.DaoSupport |
|---|
afterPropertiesSet, initDao |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ModuleDAO()
| Method Detail |
|---|
public Set<Module.Info> getModules(UserAccountImpl account)
account -
public ModuleImpl loadModule(ModuleInfoImpl moduleInfo)
moduleInfo - the module to loadpublic void deleteModule(ModuleInfoImpl moduleInfo)
module - the module to load
public void addModuleProperties(ModuleImpl impl,
Map<String,String> properties)
public void saveModule(ModuleImpl module)
public void deleteModule(Module module)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||