public interface LanguageBehaviour
| Modifier and Type | Method and Description |
|---|---|
de.innovationgate.webgate.api.WGContent |
requestSelectContentForName(de.innovationgate.webgate.api.WGDatabase db,
javax.servlet.http.HttpServletRequest req,
java.lang.String name,
boolean isBI)
Selects a content for an unique name based on request locales
|
de.innovationgate.webgate.api.WGContent |
requestSelectContentForPage(de.innovationgate.webgate.api.WGStructEntry page,
javax.servlet.http.HttpServletRequest req,
boolean isBI)
Selects a content from a page on based on request locales
|
de.innovationgate.webgate.api.WGLanguage |
requestSelectDatabaseLanguage(de.innovationgate.webgate.api.WGDatabase db,
javax.servlet.http.HttpServletRequest req)
Selects a language from a database based on request locales
|
java.lang.String |
webtmlFetchLabel(WGAResourceBundleManager manager,
TMLContext context,
java.lang.String container,
java.lang.String file,
java.lang.String key)
Fetches an WebTML label inside processing of a WebTML request
|
java.lang.String |
webtmlGetPreferredLanguage(de.innovationgate.webgate.api.WGDatabase db,
TMLContext context)
Returns a language to prefer in the current request for the given database.
|
java.util.List<de.innovationgate.webgate.api.WGLanguage> |
webtmlQueryLanguages(de.innovationgate.webgate.api.WGDatabase db,
TMLContext context)
Returns the languages to return in a WebTML query
|
de.innovationgate.webgate.api.WGContent |
webtmlSelectContentForName(de.innovationgate.webgate.api.WGDatabase db,
TMLContext context,
java.lang.String name,
boolean isBI)
Selects a content for an unique name inside processing of a WebTML request
|
de.innovationgate.webgate.api.WGContent |
webtmlSelectContentForPage(de.innovationgate.webgate.api.WGStructEntry page,
TMLContext sourceContext,
boolean isBI)
Selects a content from a page inside processing of a WebTML request
|
de.innovationgate.webgate.api.WGLanguage |
webtmlSelectDatabaseLanguage(de.innovationgate.webgate.api.WGDatabase db,
TMLContext sourceContext)
Selects a language from a database inside processing of a WebTML request
|
de.innovationgate.webgate.api.WGContent requestSelectContentForPage(de.innovationgate.webgate.api.WGStructEntry page,
javax.servlet.http.HttpServletRequest req,
boolean isBI)
throws de.innovationgate.webgate.api.WGAPIException
page - The pagereq - The current requestisBI - Is true when the user is logged in to authoringde.innovationgate.webgate.api.WGAPIExceptionde.innovationgate.webgate.api.WGContent requestSelectContentForName(de.innovationgate.webgate.api.WGDatabase db,
javax.servlet.http.HttpServletRequest req,
java.lang.String name,
boolean isBI)
throws de.innovationgate.webgate.api.WGAPIException
db - The database holding the contentreq - The current requestname - The unique nameisBI - Is true when the user is logged in to authoringde.innovationgate.webgate.api.WGAPIExceptionde.innovationgate.webgate.api.WGLanguage requestSelectDatabaseLanguage(de.innovationgate.webgate.api.WGDatabase db,
javax.servlet.http.HttpServletRequest req)
throws de.innovationgate.webgate.api.WGAPIException
db - The databasereq - The current requestde.innovationgate.webgate.api.WGAPIExceptionde.innovationgate.webgate.api.WGContent webtmlSelectContentForPage(de.innovationgate.webgate.api.WGStructEntry page,
TMLContext sourceContext,
boolean isBI)
throws de.innovationgate.webgate.api.WGAPIException
page - The pagesourceContext - The context from whom to the page is addressed. Note that this may be a context from another database.isBI - Is true when the user is logged in to authoringde.innovationgate.webgate.api.WGAPIExceptionde.innovationgate.webgate.api.WGContent webtmlSelectContentForName(de.innovationgate.webgate.api.WGDatabase db,
TMLContext context,
java.lang.String name,
boolean isBI)
throws de.innovationgate.webgate.api.WGAPIException
db - The databasecontext - The context from whom the function is called. Note that this may be a context from another database.name - The unique nameisBI - Is true when the user is logged in to authoringde.innovationgate.webgate.api.WGAPIExceptionde.innovationgate.webgate.api.WGLanguage webtmlSelectDatabaseLanguage(de.innovationgate.webgate.api.WGDatabase db,
TMLContext sourceContext)
throws de.innovationgate.webgate.api.WGAPIException
db - The databasesourceContext - The context from whom the function is called. Note that this may be a context from another database.de.innovationgate.webgate.api.WGAPIExceptionjava.lang.String webtmlFetchLabel(WGAResourceBundleManager manager, TMLContext context, java.lang.String container, java.lang.String file, java.lang.String key) throws de.innovationgate.webgate.api.WGAPIException
manager - The resource bundle manager for those labelscontext - The context from whom the function is called. Note that this may be a context from another database.container - The label container namefile - The label file namekey - The label keyde.innovationgate.webgate.api.WGAPIExceptionjava.util.List<de.innovationgate.webgate.api.WGLanguage> webtmlQueryLanguages(de.innovationgate.webgate.api.WGDatabase db,
TMLContext context)
throws de.innovationgate.webgate.api.WGAPIException
db - The database running the querycontext - The context from whom the query is executed. Note that this may be a context from another database.de.innovationgate.webgate.api.WGAPIExceptionjava.lang.String webtmlGetPreferredLanguage(de.innovationgate.webgate.api.WGDatabase db,
TMLContext context)
throws de.innovationgate.webgate.api.WGAPIException
context - The database for whom the preferred language is to be determinedcontext - The context from whom the function is called. Note that this may be a context from another database.de.innovationgate.webgate.api.WGAPIException