Package | Description |
---|---|
com.google.web.bindery.requestfactory.gwt.ui.client |
Classes used by the request factory to manage proxies, user logins, and
authentication.
|
com.google.web.bindery.requestfactory.shared |
Shared classes used on both the client and the server side for transmitting
data between the server and the client in JSON format.
|
com.google.web.bindery.requestfactory.shared.testing |
Modifier and Type | Class and Description |
---|---|
class |
EntityProxyKeyProvider<P extends EntityProxy>
An
EntityProxy -aware key provider, handy for use with
SelectionModel and various cell widgets. |
Modifier and Type | Class and Description |
---|---|
class |
EntityProxyChange<P extends EntityProxy>
Event posted by a
RequestFactory when changes to an entity are
detected. |
static interface |
EntityProxyChange.Handler<P extends EntityProxy>
Implemented by methods that handle EntityProxyChange events.
|
interface |
EntityProxyId<P extends EntityProxy>
A stable, opaque id of an
EntityProxy that remains stable across
updates, creates, deletes on the client. |
Modifier and Type | Method and Description |
---|---|
<T extends EntityProxy> |
ProxySerializer.deserialize(EntityProxyId<T> id)
Recreate a
EntityProxy instance that was previously passed to
ProxySerializer.serialize(BaseProxy) . |
<P extends EntityProxy> |
RequestFactory.find(EntityProxyId<P> proxyId)
Return a request to find a fresh instance of the referenced proxy.
|
<P extends EntityProxy> |
RequestContext.find(EntityProxyId<P> proxyId)
Return a request to find a fresh instance of the referenced proxy.
|
<T extends EntityProxy> |
RequestFactory.getProxyId(java.lang.String historyToken)
Return the appropriate
EntityProxyId using a string returned from
RequestFactory.getHistoryToken(EntityProxyId) . |
static <P extends EntityProxy> |
EntityProxyChange.registerForProxyType(EventBus eventBus,
java.lang.Class<P> proxyType,
EntityProxyChange.Handler<P> handler)
Register a handler for a EntityProxyChange events for a particular proxy
class.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Class<? extends EntityProxy> |
RequestFactory.getProxyClass(java.lang.String historyToken)
Return the class object which may be used to create new instances of the
type of this token, via
RequestContext.create(java.lang.Class<T>) . |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
RequestFactory.getHistoryToken(java.lang.Class<? extends EntityProxy> clazz)
Get a
History compatible token that
represents the given class. |
Modifier and Type | Method and Description |
---|---|
<P extends EntityProxy> |
FakeRequestFactory.find(EntityProxyId<P> proxyId)
Returns
null . |
<P extends EntityProxy> |
FakeRequestContext.find(EntityProxyId<P> proxyId)
Returns
null . |
<T extends EntityProxy> |
FakeRequestFactory.getProxyId(java.lang.String historyToken)
Returns
null . |
Modifier and Type | Method and Description |
---|---|
java.lang.Class<? extends EntityProxy> |
FakeRequestFactory.getProxyClass(java.lang.String historyToken)
Returns
null . |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
FakeRequestFactory.getHistoryToken(java.lang.Class<? extends EntityProxy> clazz)
Returns
null . |