Interface ITemplateContext

All Known Implementing Classes:
TemplateContext

public interface ITemplateContext
This interfaces represents the context during the output generation.
Since:
9.2
Author:
A.Pragt
  • Method Details Link icon

    • getTheme Link icon

      String getTheme()
      This method returns the current theme name.
      Returns:
      The current theme name, never null.
    • getApiBasePath Link icon

      String getApiBasePath()
      This method returns the base path for the web api
      Returns:
      The base path, never null.
    • getWebResourceBasePath Link icon

      String getWebResourceBasePath()
      This method returns the base path for web resources.
      Returns:
      The base path, never null.
    • getCurrentPage Link icon

      PageContent getCurrentPage()
      This method returns the current page of the session.
      Returns:
      The current page.
    • getCurrentPageJson Link icon

      String getCurrentPageJson()
      This method returns the current page serialized in json format.
      Returns:
      The current page.
    • getSessionId Link icon

      String getSessionId()
      This method returns the current sessionId.
      Returns:
      The sessionId.
    • isDevelopmentMode Link icon

      boolean isDevelopmentMode()
      This method returns an indicator for development mode.
      Returns:
      Development mode indicator.
    • getSessionTimeout Link icon

      int getSessionTimeout()
      This method returns the session timeout in seconds.
      Returns:
      The session timeout, negative for unlimited.