Package | Description |
---|---|
de.innovationgate.wga.server.api |
OpenWGA Server API classes.
|
Modifier and Type | Method and Description |
---|---|
Design |
App.design()
Returns the design context of the app
|
Design |
WGA.design()
Returns a design context object for the current environment
This will only work in WebTML/TMLScript environments and returns the design of the main context app.
|
Design |
App.design(String refString)
Returns the design context for a design resource in this app
|
Design |
WGA.design(String dbKey)
Returns a design context object for the database of the given key
This will only work if the database represents an OpenWGA application.
|
Design |
WGA.design(TMLDesignContext designContext)
Returns a design context object for the given WebTML design context
The parameter object is an object of the WebTML implementation.
|
Design |
WGA.design(de.innovationgate.webgate.api.WGDatabase db)
Returns a design context object for the given database
This will only work if the database represents an OpenWGA application.
|
Design |
Design.resolve(DesignResourceReference ref)
Resolves a design reference relatively to the current design
This method can be used to address another design resource relative to the current design context.
|
Design |
Design.resolve(String refString)
Resolves a design reference relatively to the current design
This method can be used to address another design resource relative to the current design context.
|
Design |
Design.resolve(String refDB,
String refString)
Resolves a design reference relatively to the current design
This method can be used to address another design resource relative to the current design context.
|
Design |
Design.resolveSystemFileContainer(String name,
boolean unqualifiedFallback)
Resolves a system file container of the given name.
|
Design |
Design.resolveSystemScriptModule(String name,
String type,
boolean unqualifiedFallback)
Resolves a system script of the given name.
|
Design |
Design.resolveSystemTMLModule(String name,
String mediaKey,
boolean unqualifiedFallback)
Resolves a system WebTML module of the given name.
|
Modifier and Type | Method and Description |
---|---|
Context |
WGA.createTMLContext(de.innovationgate.webgate.api.WGContent content,
Design design)
Creates an WebTML context object for the given content
If a WebTML environment is available this context will belong to this environment.
|
Context |
WGA.createTMLContext(de.innovationgate.webgate.api.WGDatabase db,
Design design)
Creates an WebTML context object for the given database
The context will be on a dummy document of the given database.
|
Context |
WGA.createTMLContext(de.innovationgate.webgate.api.WGDatabase db,
de.innovationgate.webgate.api.WGLanguageChooser chooser,
Design design)
Creates an WebTML context object for the given database, using the given language chooser
The context will be on a dummy document of the given database.
|
Object |
TMLScript.runExpression(Design design,
Context cx,
String expression)
Runs a TMLScript expression
|
Object |
TMLScript.runExpression(Design design,
Context cx,
String expression,
Map<String,Object> extraObjects)
Runs a TMLScript expression
|
Object |
TMLScript.runExpression(Design design,
String expression)
Runs a TMLScript expression
Uses the WebTML context of the environment and is therefor only usable in WebTML/TMLScript environments.
|
Object |
TMLScript.runScript(Design design,
Context cx,
String expression)
Runs a TMLScript script
|
Object |
TMLScript.runScript(Design design,
Context cx,
String expression,
Map<String,Object> extraObjects)
Runs a TMLScript script
|
Object |
TMLScript.runScript(Design design,
String expression)
Runs a TMLScript script
Uses the WebTML context of the environment and is therefor only usable in WebTML/TMLScript environments.
|
Constructor and Description |
---|
Design.DesignOccasion(Design design,
String occKey,
boolean cleared) |