Package org.javlo.module.macro
Class MacroModuleContext
- java.lang.Object
-
- org.javlo.module.core.AbstractModuleContext
-
- org.javlo.module.macro.MacroModuleContext
-
public class MacroModuleContext extends AbstractModuleContext
-
-
Field Summary
Fields Modifier and Type Field Description static String
MODULE_NAME
-
Fields inherited from class org.javlo.module.core.AbstractModuleContext
globalContext, i18nAccess, module
-
-
Constructor Summary
Constructors Constructor Description MacroModuleContext()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description IMacro
getActiveMacro()
LinkToRenderer
getHomeLink()
static MacroModuleContext
getInstance(javax.servlet.http.HttpServletRequest request)
List<LinkToRenderer>
getNavigation()
get the navigation of the modulevoid
init()
void
setActiveMacro(IMacro activeMacro)
-
Methods inherited from class org.javlo.module.core.AbstractModuleContext
getCurrentInstance, getCurrentLink, getFlatNavigation, getInstance, getRenderer, getWizardStep, setCurrentLink, setRenderer, setRendererFromNavigation, setWizardStep
-
-
-
-
Field Detail
-
MODULE_NAME
public static final String MODULE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getInstance
public static MacroModuleContext getInstance(javax.servlet.http.HttpServletRequest request) throws FileNotFoundException, InstantiationException, IllegalAccessException, IOException, ModuleException
-
getNavigation
public List<LinkToRenderer> getNavigation()
Description copied from class:AbstractModuleContext
get the navigation of the module- Specified by:
getNavigation
in classAbstractModuleContext
- Returns:
-
getHomeLink
public LinkToRenderer getHomeLink()
- Specified by:
getHomeLink
in classAbstractModuleContext
-
init
public void init()
- Specified by:
init
in classAbstractModuleContext
-
getActiveMacro
public IMacro getActiveMacro()
-
setActiveMacro
public void setActiveMacro(IMacro activeMacro)
-
-