Interface ISiteExecutionContext

All Superinterfaces:
IExecutionContext
All Known Subinterfaces:
InternalSiteExecutionContext
All Known Implementing Classes:
EzsExecutionContext

public interface ISiteExecutionContext extends IExecutionContext
The site execution context interface.
Since:
2.1
Version:
1.0, 09/09/2009
Author:
vlygeros
See Also:
  • Method Details

    • getModule

      IBaseSiteModule getModule()
      Gets the site module.
      Returns:
      A IBaseSiteModule object.
    • getSite

      ISite getSite()
      Gets the current site.
      Returns:
      A ISite object.
    • getTopic

      ITopic getTopic()
      Gets the current topic.
      Returns:
      A ITopic object.
    • getPlugin

      IPlugin getPlugin()
      Gets the current plugin.
      Returns:
      A IPlugin object.
    • getPluginContext

      Map<String,Object> getPluginContext()
      Gets the current plugin context
      Returns:
      A Map object
    • getAlias

      IAlias getAlias()
      Gets the current alias.
      Returns:
      A IAlias object.
    • getContentContainer

      IContentContainer getContentContainer()
      Gets the current content container.
      Returns:
      A IContentContainer object.
    • getPageContainer

      IPageContainer getPageContainer()
      Gets the current page container.
      Returns:
      A IPageContainer object.
    • getContent

      IContent getContent()
      Gets the current content.
      Returns:
      A IContent object.
    • 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 IMarkerModel object.
    • 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.