public class CommunicationModuleContext extends AbstractModuleContext
| Modifier and Type | Field and Description |
|---|---|
static String |
MODULE_NAME |
globalContext, i18nAccess, module| Constructor and Description |
|---|
CommunicationModuleContext() |
| Modifier and Type | Method and Description |
|---|---|
Set<String> |
getCanSpeakSites() |
String |
getCurrentSite() |
LinkToRenderer |
getHomeLink() |
static CommunicationModuleContext |
getInstance(javax.servlet.http.HttpServletRequest request) |
List<LinkToRenderer> |
getNavigation()
get the navigation of the module
|
void |
init()
use getInstance on AbstractModuleContext or smart instance in action method for instantiate.
|
void |
loadNavigation(ContentContext ctx) |
getCurrentInstance, getCurrentLink, getFlatNavigation, getInstance, getRenderer, getWizardStep, setCurrentLink, setRenderer, setRendererFromNavigation, setWizardSteppublic static final String MODULE_NAME
public void init()
init in class AbstractModuleContextpublic static CommunicationModuleContext getInstance(javax.servlet.http.HttpServletRequest request) throws FileNotFoundException, InstantiationException, IllegalAccessException, IOException, ModuleException
public void loadNavigation(ContentContext ctx) throws ServiceException, Exception
ServiceExceptionExceptionpublic List<LinkToRenderer> getNavigation()
AbstractModuleContextgetNavigation in class AbstractModuleContextpublic LinkToRenderer getHomeLink()
getHomeLink in class AbstractModuleContextpublic String getCurrentSite()
Copyright © 2012-2018. All Rights Reserved.