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.SessionNested classes/interfaces inherited from interface com.axemble.vdoc.sdk.interfaces.runtime.IExecutionContext
IExecutionContext.IError, IExecutionContext.IPreferences, IExecutionContext.IRequest, IExecutionContext.IRequestDispatcher, IExecutionContext.IResponse, IExecutionContext.ISessionNested classes/interfaces inherited from interface com.axemble.vdoc.sdk.interfaces.runtime.InternalSiteExecutionContext
InternalSiteExecutionContext.IContextParametersNested 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
ConstructorsConstructorDescriptionEzsExecutionContext(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.ContextHandlercom.axemble.vdp.ui.framework.foundation.controllers.ICustomControllerGets 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.BasePluginControllerintGets the current render mode.getSite()Gets the current site.Gets the site url.getTopic()Gets the current topic.voidvoidsetContent(IContent content) voidsetContentContainer(IContentContainer contentContainer) voidsetContentContainerKeyId(String keyId) voidsetContentContainerKeyUniqueId(String keyUniqueId) voidsetCustomController(com.axemble.vdp.ui.framework.foundation.controllers.ICustomController customController) voidsetInternalContextHandler(Object contextHandler) voidsetPageContainer(IPageContainer pageContainer) voidvoidsetRedirect(String redirect) voidvoidMethods 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, setTimeZoneMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:ISiteExecutionContextGets the site module.- Specified by:
getModulein interfaceISiteExecutionContext- Returns:
- A
IBaseSiteModuleobject.
-
getSite
Description copied from interface:ISiteExecutionContextGets the current site.- Specified by:
getSitein interfaceISiteExecutionContext- Returns:
- A
ISiteobject.
-
setSite
- Specified by:
setSitein interfaceInternalSiteExecutionContext
-
getPageContainer
Description copied from interface:ISiteExecutionContextGets the current page container.- Specified by:
getPageContainerin interfaceISiteExecutionContext- Returns:
- A
IPageContainerobject.
-
setPageContainer
- Specified by:
setPageContainerin interfaceInternalSiteExecutionContext
-
getContentContainer
Description copied from interface:ISiteExecutionContextGets the current content container.- Specified by:
getContentContainerin interfaceISiteExecutionContext- Returns:
- A
IContentContainerobject.
-
setContentContainer
- Specified by:
setContentContainerin interfaceInternalSiteExecutionContext
-
getTopic
Description copied from interface:ISiteExecutionContextGets the current topic.- Specified by:
getTopicin interfaceISiteExecutionContext- Returns:
- A
ITopicobject.
-
setTopic
- Specified by:
setTopicin interfaceInternalSiteExecutionContext
-
getPlugin
Description copied from interface:ISiteExecutionContextGets the current plugin.- Specified by:
getPluginin interfaceISiteExecutionContext- Returns:
- A
IPluginobject.
-
setPlugin
- Specified by:
setPluginin interfaceInternalSiteExecutionContext
-
getPluginContext
Description copied from interface:ISiteExecutionContextGets the current plugin context- Specified by:
getPluginContextin interfaceISiteExecutionContext- Returns:
- A
Mapobject
-
getPluginController
public com.axemble.vdoc.sdk.impl.base.BasePluginController getPluginController() -
getContent
Description copied from interface:ISiteExecutionContextGets the current content.- Specified by:
getContentin interfaceISiteExecutionContext- Returns:
- A
IContentobject.
-
setContent
- Specified by:
setContentin interfaceInternalSiteExecutionContext
-
getAlias
Description copied from interface:ISiteExecutionContextGets the current alias.- Specified by:
getAliasin interfaceISiteExecutionContext- Returns:
- A
IAliasobject.
-
setAlias
- Specified by:
setAliasin interfaceInternalSiteExecutionContext
-
getRedirect
- Specified by:
getRedirectin interfaceInternalSiteExecutionContext
-
setRedirect
- Specified by:
setRedirectin interfaceInternalSiteExecutionContext
-
getRenderMode
public int getRenderMode()Description copied from interface:ISiteExecutionContextGets 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:
getRenderModein interfaceISiteExecutionContext- Returns:
- A int value.
-
getMarkerModel
Description copied from interface:ISiteExecutionContextGets the current marker model.- Specified by:
getMarkerModelin interfaceISiteExecutionContext- Returns:
- A
IMarkerModelobject.
-
getContextHandler
public com.axemble.easysite.ui.runtime.ContextHandler getContextHandler() -
getInternalContextHandler
- Specified by:
getInternalContextHandlerin interfaceInternalSiteExecutionContext
-
getContentContainerKeyId
- Specified by:
getContentContainerKeyIdin interfaceInternalSiteExecutionContext
-
getContentContainerKeyUniqueId
- Specified by:
getContentContainerKeyUniqueIdin interfaceInternalSiteExecutionContext
-
setContentContainerKeyId
- Specified by:
setContentContainerKeyIdin interfaceInternalSiteExecutionContext
-
setContentContainerKeyUniqueId
- Specified by:
setContentContainerKeyUniqueIdin interfaceInternalSiteExecutionContext
-
setInternalContextHandler
- Specified by:
setInternalContextHandlerin interfaceInternalSiteExecutionContext
-
getSkinRelativePath
- Specified by:
getSkinRelativePathin interfaceInternalSiteExecutionContext
-
getBaseSiteUrl
Description copied from interface:ISiteExecutionContextGets the base site url.- Specified by:
getBaseSiteUrlin interfaceISiteExecutionContext- Returns:
- a java.lang.String value.
-
getSiteUrl
Description copied from interface:ISiteExecutionContextGets the site url.- Specified by:
getSiteUrlin interfaceISiteExecutionContext- Returns:
- a java.lang.String value.
-
getContext
- Specified by:
getContextin 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:
getActionURLin interfaceIExecutionContext
-