Package | Description |
---|---|
com.google.web.bindery.requestfactory.shared.impl |
Modifier and Type | Class and Description |
---|---|
class |
SimpleEntityProxyId<P extends EntityProxy>
Extends SimpleProxyId with the correct parameterization to implement
EntityProxyId.
|
Modifier and Type | Field and Description |
---|---|
Map<SimpleProxyId<?>,AutoBean<? extends BaseProxy>> |
AbstractRequestContext.State.editedProxies
A map of all EntityProxies that the RequestContext has interacted with.
|
Map<SimpleProxyId<?>,AutoBean<?>> |
AbstractRequestContext.State.returnedProxies
A map that contains the canonical instance of an entity to return in the return graph, since
this is built from scratch.
|
Map<Integer,SimpleProxyId<?>> |
AbstractRequestContext.State.syntheticIds
A map that allows us to handle the case where the server has sent back an unpersisted entity.
|
Modifier and Type | Method and Description |
---|---|
<P extends BaseProxy> |
IdFactory.allocateId(Class<P> clazz)
Allocates an ephemeral proxy id.
|
<P extends BaseProxy> |
IdFactory.allocateSyntheticId(Class<P> clazz,
int syntheticId)
Allocates a synthetic proxy id.
|
<P extends BaseProxy> |
IdFactory.getBaseProxyId(String historyToken) |
<P extends BaseProxy> |
IdFactory.getId(Class<P> clazz,
String serverId,
int clientId)
Create or retrieve a SimpleProxyId.
|
<P extends BaseProxy> |
IdFactory.getId(String typeToken,
String serverId)
Create or retrieve a SimpleProxyId.
|
<P extends BaseProxy> |
IdFactory.getId(String typeToken,
String serverId,
int clientId)
Create or retrieve a SimpleEntityProxyId.
|
static <T extends BaseProxy> |
BaseProxyCategory.stableId(AutoBean<? extends T> bean) |
Modifier and Type | Method and Description |
---|---|
protected <T extends BaseProxy> |
AbstractRequestContext.createProxy(Class<T> clazz,
SimpleProxyId<T> id,
boolean useAppendedContexts)
Creates a new proxy with an assigned ID.
|
String |
IdFactory.getHistoryToken(SimpleProxyId<?> proxy) |
Splittable |
EntityCodex.EntitySource.getSerializedProxyId(SimpleProxyId<?> stableId)
Should return an encoded
IdMessage . |
Splittable |
AbstractRequestContext.getSerializedProxyId(SimpleProxyId<?> stableId)
EntityCodex support.
|
protected boolean |
AbstractRequestFactory.hasVersionChanged(SimpleProxyId<?> id,
String observedVersion)
Used by
AbstractRequestContext to quiesce update events for objects
that haven't truly changed. |
Copyright © 2016. All rights reserved.