Package org.javlo.module.communication
Class CommunicationModuleContext
- java.lang.Object
-
- org.javlo.module.core.AbstractModuleContext
-
- org.javlo.module.communication.CommunicationModuleContext
-
public class CommunicationModuleContext extends AbstractModuleContext
-
-
Field Summary
Fields Modifier and Type Field Description static StringMODULE_NAME-
Fields inherited from class org.javlo.module.core.AbstractModuleContext
globalContext, i18nAccess, module
-
-
Constructor Summary
Constructors Constructor Description CommunicationModuleContext()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<String>getCanSpeakSites()StringgetCurrentSite()LinkToRenderergetHomeLink()static CommunicationModuleContextgetInstance(javax.servlet.http.HttpServletRequest request)List<LinkToRenderer>getNavigation()get the navigation of the modulevoidinit()use getInstance on AbstractModuleContext or smart instance in action method for instantiate.voidloadNavigation(ContentContext ctx)-
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
-
init
public void init()
use getInstance on AbstractModuleContext or smart instance in action method for instantiate.- Specified by:
initin classAbstractModuleContext
-
getInstance
public static CommunicationModuleContext getInstance(javax.servlet.http.HttpServletRequest request) throws FileNotFoundException, InstantiationException, IllegalAccessException, IOException, ModuleException
-
loadNavigation
public void loadNavigation(ContentContext ctx) throws ServiceException, Exception
- Throws:
ServiceExceptionException
-
getNavigation
public List<LinkToRenderer> getNavigation()
Description copied from class:AbstractModuleContextget the navigation of the module- Specified by:
getNavigationin classAbstractModuleContext- Returns:
-
getHomeLink
public LinkToRenderer getHomeLink()
- Specified by:
getHomeLinkin classAbstractModuleContext
-
getCurrentSite
public String getCurrentSite()
-
-