Package | Description |
---|---|
de.innovationgate.wga.server.api |
OpenWGA Server API classes.
|
de.innovationgate.wgpublisher.jsputils |
Tool objects for using WGA functionality in JSP artifacts.
|
de.innovationgate.wgpublisher.webtml.utils |
Utility objects for the WebTML runtime including facilities to build WebTML elements.
|
Modifier and Type | Method and Description |
---|---|
TMLContext |
Database.createTMLContext()
Creates a WebTML Context object using this application for context.
|
TMLContext |
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.
|
TMLContext |
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.
|
TMLContext |
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.
|
TMLContext |
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.
|
TMLContext |
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.
|
TMLContext |
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.
|
TMLContext |
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.
|
TMLContext |
WGAContext.getTMLContext() |
TMLContext |
QueryResult.TMLContextWrapperIterator.next() |
TMLContext |
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 |
---|---|
List<TMLContext> |
QueryResult.getPage(int start,
int size)
Returns a page of contents from the query result
|
de.innovationgate.utils.SkippingIterator<TMLContext> |
QueryResult.iterator()
Iterators over the query results in the form of WebTML context objects
|
Modifier and Type | Method and Description |
---|---|
void |
DesignContext.addWarning(TMLContext cx,
String msg,
boolean severe) |
App |
WGA.app(TMLContext cx)
Returns an application object for the WebTML context
This will only work if the context database represents an OpenWGA application.
|
Object |
Design.callAction(TMLContext context,
String actionID,
List<Object> actionArgs,
DesignResourceReference baseReference,
GlobalExpressionScope globalScope)
Calls a WebTML action
This is a variant of
WGA.callAction(TMLContext, String, List, DesignResourceReference, GlobalExpressionScope) which is able to call actions that are defined in or for the current design. |
Object |
WGA.callAction(TMLContext 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(TMLContext context,
String id)
Creates a
FormInfo to be used to create a new WebTML form |
Database |
WGA.database(TMLContext 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(TMLContext cx)
Returns a data source object for the WebTML context
This will only work if the context database represents an OpenWGA data source.
|
static WGA |
WGA.get(TMLContext context)
Returns a WGA instance using the given TMLContext object for a context.
|
TMLScriptGlobal |
Design.getGlobal(TMLContext context,
String name)
Returns a TMLScript global that is available for the current design
This method allows to retrieve TMLScript globals with their name as method parameter.
|
PropertyResourceBundle |
Design.getLabelBundle(TMLContext context,
String container,
String file,
String language)
Retrieves all labels of a label file from the design in a specific language
|
Lucene |
WGA.lucene(TMLContext context)
Returns a Lucene object providing functionalities related to fulltext search
|
QueryResult |
Database.query(String queryType,
String queryString,
Map<String,Object> atts,
Map<String,Object> queryParams,
TMLContext context)
Performs a query on the database
This method is the WGA server API pendant to WebTML tag
|
void |
Design.registerDbGlobal(TMLContext context,
String name,
Object ref)
Defines a "TMLScript db global" variable with a scope limited to the current database
|
void |
Design.registerGlobal(TMLContext context,
String name,
Object ref)
Defines a "TMLScript global" variable
|
String |
Design.resolveScriptlets(TMLContext context,
String input)
Resolve scriptlets in the given input
|
String |
Design.resolveScriptlets(TMLContext context,
String input,
Map<String,Object> objects)
Resolve scriptlets in the given input
|
Object |
TMLScript.runExpression(Design design,
TMLContext cx,
String expression)
Runs a TMLScript expression
|
Object |
TMLScript.runExpression(Design design,
TMLContext cx,
String expression,
Map<String,Object> extraObjects)
Runs a TMLScript expression
|
Object |
TMLScript.runExpression(TMLContext context,
String expression)
Runs a TMLScript expression
|
Object |
TMLScript.runExpression(TMLContext cx,
String expression,
Map<String,Object> extraObjects)
Runs a TMLScript expression
|
Object |
TMLScript.runScript(Design design,
TMLContext cx,
String expression)
Runs a TMLScript script
|
Object |
TMLScript.runScript(Design design,
TMLContext cx,
String expression,
Map<String,Object> extraObjects)
Runs a TMLScript script
|
Object |
TMLScript.runScript(TMLContext context,
String expression)
Runs a TMLScript script
|
Object |
TMLScript.runScript(TMLContext cx,
String expression,
Map<String,Object> extraObjects)
Runs a TMLScript script
|
de.innovationgate.webgate.api.WGFileDerivateMetaData |
WGA.selectDerivate(TMLContext cx,
String fileName,
String derivateQuery)
Selects a file derivate of a file attachment which is the best match for a derivate query
|
void |
Design.unregisterGlobal(TMLContext context,
String globalName)
Removes a TMLScript global
This method is intended to remove previously registered TMLScript globals when they should become unavailable, for example on disconnecting the app/plugin which provides the functionality.
|
URLBuilder |
WGA.urlBuilder(TMLContext context)
Creates a WGAPI URLBuilder object to contruct and modify URLs, using the current request URL
|
URLBuilder |
WGA.urlBuilder(TMLContext context,
String urlStr)
Creates a WGAPI URLBuilder object to contruct and modify URLs
|
Modifier and Type | Method and Description |
---|---|
TMLContext |
JspHelper.getContextFromTag(String id)
Retrieves a TMLContext object for the context of a specified WebTML tag.
|
TMLContext |
JspHelper.getMainContext()
Returns a TMLContext object for the main context of the current request.
|
Modifier and Type | Field and Description |
---|---|
static ThreadLocal<LinkedList<TMLContext>> |
TMLContext._threadMainContexts |
Modifier and Type | Method and Description |
---|---|
TMLContext |
TMLContext.context(String expression) |
TMLContext |
TMLContext.context(String expression,
boolean returnContextOnError) |
TMLContext |
TMLContext.context(de.innovationgate.webgate.api.WGContent content) |
TMLContext |
TMLContext.context(de.innovationgate.webgate.api.WGDocument doc) |
static TMLContext |
TMLContext.createMasterSessionContext(TMLContext context) |
TMLContext |
TMLContext.dbContext(de.innovationgate.webgate.api.WGDatabase dbTarget) |
TMLContext |
TMLContext.dbContext(de.innovationgate.webgate.api.WGDatabase dbTarget,
de.innovationgate.webgate.api.WGLanguageChooser chooser) |
TMLContext |
TMLContext.designContext(TMLDesignContext designContext) |
TMLContext |
TMLContext.getmaincontext() |
TMLContext |
ElementImplContext.getMainContext()
The main tml context of the currently rendered tml page, i.e. the context initially requested by the calling URL.
|
TMLContext |
TMLContext.WebTMLContextEnvironment.getMainContext() |
TMLContext |
TMLContext.IndependentTMLScriptEnvironment.getMainContext() |
static TMLContext |
TMLContext.getThreadMainContext() |
TMLContext |
ElementImplContext.getTMLContext()
Retrieves the tml context object of the element tag.
|
TMLContext |
TMLContext.WebTMLContextEnvironment.getTMLContextForDocument(TMLContext parentContext,
de.innovationgate.webgate.api.WGDocument doc) |
TMLContext |
TMLContext.IndependentTMLScriptEnvironment.getTMLContextForDocument(TMLContext parentContext,
de.innovationgate.webgate.api.WGDocument doc) |
TMLContext |
TMLContext.getTMLContextForDocument(de.innovationgate.webgate.api.WGDocument doc) |
Modifier and Type | Method and Description |
---|---|
void |
TMLContext.WebTMLDesignContext.addWarning(TMLContext cx,
String msg,
boolean severe) |
void |
TMLContext.IndependentDesignContext.addWarning(TMLContext cx,
String msg,
boolean severe) |
static TMLContext |
TMLContext.createMasterSessionContext(TMLContext context) |
TMLContext |
TMLContext.WebTMLContextEnvironment.getTMLContextForDocument(TMLContext parentContext,
de.innovationgate.webgate.api.WGDocument doc) |
TMLContext |
TMLContext.IndependentTMLScriptEnvironment.getTMLContextForDocument(TMLContext parentContext,
de.innovationgate.webgate.api.WGDocument doc) |
void |
TMLContext.importEnvironmentData(TMLContext context) |
void |
TMLContext.importEnvironmentData(TMLContext context,
boolean includeIntrusiveData) |
void |
TMLContext.WebTMLContextEnvironment.importEnvironmentData(TMLContext context,
boolean includeIntrusiveData) |
void |
TMLContext.IndependentTMLScriptEnvironment.importEnvironmentData(TMLContext context,
boolean includeIntrusiveData) |
void |
TMLContextAwareFormatter.setContext(TMLContext context)
Dependency injection method for TMLContext.
|
Constructor and Description |
---|
ElementImplContext(Map options,
TMLContext context,
de.innovationgate.wgpublisher.webtml.Element.Status tagContext)
Constructor of the context.
|
TMLContext.MasterAction(TMLContext context,
TMLAction action,
List params) |
TMLContext(TMLContext parentContext,
BaseTagStatus status)
Constructor to create clones of a context with a design context for a different WebTML tag
|