Package com.aquima.web.ui
Class RenderContext
java.lang.Object
com.aquima.web.ui.RenderContext
- All Implemented Interfaces:
com.blueriq.component.api.ui.IRenderContext
Context class for rendering with Xslt and Json.
- Since:
- 8.0
- Author:
- Danny Roest
-
Constructor Summary
ConstructorsConstructorDescriptionRenderContext
(com.aquima.interactions.foundation.ApplicationID applicationId, com.aquima.interactions.foundation.text.ILanguage language, String sessionId, String theme, String pagename, String pageUrl, com.aquima.interactions.composer.IRuntimeKeyPrinter runtimeKeyPrinter) Constructs a new context.RenderContext
(com.blueriq.component.api.IAquimaSession session, com.aquima.interactions.composer.IRuntimeKeyPrinter runtimeKeyPrinter) Constructs a new context for an aquima session. -
Method Summary
Modifier and TypeMethodDescriptioncom.aquima.interactions.foundation.ApplicationID
com.aquima.interactions.foundation.text.ILanguage
com.aquima.interactions.foundation.text.ILanguage
com.blueriq.component.api.ui.IPageWard
com.aquima.interactions.composer.IRuntimeKeyPrinter
com.blueriq.component.api.IAquimaSession
getTheme()
void
setPageWard
(com.blueriq.component.api.ui.IPageWard ward) void
setParameter
(String key, Object value)
-
Constructor Details
-
RenderContext
public RenderContext(com.aquima.interactions.foundation.ApplicationID applicationId, com.aquima.interactions.foundation.text.ILanguage language, String sessionId, String theme, String pagename, String pageUrl, com.aquima.interactions.composer.IRuntimeKeyPrinter runtimeKeyPrinter) Constructs a new context.- Parameters:
applicationId
- the applicationIdlanguage
- the languagesessionId
- the optional sessionIdtheme
- the theme to usepagename
- the optional page namepageUrl
- the optional page urlruntimeKeyPrinter
- the optional key printer
-
RenderContext
public RenderContext(com.blueriq.component.api.IAquimaSession session, com.aquima.interactions.composer.IRuntimeKeyPrinter runtimeKeyPrinter) Constructs a new context for an aquima session.- Parameters:
session
- the session to create a context forruntimeKeyPrinter
- optional runtimeKeyPrinter
-
-
Method Details
-
setParameter
- Specified by:
setParameter
in interfacecom.blueriq.component.api.ui.IRenderContext
-
getParameters
- Specified by:
getParameters
in interfacecom.blueriq.component.api.ui.IRenderContext
-
getPageUrl
- Specified by:
getPageUrl
in interfacecom.blueriq.component.api.ui.IRenderContext
-
getApplicationId
public com.aquima.interactions.foundation.ApplicationID getApplicationId()- Specified by:
getApplicationId
in interfacecom.blueriq.component.api.ui.IRenderContext
-
getLanguage
public com.aquima.interactions.foundation.text.ILanguage getLanguage()- Specified by:
getLanguage
in interfacecom.blueriq.component.api.ui.IRenderContext
-
getDefaultLanguage
public com.aquima.interactions.foundation.text.ILanguage getDefaultLanguage()- Specified by:
getDefaultLanguage
in interfacecom.blueriq.component.api.ui.IRenderContext
-
getSessionId
- Specified by:
getSessionId
in interfacecom.blueriq.component.api.ui.IRenderContext
-
getTheme
- Specified by:
getTheme
in interfacecom.blueriq.component.api.ui.IRenderContext
-
getPagename
- Specified by:
getPagename
in interfacecom.blueriq.component.api.ui.IRenderContext
-
getSession
public com.blueriq.component.api.IAquimaSession getSession()- Specified by:
getSession
in interfacecom.blueriq.component.api.ui.IRenderContext
-
getRuntimeKeyPrinter
public com.aquima.interactions.composer.IRuntimeKeyPrinter getRuntimeKeyPrinter()- Specified by:
getRuntimeKeyPrinter
in interfacecom.blueriq.component.api.ui.IRenderContext
-
getPageWard
public com.blueriq.component.api.ui.IPageWard getPageWard()- Specified by:
getPageWard
in interfacecom.blueriq.component.api.ui.IRenderContext
-
setPageWard
public void setPageWard(com.blueriq.component.api.ui.IPageWard ward) - Specified by:
setPageWard
in interfacecom.blueriq.component.api.ui.IRenderContext
-