public class MoxtraMeetButtonApplication extends Object implements org.exoplatform.moxtra.webui.MoxtraApplication
UIApplication associated with user profile in eXo and Moxtra
service. This app instance exists together with the UI app (portlet) and has the same life span.| Modifier and Type | Field and Description |
|---|---|
static org.exoplatform.services.log.Log |
LOG |
protected Set<org.exoplatform.webui.config.Component> |
mergedConfigs |
protected org.exoplatform.moxtra.MoxtraService |
moxtra |
protected ThreadLocal<org.exoplatform.webui.core.UIContainer> |
requestComponent
Associated component (container).
|
protected ThreadLocal<org.exoplatform.webui.core.UIApplication> |
uiApp
Associated WebUI app.
|
| Constructor and Description |
|---|
MoxtraMeetButtonApplication() |
| Modifier and Type | Method and Description |
|---|---|
void |
activate(org.exoplatform.webui.core.UIApplication uiApp)
Associate with WebUI application and patch the UI app if required.
|
protected org.exoplatform.webui.core.UIContainer |
comp() |
void |
deactivate(org.exoplatform.webui.core.UIApplication uiApp) |
protected <T extends org.exoplatform.webui.core.UIComponent> |
findChildBySuperType(org.exoplatform.webui.core.UIContainer container,
String superTypeName)
Find UI component child in given container by its super type name.
|
protected <T extends org.exoplatform.webui.core.UIComponent> |
findChildsByInterface(org.exoplatform.webui.core.UIContainer container,
String interfaceName,
boolean deep)
Find UI component children in given container by an interface name.
|
protected <T extends org.exoplatform.webui.core.UIComponent> |
findChildsBySuperType(org.exoplatform.webui.core.UIContainer container,
String superTypeName,
boolean deep)
Find UI component children in given container by a super type name.
|
protected <T extends org.exoplatform.webui.core.UIComponent> |
findComponent(org.exoplatform.webui.core.UIContainer container,
String typeName)
Find UI component in given container by its type name or ID if it equals to the given name.
|
protected <T extends org.exoplatform.webui.core.UIComponent> |
findRenderedChildByInterface(org.exoplatform.webui.core.UIContainer container,
String interfaceName)
Find first rendered UI component in children of given container by an interface name.
|
protected <T extends org.exoplatform.webui.core.UIComponent> |
findRenderedChildBySuperType(org.exoplatform.webui.core.UIContainer container,
String superTypeName)
Find first rendered UI component in children of given container by a super type name.
|
String |
getAuthorizationLink() |
void |
init() |
protected void |
initContext(org.exoplatform.webui.core.UIContainer comp)
Initialize this app context.
|
boolean |
isAuthorized() |
boolean |
isInitialized() |
void |
mergeConfigs(org.exoplatform.webui.config.Component original,
Class<? extends org.exoplatform.webui.core.UIComponent> clazz)
Merge component configurations: event with listeners and if template defined, from extension to original
component config.
|
protected org.exoplatform.moxtra.MoxtraService |
moxtra() |
void |
reset()
Reset associated WebUI app in the context request (current thread).
|
public static final org.exoplatform.services.log.Log LOG
protected final ThreadLocal<org.exoplatform.webui.core.UIApplication> uiApp
protected final ThreadLocal<org.exoplatform.webui.core.UIContainer> requestComponent
protected final Set<org.exoplatform.webui.config.Component> mergedConfigs
protected org.exoplatform.moxtra.MoxtraService moxtra
public void init()
init in interface org.exoplatform.moxtra.webui.MoxtraApplicationpublic boolean isAuthorized()
public String getAuthorizationLink() throws org.apache.oltu.oauth2.common.exception.OAuthSystemException
org.apache.oltu.oauth2.common.exception.OAuthSystemExceptionpublic void activate(org.exoplatform.webui.core.UIApplication uiApp)
activate in interface org.exoplatform.moxtra.webui.MoxtraApplicationuiApp - UIApplicationpublic void reset()
public void deactivate(org.exoplatform.webui.core.UIApplication uiApp)
deactivate in interface org.exoplatform.moxtra.webui.MoxtraApplicationpublic boolean isInitialized()
protected void initContext(org.exoplatform.webui.core.UIContainer comp)
throws org.exoplatform.moxtra.MoxtraException,
org.exoplatform.moxtra.client.MoxtraConfigurationException
comp - UIContainerorg.exoplatform.moxtra.client.MoxtraConfigurationExceptionorg.exoplatform.moxtra.MoxtraExceptionprotected <T extends org.exoplatform.webui.core.UIComponent> T findComponent(org.exoplatform.webui.core.UIContainer container,
String typeName)
container - UIContainertypeName - StringUIComponent or nullprotected <T extends org.exoplatform.webui.core.UIComponent> T findChildBySuperType(org.exoplatform.webui.core.UIContainer container,
String superTypeName)
container - UIContainersuperTypeName - StringUIComponent or nullprotected <T extends org.exoplatform.webui.core.UIComponent> T findRenderedChildBySuperType(org.exoplatform.webui.core.UIContainer container,
String superTypeName)
container - UIContainersuperTypeName - StringUIComponent or nullprotected <T extends org.exoplatform.webui.core.UIComponent> List<T> findChildsBySuperType(org.exoplatform.webui.core.UIContainer container, String superTypeName, boolean deep)
container - UIContainersuperTypeName - StringUIComponent or nullprotected <T extends org.exoplatform.webui.core.UIComponent> T findRenderedChildByInterface(org.exoplatform.webui.core.UIContainer container,
String interfaceName)
container - UIContainerinterfaceName - StringUIComponent or nullprotected <T extends org.exoplatform.webui.core.UIComponent> List<T> findChildsByInterface(org.exoplatform.webui.core.UIContainer container, String interfaceName, boolean deep)
container - UIContainerinterfaceName - StringUIComponent or nullprotected org.exoplatform.moxtra.MoxtraService moxtra()
throws org.exoplatform.moxtra.webui.MoxtraNotInitializedException
org.exoplatform.moxtra.webui.MoxtraNotInitializedExceptionprotected org.exoplatform.webui.core.UIContainer comp()
throws org.exoplatform.moxtra.webui.MoxtraNotActivatedException
org.exoplatform.moxtra.webui.MoxtraNotActivatedExceptionpublic void mergeConfigs(org.exoplatform.webui.config.Component original,
Class<? extends org.exoplatform.webui.core.UIComponent> clazz)
throws Exception
ExceptionCopyright © 2003–2015 eXo Platform SAS. All rights reserved.