org.ikasan.console.module.dao
Interface ModuleDao

All Known Implementing Classes:
HibernateModuleDao

public interface ModuleDao

Interface for all Module data access.

Author:
Ikasan Development Team

Method Summary
 Set<Module> findAllModules()
          Get a Set of all Modules or an empty Set if none are found
 Set<Module> findModules(Set<Long> moduleIds)
          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)
 

Method Detail

findAllModules

Set<Module> findAllModules()
Get a Set of all Modules or an empty Set if none are found

Returns:
A list of Modules or an empty Set if none are found

getModule

Module getModule(Long moduleId)
Returns the Module for the given id (or returns null)

Parameters:
moduleId - Module id to search on
Returns:
the Module for the given id (or null)

findModules

Set<Module> findModules(Set<Long> moduleIds)
Get a list of all Modules matching the Set of ids passed in

Parameters:
moduleIds - - Ids of the modules
Returns:
A list of Modules


Copyright © 2007-2014 Ikasan. All Rights Reserved.