|
||||||||||
| 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
org.ikasan.console.module.dao.HibernateModuleDao
public class HibernateModuleDao
Hibernate implementation of the ModuleDao
| Field Summary |
|---|
| Fields inherited from class org.springframework.dao.support.DaoSupport |
|---|
logger |
| Constructor Summary | |
|---|---|
HibernateModuleDao()
|
|
| Method Summary | |
|---|---|
Set<Module> |
findAllModules()
Get a Set of all Modules or an empty Set if none are found |
Set<Module> |
findModules(Set<Long> modulesIds)
Get a list of all Modules matching the Set of ids passed in |
Module |
getModule(Long moduleId)
Returns the Module for the given id (or returns null) |
| 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 HibernateModuleDao()
| Method Detail |
|---|
public Module getModule(Long moduleId)
ModuleDaoModule for the given id (or returns null)
getModule in interface ModuleDaomoduleId - Module id to search on
Module for the given id (or null)ModuleDao.getModule(Long)public Set<Module> findAllModules()
ModuleDao
findAllModules in interface ModuleDaoModuleDao.findAllModules()public Set<Module> findModules(Set<Long> modulesIds)
ModuleDao
findModules in interface ModuleDaomodulesIds - - Ids of the modules
ModuleDao.findModules(Set)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||