Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.gwt.runtime.client
Class JSContext

java.lang.Object
  extended by com.google.gwt.core.client.JavaScriptObject
      extended by org.nuxeo.ecm.gwt.runtime.client.JSContext

public class JSContext
extends com.google.gwt.core.client.JavaScriptObject

A Java overlay type over a JS native type.

This native type is the one used to propagate configuration and events from JS code to java code.

Author:
Bogdan Stefanescu

Method Summary
 java.lang.Object fire(java.lang.String eventId, java.lang.String data)
           
 java.lang.String getAnonymousUserName()
           
static JSContext getCurrent()
           
 java.lang.String getModulePath()
           
 java.lang.String getProperty(java.lang.String key)
           
 java.util.Map<java.lang.String,java.lang.String> getRepositoryRoots()
           
 java.lang.String getSkinPath()
           
 java.lang.String getUserName()
           
 java.lang.String getVersion()
           
 
Methods inherited from class com.google.gwt.core.client.JavaScriptObject
cast, createArray, createFunction, createObject, equals, hashCode, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

getCurrent

public static JSContext getCurrent()

fire

public final java.lang.Object fire(java.lang.String eventId,
                                   java.lang.String data)

getVersion

public final java.lang.String getVersion()

getSkinPath

public final java.lang.String getSkinPath()

getModulePath

public final java.lang.String getModulePath()

getUserName

public final java.lang.String getUserName()

getAnonymousUserName

public final java.lang.String getAnonymousUserName()

getProperty

public final java.lang.String getProperty(java.lang.String key)

getRepositoryRoots

public final java.util.Map<java.lang.String,java.lang.String> getRepositoryRoots()

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.