Class RenderContext

java.lang.Object
com.aquima.web.ui.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 Details Link icon

    • RenderContext Link icon

      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 Link icon

      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 Details Link icon

    • setParameter Link icon

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

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

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

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

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

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

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

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

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

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

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

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

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