org.xwiki.gwt.wysiwyg.client.widget.explorer.ds
Class SpaceDataSource

java.lang.Object
  extended by DataSource
      extended by org.xwiki.gwt.wysiwyg.client.widget.explorer.ds.SpaceDataSource

public class SpaceDataSource
extends DataSource

Wrapper for SmartClient-based SpaceDataSource class.


Constructor Summary
SpaceDataSource()
          Constructor.
SpaceDataSource(com.google.gwt.core.client.JavaScriptObject jsObj)
          Constructor.
 
Method Summary
 com.google.gwt.core.client.JavaScriptObject create()
          Native JS call that creates the object.
static SpaceDataSource getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj)
          Static method allowing to get SpaceDataSource, creates the object from the JavaScriptObject argument if it is not null.
 void setSpace(String space)
           
 void setWiki(String wiki)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpaceDataSource

public SpaceDataSource()
Constructor.


SpaceDataSource

public SpaceDataSource(com.google.gwt.core.client.JavaScriptObject jsObj)
Constructor. Wraps the JavaScriptObject argument.

Parameters:
jsObj - JavaScript object to wrap.
Method Detail

getOrCreateRef

public static SpaceDataSource getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj)
Static method allowing to get SpaceDataSource, creates the object from the JavaScriptObject argument if it is not null.

Parameters:
jsObj - JavaScript object to wrap if not null.
Returns:
SpaceDataSource object.

create

public com.google.gwt.core.client.JavaScriptObject create()
Native JS call that creates the object.

Returns:
SpaceDataSource JavaScript object.

setWiki

public void setWiki(String wiki)
Parameters:
wiki - wiki, Default value is "xwiki".

setSpace

public void setSpace(String space)
Parameters:
space - space, Default value is "Main".