| Modifier and Type | Field and Description |
|---|---|
HDBModel |
HDBModel |
QUERYATT_ALLLANGUAGES, QUERYATT_CACHE, QUERYATT_DB, QUERYATT_HIGHLIGHT, QUERYATT_INCLUDECURRENT, QUERYATT_LANGUAGE, QUERYATT_MAX, QUERYATT_ONLYPUBLISHED, QUERYATT_OPTIONS, QUERYATT_ROLE, QUERYOUT_SIMPLIFIED_QUERY| Modifier and Type | Method and Description |
|---|---|
Context |
context()
TMLContext handling for App
|
Context |
context(java.lang.String expression) |
Context |
context(java.lang.String expression,
boolean returnContextOnError) |
Context |
context(de.innovationgate.webgate.api.WGContent c) |
ApplicationEventBuilder |
createEvent(java.util.List<? extends java.lang.Object> qualifiers) |
ApplicationEventBuilder |
createEvent(java.lang.String eventPathStr) |
ApplicationEventBuilder |
createEvent(java.lang.String eventPathStr,
java.util.Map<java.lang.Object,java.lang.Object> params) |
Design |
design()
Returns the design context of the app
|
Design |
design(java.lang.String refString)
Returns the design context for a design resource in this app
|
void |
fireEvent(java.lang.String eventPathStr) |
void |
fireEvent(java.lang.String eventPathStr,
java.util.Map<java.lang.Object,java.lang.Object> params) |
java.util.List<java.lang.String> |
getAreaNames()
Returns a list of names of the website areas of this app
|
java.lang.String |
getBaseURL() |
java.util.List<java.lang.String> |
getContentTypeNames()
Returns a list of names of the content types of this app
|
java.lang.Object |
getGlobal(java.lang.String name)
Returns a TMLScript global that is available for the current app
This method allows to retrieve TMLScript globals with their name as method parameter.
|
Context |
getHomepage() |
java.lang.String |
getHomepageURL() |
java.util.List<java.lang.String> |
getLanguageNames()
Returns a list of names of the languages (i.e. language codes) of this app
|
java.util.List<java.lang.String> |
getUserRoles()
Returns the user roles of the currently logged in user on the application
|
boolean |
isLuceneIndexed()
Returns if a Lucene fulltext index is available for this application
|
Lucene |
lucene()
Returns a lucene object with this application in context.
|
void |
managedGlobal(java.lang.String name,
Design design,
ManagedGlobalConfig config)
Registers a managed TMLScript app global variable, which will get created on demand from the TMLScript module of this Designs current base reference.
|
UserProfile |
userProfile()
Returns the user profile associated with the current user for this app.
|
buildDefaultQueryParams, createTMLContext, db, domain, equals, getAccessLevel, getDbKey, getPublisherOption, getUserName, hashCode, isAnonymous, isAuthor, isChiefEditor, isEditor, isManager, isOpen, isReader, isUserMemberOf, makeQueryParameterName, query, query, query, query, reopenpublic HDBModel HDBModel
public java.lang.Object getGlobal(java.lang.String name)
throws de.innovationgate.webgate.api.WGException
name - Name the globalde.innovationgate.webgate.api.WGAPIExceptionde.innovationgate.webgate.api.WGExceptionpublic Design design() throws de.innovationgate.webgate.api.WGException
UnavailableResourceExceptionde.innovationgate.webgate.api.WGExceptionpublic Design design(java.lang.String refString) throws de.innovationgate.webgate.api.WGException
refString - The name of the design resourceUnavailableResourceExceptionde.innovationgate.webgate.api.WGExceptionpublic java.util.List<java.lang.String> getUserRoles()
throws de.innovationgate.webgate.api.WGException
WGAServerExceptionde.innovationgate.webgate.api.WGExceptionpublic Lucene lucene() throws de.innovationgate.webgate.api.WGException
WGAServerExceptionde.innovationgate.webgate.api.WGExceptionpublic boolean isLuceneIndexed()
throws de.innovationgate.webgate.api.WGException
WGAServerExceptionde.innovationgate.webgate.api.WGExceptionpublic java.util.List<java.lang.String> getAreaNames()
throws de.innovationgate.webgate.api.WGException
de.innovationgate.webgate.api.WGExceptionpublic java.util.List<java.lang.String> getLanguageNames()
throws de.innovationgate.webgate.api.WGException
de.innovationgate.webgate.api.WGExceptionpublic java.util.List<java.lang.String> getContentTypeNames()
throws de.innovationgate.webgate.api.WGException
de.innovationgate.webgate.api.WGExceptionpublic java.lang.String getBaseURL()
throws de.innovationgate.webgate.api.WGException
de.innovationgate.webgate.api.WGExceptionpublic Context getHomepage() throws de.innovationgate.webgate.api.WGException
de.innovationgate.webgate.api.WGExceptionpublic java.lang.String getHomepageURL()
throws de.innovationgate.webgate.api.WGException
de.innovationgate.webgate.api.WGExceptionpublic ApplicationEventBuilder createEvent(java.util.List<? extends java.lang.Object> qualifiers) throws de.innovationgate.webgate.api.WGException
de.innovationgate.webgate.api.WGExceptionpublic ApplicationEventBuilder createEvent(java.lang.String eventPathStr) throws de.innovationgate.webgate.api.WGException
de.innovationgate.webgate.api.WGExceptionpublic ApplicationEventBuilder createEvent(java.lang.String eventPathStr, java.util.Map<java.lang.Object,java.lang.Object> params) throws de.innovationgate.webgate.api.WGException
de.innovationgate.webgate.api.WGExceptionpublic void fireEvent(java.lang.String eventPathStr,
java.util.Map<java.lang.Object,java.lang.Object> params)
throws de.innovationgate.webgate.api.WGException
de.innovationgate.webgate.api.WGExceptionpublic void fireEvent(java.lang.String eventPathStr)
throws de.innovationgate.webgate.api.WGException
de.innovationgate.webgate.api.WGExceptionpublic void managedGlobal(java.lang.String name,
Design design,
ManagedGlobalConfig config)
throws de.innovationgate.webgate.api.WGException
name - scope - The creation scope which determines, for which scope entity individual global objects will be provided. For example: Scope ObjectScope.PORTLET creates individual global objects for every request.de.innovationgate.webgate.api.WGExceptionpublic UserProfile userProfile() throws de.innovationgate.webgate.api.WGException
de.innovationgate.webgate.api.WGExceptionpublic Context context() throws de.innovationgate.webgate.api.WGException
de.innovationgate.webgate.api.WGExceptionpublic Context context(de.innovationgate.webgate.api.WGContent c) throws de.innovationgate.webgate.api.WGException
de.innovationgate.webgate.api.WGExceptionpublic Context context(java.lang.String expression) throws de.innovationgate.webgate.api.WGException
de.innovationgate.webgate.api.WGExceptionpublic Context context(java.lang.String expression, boolean returnContextOnError) throws de.innovationgate.webgate.api.WGException
de.innovationgate.webgate.api.WGException