public abstract class AbstractModuleContext extends Object
Modifier and Type | Field and Description |
---|---|
protected GlobalContext |
globalContext |
protected I18nAccess |
i18nAccess |
protected Module |
module |
Constructor and Description |
---|
AbstractModuleContext() |
Modifier and Type | Method and Description |
---|---|
static AbstractModuleContext |
getCurrentInstance(javax.servlet.http.HttpSession session) |
String |
getCurrentLink() |
List<LinkToRenderer> |
getFlatNavigation() |
abstract LinkToRenderer |
getHomeLink() |
static AbstractModuleContext |
getInstance(javax.servlet.http.HttpSession session,
GlobalContext globalContext,
Module module,
Class<? extends AbstractModuleContext> implementationClass) |
abstract List<LinkToRenderer> |
getNavigation()
get the navigation of the module
|
String |
getRenderer() |
int |
getWizardStep(String boxName) |
abstract void |
init() |
void |
setCurrentLink(String currentLink) |
void |
setRenderer(String renderer) |
void |
setRendererFromNavigation(String renderer)
when user click on a generic navigation, navigation engine call this
method for change the renderer, by default module.setRenderer is called
but it can be the renderer of a box.
|
void |
setWizardStep(String boxName,
Integer wizardStep) |
protected I18nAccess i18nAccess
protected Module module
protected GlobalContext globalContext
public static final AbstractModuleContext getInstance(javax.servlet.http.HttpSession session, GlobalContext globalContext, Module module, Class<? extends AbstractModuleContext> implementationClass) throws FileNotFoundException, IOException, InstantiationException, IllegalAccessException
public static final AbstractModuleContext getCurrentInstance(javax.servlet.http.HttpSession session)
public abstract List<LinkToRenderer> getNavigation()
public List<LinkToRenderer> getFlatNavigation()
public abstract LinkToRenderer getHomeLink()
public abstract void init()
public String getCurrentLink()
public void setCurrentLink(String currentLink)
public void setRendererFromNavigation(String renderer)
renderer
- link to a jsp file.public String getRenderer()
public void setRenderer(String renderer)
public int getWizardStep(String boxName)
Copyright © 2012-2018. All Rights Reserved.