public class ConsoleModuleService extends Object implements ModuleService
ModuleService| Constructor and Description |
|---|
ConsoleModuleService(ModuleDao moduleDao)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
Set<Module> |
getAllModules()
Returns all available
Modules or an empty Set |
Module |
getModule(Long moduleId)
Returns the
Module for the given id (or returns null) |
Set<String> |
getModuleNames(Set<Long> moduleIds)
Returns a Set of
Module names, given their ids |
public ConsoleModuleService(ModuleDao moduleDao)
moduleDao - - DAO for this service to usepublic Module getModule(Long moduleId)
ModuleServiceModule for the given id (or returns null)getModule in interface ModuleServicemoduleId - Module id to search onModule for the given id (or null)ModuleService.getModule(Long)public Set<String> getModuleNames(Set<Long> moduleIds)
ModuleServiceModule names, given their idsgetModuleNames in interface ModuleServicemoduleIds - - List of Module ids to find names forModule names or an empty SetModuleService.getModuleNames(Set)public Set<Module> getAllModules()
ModuleServiceModules or an empty SetgetAllModules in interface ModuleServiceModules or an empty SetModuleService.getAllModules()Copyright © 2007-2015 Ikasan. All Rights Reserved.