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, setWizardStep
public static final String MODULE_NAME
public void init()
init
in class AbstractModuleContext
public static CommunicationModuleContext getInstance(javax.servlet.http.HttpServletRequest request) throws FileNotFoundException, InstantiationException, IllegalAccessException, IOException, ModuleException
public void loadNavigation(ContentContext ctx) throws ServiceException, Exception
ServiceException
Exception
public List<LinkToRenderer> getNavigation()
AbstractModuleContext
getNavigation
in class AbstractModuleContext
public LinkToRenderer getHomeLink()
getHomeLink
in class AbstractModuleContext
public String getCurrentSite()
Copyright © 2012-2018. All Rights Reserved.