org.ikasan.console.module.service
Interface ModuleService

All Known Implementing Classes:
ConsoleModuleService

public interface ModuleService

Service Tier interface for providing user access to Modules

Author:
Ikasan Development Team

Method Summary
 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
 

Method Detail

getAllModules

Set<Module> getAllModules()
Returns all available Modules or an empty Set

Returns:
Set of all accessible Modules or an empty Set

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)

getModuleNames

Set<String> getModuleNames(Set<Long> moduleIds)
Returns a Set of Module names, given their ids

Parameters:
moduleIds - - List of Module ids to find names for
Returns:
Set of all accessible Module names or an empty Set


Copyright © 2007-2014 Ikasan. All Rights Reserved.