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.hdb |
HDBModel API classes.
|
de.innovationgate.wgpublisher.webtml.portlet | |
de.innovationgate.wgpublisher.webtml.utils |
Utility objects for the WebTML runtime including facilities to build WebTML elements.
|
Modifier and Type | Method and Description |
---|---|
Context |
App.context()
TMLContext handling for App
|
Context |
WGA.context(java.lang.String expression) |
Context |
App.context(java.lang.String expression) |
Context |
WGA.context(java.lang.String expression,
boolean returnContextOnError) |
Context |
App.context(java.lang.String expression,
boolean returnContextOnError) |
Context |
WGA.context(de.innovationgate.webgate.api.WGContent content) |
Context |
App.context(de.innovationgate.webgate.api.WGContent c) |
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 |
CollectionResult.getFirstResult()
Returns the first result of the query
This is an effective way of returning the very first document that is returned by the query if only this is important.
|
Context |
App.getHomepage() |
Context |
Call.getMainContext()
Returns the main WebTML context of this request
|
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 |
---|---|
de.innovationgate.utils.SkippingIterator<Context> |
QueryResult.iterator()
Iterators over the query results in the form of WebTML context objects
|
abstract de.innovationgate.utils.SkippingIterator<Context> |
CollectionResult.iterator() |
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.
|
java.lang.Object |
Design.callAction(Context cx,
java.util.List<java.lang.Object> actionArgs)
Calls the TMLScript module, adressed by the current base reference, as WebTML action
|
java.lang.Object |
Design.callAction(Context cx,
java.util.List<java.lang.Object> actionArgs,
java.util.Map<java.lang.String,java.lang.Object> additionalObjects)
Calls the TMLScript module, adressed by the current base reference, as WebTML action
|
java.lang.Object |
WGA.callAction(Context context,
java.lang.String actionID,
java.util.List<java.lang.Object> 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.
|
java.lang.Object |
Design.callAction(Context context,
java.lang.String actionID,
java.util.List<java.lang.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. |
FormInfo |
Design.createFormInfo(Context context,
java.lang.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.
|
java.lang.Object |
Design.getGlobal(Context context,
java.lang.String name)
Deprecated.
Bogus context parameter. Use
Design.getGlobal(String) |
java.util.PropertyResourceBundle |
Design.getLabelBundle(Context context,
java.lang.String container,
java.lang.String file,
java.lang.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(java.lang.String queryType,
java.lang.String queryString,
java.util.Map<java.lang.String,java.lang.Object> atts,
java.util.Map<java.lang.String,java.lang.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,
java.lang.String name,
java.lang.Object ref)
Deprecated.
Bogus context parameter. Use
Design.registerAppGlobal(String, Object) . |
void |
Design.registerGlobal(Context context,
java.lang.String name,
java.lang.Object ref)
Deprecated.
Bogus context parameter. Use
Design.registerGlobal(String, Object) . |
java.lang.String |
Design.resolveScriptlets(Context context,
java.lang.String input)
Resolve scriptlets in the given input
|
java.lang.String |
Design.resolveScriptlets(Context context,
java.lang.String input,
java.util.Map<java.lang.String,java.lang.Object> objects)
Resolve scriptlets in the given input
|
java.lang.Object |
TMLScript.runExpression(Context context,
java.lang.String expression)
Runs a TMLScript expression
|
java.lang.Object |
TMLScript.runExpression(Context cx,
java.lang.String expression,
java.util.Map<java.lang.String,java.lang.Object> extraObjects)
Runs a TMLScript expression
|
java.lang.Object |
TMLScript.runExpression(Design design,
Context cx,
java.lang.String expression)
Runs a TMLScript expression
|
java.lang.Object |
TMLScript.runExpression(Design design,
Context cx,
java.lang.String expression,
java.util.Map<java.lang.String,java.lang.Object> extraObjects)
Runs a TMLScript expression
|
java.lang.Object |
TMLScript.runScript(Context context,
java.lang.String expression)
Runs a TMLScript script
|
java.lang.Object |
TMLScript.runScript(Context cx,
java.lang.String expression,
java.util.Map<java.lang.String,java.lang.Object> extraObjects)
Runs a TMLScript script
|
java.lang.Object |
TMLScript.runScript(Design design,
Context cx,
java.lang.String expression)
Runs a TMLScript script
|
java.lang.Object |
TMLScript.runScript(Design design,
Context cx,
java.lang.String expression,
java.util.Map<java.lang.String,java.lang.Object> extraObjects)
Runs a TMLScript script
|
de.innovationgate.webgate.api.WGFileDerivateMetaData |
WGA.selectDerivate(Context cx,
java.lang.String fileName,
java.lang.String derivateQueryStr)
Selects a file derivate of a file attachment which is the best match for a derivate query
|
void |
Design.unregisterGlobal(Context context,
java.lang.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,
java.lang.String urlStr)
Creates a WGAPI URLBuilder object to contruct and modify URLs
|
T |
CollectionResult.Wrapper.wrap(Context context)
Wrap a context
|
Modifier and Type | Method and Description |
---|---|
Context |
Context.context(java.lang.String expression)
Creates a TMLContext object for a different content document.
|
Context |
Context.context(java.lang.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 |
---|---|
boolean |
Context.isselected(Context mainContext)
Returns if the current document is either the document of the given main context or an ancestor document of it
|
void |
TMLPage.render(Design design,
Context cx)
Renders the given WebTML module design und the given context and the current media key
|
void |
TMLPage.render(Design design,
java.lang.String mediaKey,
Context cx)
Renders the given WebTML module design und the given context and the given media key
|
void |
TMLPage.render(Design design,
java.lang.String mediaKey,
Context cx,
java.util.Map<java.lang.Object,java.lang.Object> options)
Renders the given WebTML module design und the given context and the given media key
|
void |
Portlet.setcontext(Context context)
Sets the portlet context
|
Modifier and Type | Method and Description |
---|---|
void |
HDBModel.deleteContent(Context context) |
void |
HDBModel.updateContent(Context ctx,
java.lang.Object param) |
Modifier and Type | Method and Description |
---|---|
void |
TMLPortlet.setcontext(Context context) |
Modifier and Type | Class and Description |
---|---|
class |
TMLContext
Object representing a TML context, i.e. a pointer on a WGA Content Document that is used somewhere inside WebTML.
|
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.
|
Modifier and Type | Method and Description |
---|---|
boolean |
TMLContext.isselected(Context mainContext) |
void |
TMLPageImpl.processControllerResultObject(Design design,
Context cx,
Include.Status includeTag,
TMLOptionPreserver preserver,
TMLScript tmlscript,
java.lang.Object result) |
void |
TMLPageImpl.render(Design design,
Context cx) |
void |
TMLPageImpl.render(Design design,
java.lang.String mediaKey,
Context cx) |
void |
TMLPageImpl.render(Design design,
java.lang.String mediaKey,
Context cx,
java.util.Map<java.lang.Object,java.lang.Object> options) |