public class ModuleDAO extends Object
Constructor and Description |
---|
ModuleDAO() |
Modifier and Type | Method and Description |
---|---|
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.
|
void |
setSessionFactory(org.hibernate.SessionFactory sessionFactory) |
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 loadpublic void addModuleProperties(ModuleImpl impl, Map<String,String> properties)
public void saveModule(ModuleImpl module)
public void deleteModule(Module module)
public void setSessionFactory(org.hibernate.SessionFactory sessionFactory)
Copyright © 2013. All Rights Reserved.