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.impl | |
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(String historyToken)
Return the appropriate
EntityProxyId using a string returned from
RequestFactory.getHistoryToken(EntityProxyId) . |
static <P extends EntityProxy> |
EntityProxyChange.registerForProxyType(EventBus eventBus,
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 |
---|---|
Class<? extends EntityProxy> |
RequestFactory.getProxyClass(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 |
---|---|
String |
RequestFactory.getHistoryToken(Class<? extends EntityProxy> clazz)
Get a
History compatible token that
represents the given class. |
Modifier and Type | Class and Description |
---|---|
class |
SimpleEntityProxyId<P extends EntityProxy>
Extends SimpleProxyId with the correct parameterization to implement
EntityProxyId.
|
Modifier and Type | Method and Description |
---|---|
<P extends EntityProxy> |
IdFactory.asEntityProxy(Class<? extends BaseProxy> clazz)
A utility function to handle generic type conversion.
|
<P extends EntityProxy> |
FindRequest.find(EntityProxyId<P> proxyId)
Use the implicit lookup in passing EntityProxy types to service methods.
|
<P extends EntityProxy> |
AbstractRequestFactory.find(EntityProxyId<P> proxyId) |
<P extends EntityProxy> |
AbstractRequestContext.find(EntityProxyId<P> proxyId) |
<T extends EntityProxy> |
AbstractRequestFactory.getProxyId(String historyToken) |
static <T extends EntityProxy> |
EntityProxyCategory.stableId(AutoBean<? extends T> bean)
Effectively overrides
BaseProxyCategory.stableId(AutoBean) to
return a narrower bound. |
Modifier and Type | Method and Description |
---|---|
Class<? extends EntityProxy> |
AbstractRequestFactory.getProxyClass(String historyToken) |
Modifier and Type | Method and Description |
---|---|
static boolean |
EntityProxyCategory.equals(AutoBean<? extends EntityProxy> bean,
Object o)
EntityProxies are equal if they are from the same RequestContext and their
stableIds are equal.
|
String |
AbstractRequestFactory.getHistoryToken(Class<? extends EntityProxy> clazz) |
static int |
EntityProxyCategory.hashCode(AutoBean<? extends EntityProxy> bean)
Hashcode is always that of the stableId, since it's stable across time.
|
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(String historyToken)
Returns
null . |
Modifier and Type | Method and Description |
---|---|
Class<? extends EntityProxy> |
FakeRequestFactory.getProxyClass(String historyToken)
Returns
null . |
Modifier and Type | Method and Description |
---|---|
String |
FakeRequestFactory.getHistoryToken(Class<? extends EntityProxy> clazz)
Returns
null . |
Copyright © 2016. All rights reserved.