Class RenderContext

  • All Implemented Interfaces:
    com.blueriq.component.api.ui.IRenderContext

    public class RenderContext
    extends Object
    implements com.blueriq.component.api.ui.IRenderContext
    Context class for rendering with Xslt and Json.
    Since:
    8.0
    Author:
    Danny Roest
    • Constructor Detail

      • 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 applicationId
        language - the language
        sessionId - the optional sessionId
        theme - the theme to use
        pagename - the optional page name
        pageUrl - the optional page url
        runtimeKeyPrinter - 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 for
        runtimeKeyPrinter - optional runtimeKeyPrinter
    • Method Detail

      • setParameter

        public void setParameter​(String key,
                                 Object value)
        Specified by:
        setParameter in interface com.blueriq.component.api.ui.IRenderContext
      • getParameters

        public Map<String,​Object> getParameters()
        Specified by:
        getParameters in interface com.blueriq.component.api.ui.IRenderContext
      • getPageUrl

        public String getPageUrl()
        Specified by:
        getPageUrl in interface com.blueriq.component.api.ui.IRenderContext
      • getApplicationId

        public com.aquima.interactions.foundation.ApplicationID getApplicationId()
        Specified by:
        getApplicationId in interface com.blueriq.component.api.ui.IRenderContext
      • getLanguage

        public com.aquima.interactions.foundation.text.ILanguage getLanguage()
        Specified by:
        getLanguage in interface com.blueriq.component.api.ui.IRenderContext
      • getDefaultLanguage

        public com.aquima.interactions.foundation.text.ILanguage getDefaultLanguage()
        Specified by:
        getDefaultLanguage in interface com.blueriq.component.api.ui.IRenderContext
      • getSessionId

        public String getSessionId()
        Specified by:
        getSessionId in interface com.blueriq.component.api.ui.IRenderContext
      • getTheme

        public String getTheme()
        Specified by:
        getTheme in interface com.blueriq.component.api.ui.IRenderContext
      • getPagename

        public String getPagename()
        Specified by:
        getPagename in interface com.blueriq.component.api.ui.IRenderContext
      • getSession

        public com.blueriq.component.api.IAquimaSession getSession()
        Specified by:
        getSession in interface com.blueriq.component.api.ui.IRenderContext
      • getRuntimeKeyPrinter

        public com.aquima.interactions.composer.IRuntimeKeyPrinter getRuntimeKeyPrinter()
        Specified by:
        getRuntimeKeyPrinter in interface com.blueriq.component.api.ui.IRenderContext
      • getPageWard

        public com.blueriq.component.api.ui.IPageWard getPageWard()
        Specified by:
        getPageWard in interface com.blueriq.component.api.ui.IRenderContext
      • setPageWard

        public void setPageWard​(com.blueriq.component.api.ui.IPageWard ward)
        Specified by:
        setPageWard in interface com.blueriq.component.api.ui.IRenderContext