Interface ISiteExecutionContext
- All Superinterfaces:
IExecutionContext
- All Known Subinterfaces:
InternalSiteExecutionContext
- All Known Implementing Classes:
EzsExecutionContext
The site execution context interface.
- Since:
- 2.1
- Version:
- 1.0, 09/09/2009
- Author:
- vlygeros
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceThe render mode interface.Nested classes/interfaces inherited from interface com.axemble.vdoc.sdk.interfaces.runtime.IExecutionContext
IExecutionContext.IError, IExecutionContext.IPreferences, IExecutionContext.IRequest, IExecutionContext.IRequestDispatcher, IExecutionContext.IResponse, IExecutionContext.ISession -
Method Summary
Modifier and TypeMethodDescriptiongetAlias()Gets the current alias.Gets the base site url.Gets the current content.Gets the current content container.Gets the current marker model.Gets the site module.Gets the current page container.Gets the current plugin.Gets the current plugin contextintGets the current render mode.getSite()Gets the current site.Gets the site url.getTopic()Gets the current topic.Methods inherited from interface com.axemble.vdoc.sdk.interfaces.runtime.IExecutionContext
clear, getActionURL, getContext, getLocale, getPreferences, getProperties, getRequest, getResponse, getSkin, getTimeZone, isAjaxMode, isEventMode
-
Method Details
-
getModule
IBaseSiteModule getModule()Gets the site module.- Returns:
- A
IBaseSiteModuleobject.
-
getSite
ISite getSite()Gets the current site.- Returns:
- A
ISiteobject.
-
getTopic
ITopic getTopic()Gets the current topic.- Returns:
- A
ITopicobject.
-
getPlugin
IPlugin getPlugin()Gets the current plugin.- Returns:
- A
IPluginobject.
-
getPluginContext
Gets the current plugin context- Returns:
- A
Mapobject
-
getAlias
IAlias getAlias()Gets the current alias.- Returns:
- A
IAliasobject.
-
getContentContainer
IContentContainer getContentContainer()Gets the current content container.- Returns:
- A
IContentContainerobject.
-
getPageContainer
IPageContainer getPageContainer()Gets the current page container.- Returns:
- A
IPageContainerobject.
-
getContent
IContent getContent()Gets the current content.- Returns:
- A
IContentobject.
-
getRenderMode
int getRenderMode()Gets the current render mode.The returned value could take one of the following values:
IRenderModes.DEFAULT: final mode of the page.IRenderModes.EDIT: design mode of the page.IRenderModes.DRAFT: preview of the page.
- Returns:
- A int value.
-
getMarkerModel
IMarkerModel getMarkerModel()Gets the current marker model.- Returns:
- A
IMarkerModelobject.
-
getBaseSiteUrl
String getBaseSiteUrl()Gets the base site url.- Returns:
- a java.lang.String value.
-
getSiteUrl
String getSiteUrl()Gets the site url.- Returns:
- a java.lang.String value.
-