Package | Description |
---|---|
com.google.web.bindery.requestfactory.server |
Server-side classes for mediating between the client-side and the persistent
datastore.
|
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 | |
com.google.web.bindery.requestfactory.vm |
Classes to use RequestFactory in a non-GWT (e.g., Android or desktop) JRE
environment.
|
Modifier and Type | Method and Description |
---|---|
<Q extends BaseProxy> |
RequestState.getBeanForPayload(com.google.web.bindery.requestfactory.shared.impl.SimpleProxyId<Q> id,
java.lang.Object domainObject)
Get or create a BaseProxy AutoBean for the given id.
|
<Q extends BaseProxy> |
RequestState.getBeanForPayload(Splittable serializedProxyId)
EntityCodex support.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<AutoBean<? extends BaseProxy>> |
RequestState.getBeansForPayload(java.util.List<? extends IdMessage> idMessages)
Get or create BaseProxy AutoBeans for a list of id-bearing messages.
|
java.lang.Class<? extends BaseProxy> |
ServiceLayerDecorator.resolveClass(java.lang.String typeToken) |
java.lang.Class<? extends BaseProxy> |
ServiceLayerCache.resolveClass(java.lang.String typeToken) |
abstract java.lang.Class<? extends BaseProxy> |
ServiceLayer.resolveClass(java.lang.String typeToken)
Given a type token previously returned from
ServiceLayer.resolveTypeToken(Class) , return the Class literal associated with
the token. |
java.lang.Class<? extends BaseProxy> |
ResolverServiceLayer.resolveClass(java.lang.String typeToken) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
ServiceLayerDecorator.resolveTypeToken(java.lang.Class<? extends BaseProxy> proxyType) |
java.lang.String |
ServiceLayerCache.resolveTypeToken(java.lang.Class<? extends BaseProxy> domainClass) |
abstract java.lang.String |
ServiceLayer.resolveTypeToken(java.lang.Class<? extends BaseProxy> proxyType)
Return a string used to represent the given type in the wire protocol.
|
java.lang.String |
ResolverServiceLayer.resolveTypeToken(java.lang.Class<? extends BaseProxy> clazz) |
Modifier and Type | Interface and Description |
---|---|
interface |
InstanceRequest<P extends BaseProxy,T>
Used to call instance methods.
|
Modifier and Type | Interface and Description |
---|---|
interface |
EntityProxy
A proxy for a server-side domain object.
|
interface |
ValueProxy
An analog to EntityProxy for domain types that do not have an identity
concept.
|
Modifier and Type | Method and Description |
---|---|
<T extends BaseProxy> |
RequestContext.create(java.lang.Class<T> clazz)
Returns a new mutable proxy that this request can carry to the server,
perhaps to be persisted.
|
<T extends BaseProxy> |
ProxySerializer.deserialize(java.lang.Class<T> proxyType,
java.lang.String key)
Recreate a proxy instance that was previously passed to
ProxySerializer.serialize(BaseProxy) . |
<T extends BaseProxy> |
RequestContext.edit(T object)
Returns a mutable version of the proxy, whose mutations will accumulate in
this context.
|
Modifier and Type | Method and Description |
---|---|
BaseProxy |
Violation.getInvalidProxy()
Deprecated.
If the ConstraintViolation occurred while validating a object, this method
will return a BaseProxy that contains the invalid values.
|
BaseProxy |
Violation.getOriginalProxy()
Deprecated.
If the ConstraintViolation occurred while validating a value object that
originated from the server, this method will return a BaseProxy that
contains the original values.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
ProxySerializer.serialize(BaseProxy proxy)
Store a proxy into the backing store.
|
Modifier and Type | Method and Description |
---|---|
<T extends BaseProxy> |
FakeRequestContext.create(java.lang.Class<T> clazz)
Returns
null . |
<T extends BaseProxy> |
FakeRequestContext.edit(T object)
Always returns
object . |
Modifier and Type | Method and Description |
---|---|
protected <T extends BaseProxy> |
InProcessRequestContext.createProxy(java.lang.Class<T> clazz,
com.google.web.bindery.requestfactory.shared.impl.SimpleProxyId<T> id,
boolean useAppendedContexts) |
protected <P extends BaseProxy> |
InProcessRequestFactory.getTypeFromToken(java.lang.String typeToken) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
InProcessRequestFactory.getTypeToken(java.lang.Class<? extends BaseProxy> clazz) |