org.apache.lenya.cms.module
Interface ModuleManager


public interface ModuleManager

Module manager.


Field Summary
static java.lang.String ROLE
          The Avalon role.
 
Method Summary
 java.lang.String getBaseURI(java.lang.String moduleShortcut)
          Returns the base URI of a module directory.
 java.lang.String[] getModuleIds()
          Returns a listing of all module id (shortcuts)
 

Field Detail

ROLE

static final java.lang.String ROLE
The Avalon role.

Method Detail

getBaseURI

java.lang.String getBaseURI(java.lang.String moduleShortcut)
                            throws ModuleException
Returns the base URI of a module directory.

Parameters:
moduleShortcut - The module shortcut.
Returns:
A string.
Throws:
ModuleException - if there is no module for this shortcut.

getModuleIds

java.lang.String[] getModuleIds()
Returns a listing of all module id (shortcuts)

Returns:
Map


Copyright 1999-2006 Apache Software Foundation. All Rights Reserved.