public class FileModuleContext extends AbstractModuleContext
| Modifier and Type | Field and Description |
|---|---|
static String |
MODULE_NAME |
static String |
PAGE_META |
globalContext, i18nAccess, module| Constructor and Description |
|---|
FileModuleContext() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
LinkToRenderer |
getHomeLink() |
static FileModuleContext |
getInstance(javax.servlet.http.HttpServletRequest request) |
List<LinkToRenderer> |
getNavigation()
get the navigation of the module
|
String |
getPath() |
String |
getRoot() |
int |
getSort() |
String |
getTitle() |
void |
init()
use getInstance on AbstractModuleContext or smart instance in action method for instantiate.
|
void |
loadNavigation() |
void |
setPath(String path) |
void |
setRoot(String root) |
void |
setSort(int sort) |
void |
setTitle(String title) |
getCurrentInstance, getCurrentLink, getFlatNavigation, getInstance, getRenderer, getWizardStep, setCurrentLink, setRenderer, setRendererFromNavigation, setWizardSteppublic static final String MODULE_NAME
public static final String PAGE_META
public void init()
init in class AbstractModuleContextpublic static FileModuleContext getInstance(javax.servlet.http.HttpServletRequest request) throws FileNotFoundException, InstantiationException, IllegalAccessException, IOException, ModuleException
public void loadNavigation()
public void clear()
public String getRoot()
public void setRoot(String root)
public String getTitle()
public void setTitle(String title)
public String getPath()
public void setPath(String path)
public List<LinkToRenderer> getNavigation()
AbstractModuleContextgetNavigation in class AbstractModuleContextpublic LinkToRenderer getHomeLink()
getHomeLink in class AbstractModuleContextpublic int getSort()
public void setSort(int sort)
Copyright © 2012-2018. All Rights Reserved.