Package com.axemble.vdoc.sdk.impl
Class EzsExecutionContext
java.lang.Object
com.axemble.vdoc.sdk.impl.base.BaseServletExecutionContext
com.axemble.vdoc.sdk.impl.EzsExecutionContext
- All Implemented Interfaces:
IExecutionContext
,InternalSiteExecutionContext
,ISiteExecutionContext
public class EzsExecutionContext
extends com.axemble.vdoc.sdk.impl.base.BaseServletExecutionContext
implements InternalSiteExecutionContext
- Author:
- vlygeros
-
Nested Class Summary
Nested classes/interfaces inherited from class com.axemble.vdoc.sdk.impl.base.BaseServletExecutionContext
com.axemble.vdoc.sdk.impl.base.BaseServletExecutionContext.InitialPreferences, com.axemble.vdoc.sdk.impl.base.BaseServletExecutionContext.Preferences, com.axemble.vdoc.sdk.impl.base.BaseServletExecutionContext.Request, com.axemble.vdoc.sdk.impl.base.BaseServletExecutionContext.RequestDispatcher, com.axemble.vdoc.sdk.impl.base.BaseServletExecutionContext.Response, com.axemble.vdoc.sdk.impl.base.BaseServletExecutionContext.Session
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
Nested classes/interfaces inherited from interface com.axemble.vdoc.sdk.interfaces.runtime.InternalSiteExecutionContext
InternalSiteExecutionContext.IContextParameters
Nested classes/interfaces inherited from interface com.axemble.vdoc.sdk.interfaces.runtime.ISiteExecutionContext
ISiteExecutionContext.IRenderModes
-
Field Summary
Fields inherited from class com.axemble.vdoc.sdk.impl.base.BaseServletExecutionContext
ajaxMode, eventMode, locale, properties, request, response, skin
-
Constructor Summary
ConstructorDescriptionEzsExecutionContext
(IBaseSiteModule module, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) -
Method Summary
Modifier and TypeMethodDescriptiongetAlias()
Gets the current alias.Gets the base site url.Gets the current content.Gets the current content container.com.axemble.easysite.ui.runtime.ContextHandler
com.axemble.vdp.ui.framework.foundation.controllers.ICustomController
Gets the current marker model.Gets the site module.Gets the current page container.Gets the current plugin.Gets the current plugin contextcom.axemble.vdoc.sdk.impl.base.BasePluginController
int
Gets the current render mode.getSite()
Gets the current site.Gets the site url.getTopic()
Gets the current topic.void
void
setContent
(IContent content) void
setContentContainer
(IContentContainer contentContainer) void
setContentContainerKeyId
(String keyId) void
setContentContainerKeyUniqueId
(String keyUniqueId) void
setCustomController
(com.axemble.vdp.ui.framework.foundation.controllers.ICustomController customController) void
setInternalContextHandler
(Object contextHandler) void
setPageContainer
(IPageContainer pageContainer) void
void
setRedirect
(String redirect) void
void
Methods inherited from class com.axemble.vdoc.sdk.impl.base.BaseServletExecutionContext
clear, getLocale, getPreferences, getProperties, getRequest, getResponse, getSkin, getTimeZone, isAjaxMode, isEventMode, setAjaxMode, setEventMode, setLocale, setProperties, setRequest, setResponse, setSkin, setTimeZone
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.axemble.vdoc.sdk.interfaces.runtime.IExecutionContext
clear, getLocale, getPreferences, getProperties, getRequest, getResponse, getSkin, getTimeZone, isAjaxMode, isEventMode
-
Constructor Details
-
EzsExecutionContext
public EzsExecutionContext(IBaseSiteModule module, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)
-
-
Method Details
-
getModule
Description copied from interface:ISiteExecutionContext
Gets the site module.- Specified by:
getModule
in interfaceISiteExecutionContext
- Returns:
- A
IBaseSiteModule
object.
-
getSite
Description copied from interface:ISiteExecutionContext
Gets the current site.- Specified by:
getSite
in interfaceISiteExecutionContext
- Returns:
- A
ISite
object.
-
setSite
- Specified by:
setSite
in interfaceInternalSiteExecutionContext
-
getPageContainer
Description copied from interface:ISiteExecutionContext
Gets the current page container.- Specified by:
getPageContainer
in interfaceISiteExecutionContext
- Returns:
- A
IPageContainer
object.
-
setPageContainer
- Specified by:
setPageContainer
in interfaceInternalSiteExecutionContext
-
getContentContainer
Description copied from interface:ISiteExecutionContext
Gets the current content container.- Specified by:
getContentContainer
in interfaceISiteExecutionContext
- Returns:
- A
IContentContainer
object.
-
setContentContainer
- Specified by:
setContentContainer
in interfaceInternalSiteExecutionContext
-
getTopic
Description copied from interface:ISiteExecutionContext
Gets the current topic.- Specified by:
getTopic
in interfaceISiteExecutionContext
- Returns:
- A
ITopic
object.
-
setTopic
- Specified by:
setTopic
in interfaceInternalSiteExecutionContext
-
getPlugin
Description copied from interface:ISiteExecutionContext
Gets the current plugin.- Specified by:
getPlugin
in interfaceISiteExecutionContext
- Returns:
- A
IPlugin
object.
-
setPlugin
- Specified by:
setPlugin
in interfaceInternalSiteExecutionContext
-
getPluginContext
Description copied from interface:ISiteExecutionContext
Gets the current plugin context- Specified by:
getPluginContext
in interfaceISiteExecutionContext
- Returns:
- A
Map
object
-
getPluginController
public com.axemble.vdoc.sdk.impl.base.BasePluginController getPluginController() -
getContent
Description copied from interface:ISiteExecutionContext
Gets the current content.- Specified by:
getContent
in interfaceISiteExecutionContext
- Returns:
- A
IContent
object.
-
setContent
- Specified by:
setContent
in interfaceInternalSiteExecutionContext
-
getAlias
Description copied from interface:ISiteExecutionContext
Gets the current alias.- Specified by:
getAlias
in interfaceISiteExecutionContext
- Returns:
- A
IAlias
object.
-
setAlias
- Specified by:
setAlias
in interfaceInternalSiteExecutionContext
-
getRedirect
- Specified by:
getRedirect
in interfaceInternalSiteExecutionContext
-
setRedirect
- Specified by:
setRedirect
in interfaceInternalSiteExecutionContext
-
getRenderMode
public int getRenderMode()Description copied from interface:ISiteExecutionContext
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.
- Specified by:
getRenderMode
in interfaceISiteExecutionContext
- Returns:
- A int value.
-
getMarkerModel
Description copied from interface:ISiteExecutionContext
Gets the current marker model.- Specified by:
getMarkerModel
in interfaceISiteExecutionContext
- Returns:
- A
IMarkerModel
object.
-
getContextHandler
public com.axemble.easysite.ui.runtime.ContextHandler getContextHandler() -
getInternalContextHandler
- Specified by:
getInternalContextHandler
in interfaceInternalSiteExecutionContext
-
getContentContainerKeyId
- Specified by:
getContentContainerKeyId
in interfaceInternalSiteExecutionContext
-
getContentContainerKeyUniqueId
- Specified by:
getContentContainerKeyUniqueId
in interfaceInternalSiteExecutionContext
-
setContentContainerKeyId
- Specified by:
setContentContainerKeyId
in interfaceInternalSiteExecutionContext
-
setContentContainerKeyUniqueId
- Specified by:
setContentContainerKeyUniqueId
in interfaceInternalSiteExecutionContext
-
setInternalContextHandler
- Specified by:
setInternalContextHandler
in interfaceInternalSiteExecutionContext
-
getSkinRelativePath
- Specified by:
getSkinRelativePath
in interfaceInternalSiteExecutionContext
-
getBaseSiteUrl
Description copied from interface:ISiteExecutionContext
Gets the base site url.- Specified by:
getBaseSiteUrl
in interfaceISiteExecutionContext
- Returns:
- a java.lang.String value.
-
getSiteUrl
Description copied from interface:ISiteExecutionContext
Gets the site url.- Specified by:
getSiteUrl
in interfaceISiteExecutionContext
- Returns:
- a java.lang.String value.
-
getContext
- Specified by:
getContext
in interfaceIExecutionContext
-
getCustomController
public com.axemble.vdp.ui.framework.foundation.controllers.ICustomController getCustomController() -
setCustomController
public void setCustomController(com.axemble.vdp.ui.framework.foundation.controllers.ICustomController customController) -
getActionURL
- Specified by:
getActionURL
in interfaceIExecutionContext
-