Package | Description |
---|---|
de.innovationgate.wga.server.api |
OpenWGA Server API classes.
|
de.innovationgate.wga.server.api.tml |
OpenWGA Server API interfaces for WebTML objects.
|
de.innovationgate.wgpublisher.webtml.utils |
Utility objects for the WebTML runtime including facilities to build WebTML elements.
|
Modifier and Type | Method and Description |
---|---|
Context |
Database.createTMLContext()
Creates a WebTML Context object using this application for context.
|
Context |
WGA.createTMLContext(de.innovationgate.webgate.api.WGContent content)
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.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)
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,
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)
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.
|
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.
|
Context |
QueryResult.getFirstResult()
Returns the first result content of the query
This is an effective way of returning the very first content document that is returned by the query if only this is important.
|
Context |
WGA.tmlcontext()
Returns the WebTML context of the environment
Will only work in those environments that run on behalf of WebTML functionalties, like WebTML elements etc.
|
Modifier and Type | Method and Description |
---|---|
abstract de.innovationgate.utils.SkippingIterator<Context> |
CollectionResult.iterator() |
de.innovationgate.utils.SkippingIterator<Context> |
QueryResult.iterator()
Iterators over the query results in the form of WebTML context objects
|
Modifier and Type | Method and Description |
---|---|
App |
WGA.app(Context cx)
Returns an application object for the WebTML context
This will only work if the context database represents an OpenWGA application.
|
Object |
Design.callAction(Context context,
String actionID,
List<Object> actionArgs,
DesignResourceReference baseReference,
GlobalExpressionScope globalScope)
Calls a WebTML action
This is a variant of
WGA.callAction(Context, String, List, DesignResourceReference, GlobalExpressionScope) which is able to call actions that are defined in or for the current design. |
Object |
WGA.callAction(Context context,
String actionID,
List actionArgs,
DesignResourceReference baseReference,
GlobalExpressionScope globalScope)
Calls a WebTML action
This can be used to call WebTML actions that are defined in any allowed way, including master and async actions.
|
FormInfo |
Design.createFormInfo(Context context,
String id)
Creates a
FormInfo to be used to create a new WebTML form |
Database |
WGA.database(Context cx)
Returns a database object for the WebTML context
This either returns an
App or DataSource object, depending on the database type |
DataSource |
WGA.dataSource(Context cx)
Returns a data source object for the WebTML context
This will only work if the context database represents an OpenWGA data source.
|
CollectionResult |
CollectionResult.exclude(Context cx)
Creates a new
CollectionResult omitting the given document |
static WGA |
WGA.get(Context context)
Returns a WGA instance using the given TMLContext object for a context.
|
Object |
Design.getGlobal(Context context,
String name)
Deprecated.
Bogus context parameter. Use
Design.getGlobal(String) |
PropertyResourceBundle |
Design.getLabelBundle(Context context,
String container,
String file,
String language)
Deprecated.
Bogus context parameter. Use
Design.getLabelBundle(String, String, String) . |
Lucene |
WGA.lucene(Context context)
Returns a Lucene object providing functionalities related to fulltext search
|
Nav |
WGA.nav(Context context)
Returns a Nav Object for the given WebTML context
|
boolean |
CollectionResult.Filter.passesFilter(Context context)
Checks if a document passes the filter
|
QueryResult |
Database.query(String queryType,
String queryString,
Map<String,Object> atts,
Map<String,Object> queryParams,
Context context)
Performs a query on the database
This method is the WGA server API pendant to WebTML tag
|
void |
Design.registerDbGlobal(Context context,
String name,
Object ref)
Deprecated.
Bogus context parameter. Use
Design.registerDbGlobal(String, Object) . |
void |
Design.registerGlobal(Context context,
String name,
Object ref)
Deprecated.
Bogus context parameter. Use
Design.registerGlobal(String, Object) . |
String |
Design.resolveScriptlets(Context context,
String input)
Resolve scriptlets in the given input
|
String |
Design.resolveScriptlets(Context context,
String input,
Map<String,Object> objects)
Resolve scriptlets in the given input
|
Object |
TMLScript.runExpression(Context context,
String expression)
Runs a TMLScript expression
|
Object |
TMLScript.runExpression(Context cx,
String expression,
Map<String,Object> extraObjects)
Runs a TMLScript expression
|
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.runScript(Context context,
String expression)
Runs a TMLScript script
|
Object |
TMLScript.runScript(Context cx,
String expression,
Map<String,Object> extraObjects)
Runs a TMLScript script
|
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
|
de.innovationgate.webgate.api.WGFileDerivateMetaData |
WGA.selectDerivate(Context cx,
String fileName,
String derivateQueryStr)
Selects a file derivate of a file attachment which is the best match for a derivate query
|
void |
Design.unregisterGlobal(Context context,
String globalName)
Deprecated.
Bogus context parameter. Use
Design.unregisterGlobal(String) . |
URLBuilder |
WGA.urlBuilder(Context context)
Creates a WGAPI URLBuilder object to contruct and modify URLs, using the current request URL
|
URLBuilder |
WGA.urlBuilder(Context context,
String urlStr)
Creates a WGAPI URLBuilder object to contruct and modify URLs
|
Modifier and Type | Method and Description |
---|---|
Context |
Context.context(String expression)
Creates a TMLContext object for a different content document.
|
Context |
Context.context(String expression,
boolean returnContextOnError)
Creates a TMLContext object for a different content document.
|
Context |
Context.context(de.innovationgate.webgate.api.WGContent content)
Takes a content document in form of the WGAPI object "WGContent" and constructs a TMLContext object that has it in context.
|
Context |
Portlet.getcontext()
Gets the portlet context
|
Context |
Form.gettargetcontext()
Returns the context for which this form was instantiated.
|
Modifier and Type | Method and Description |
---|---|
void |
Portlet.setcontext(Context context)
Sets the portlet context
|
Modifier and Type | Method and Description |
---|---|
Context |
ElementImplContext.getContext()
Retrieves the WebTML context of the element tag
|
Context |
ElementImplContext.getMainContext()
The main tml context of the currently rendered tml page, i.e. the context initially requested by the calling URL.
|