com.vaadin.client.data
Class RpcDataSourceConnector

java.lang.Object
  extended by com.vaadin.client.ui.AbstractConnector
      extended by com.vaadin.client.extensions.AbstractExtensionConnector
          extended by com.vaadin.client.data.RpcDataSourceConnector
All Implemented Interfaces:
com.google.gwt.event.shared.EventHandler, StateChangeEvent.StateChangeHandler, ServerConnector, com.vaadin.shared.Connector, java.io.Serializable

public class RpcDataSourceConnector
extends AbstractExtensionConnector

Connects a Vaadin server-side container data source to a Grid. This is currently implemented as an Extension hardcoded to support a specific connector type. This will be changed once framework support for something more flexible has been implemented.

Since:
Author:
Vaadin Ltd
See Also:
Serialized Form

Nested Class Summary
 class RpcDataSourceConnector.RpcDataSource
           
 
Constructor Summary
RpcDataSourceConnector()
           
 
Method Summary
protected  void extend(ServerConnector target)
          Called when the extension is attached to its parent.
 com.vaadin.shared.data.DataProviderState getState()
          Returns the shared state object for this connector.
 
Methods inherited from class com.vaadin.client.extensions.AbstractExtensionConnector
setParent
 
Methods inherited from class com.vaadin.client.ui.AbstractConnector
addStateChangeHandler, addStateChangeHandler, createState, doInit, ensureHandlerManager, fireEvent, forceStateChange, getChildren, getConnection, getConnectorId, getParent, getResourceUrl, getRpcImplementations, getRpcProxy, getStateType, hasEventListener, init, isEnabled, onStateChanged, onUnregister, registerRpc, removeStateChangeHandler, removeStateChangeHandler, setChildren, unregisterRpc, updateEnabledState
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RpcDataSourceConnector

public RpcDataSourceConnector()
Method Detail

extend

protected void extend(ServerConnector target)
Description copied from class: AbstractExtensionConnector
Called when the extension is attached to its parent. This method is only called once as an extension cannot be moved from one parent to another.

Specified by:
extend in class AbstractExtensionConnector
Parameters:
target - The connector this extension extends

getState

public com.vaadin.shared.data.DataProviderState getState()
Description copied from class: AbstractConnector
Returns the shared state object for this connector. Override this method to define the shared state type for your connector.

Specified by:
getState in interface ServerConnector
Overrides:
getState in class AbstractConnector
Returns:
the current shared state (never null)


Copyright © 2000-2014 Vaadin Ltd. All Rights Reserved.