IContext
pentaho.context.IContext
The IContext
interface allows access to environmental information of the Pentaho Platform. For example, it allows access to user
, theme
, locale
, application
and server
.
Not all information is always available, or sometimes it is not fixed, and so some of these can be null
. Check the documentation of each property and sub-property.
Source: doc-js/pentaho/context/IContext.jsdoc, line 17
Members
Name | Description |
---|---|
application : | Gets the identifier of the client application. |
locale : | Gets the identifier of the locale. |
reservedChars : | Gets the reserved characters for file names, all concatenated in a single string. |
server : | Gets information about the server web application. |
theme : | Gets the identifier of the theme. |
user : | Gets information about the user. |
Methods
Name | Description |
---|---|
createChild(childSpec) : pentaho.context.IContext | Creates a child context of this one given its specification. Any unspecified information is inherited from this context. |
toJSON() : pentaho.context.spec.IContext | Serializes this context to JSON. |
toSpec() : pentaho.context.spec.IContext | Creates a specification with the information of this context. |
Members Details
application: |
---|
Gets the identifier of the client application. |
locale: |
---|
Gets the identifier of the locale. |
reservedChars: |
---|
Gets the reserved characters for file names, all concatenated in a single string. |
server: |
---|
Gets information about the server web application. |
theme: |
---|
Gets the identifier of the theme. |
user: |
---|
Gets information about the user. |
Methods Details
createChild(childSpec) : pentaho.context.IContext | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
Creates a child context of this one given its specification. Any unspecified information is inherited from this context. Source: doc-js/pentaho/context/IContext.jsdoc, line 88
|
toJSON() : pentaho.context.spec.IContext | ||||
---|---|---|---|---|
Serializes this context to JSON. This method is an alias of [toSpec]{pentaho.context.IContext#toSpec}. Source: doc-js/pentaho/context/IContext.jsdoc, line 109
See also: pentaho.context.IContext#toSpec |
toSpec() : pentaho.context.spec.IContext | ||||
---|---|---|---|---|
Creates a specification with the information of this context. Source: doc-js/pentaho/context/IContext.jsdoc, line 99
See also: pentaho.context.IContext#toJSON |