Uses of Interface
com.google.web.bindery.requestfactory.shared.EntityProxyId
Package
Description
Shared classes used on both the client and the server side for transmitting
data between the server and the client in JSON format.
-
Uses of EntityProxyId in com.google.web.bindery.requestfactory.shared
Modifier and TypeMethodDescriptionEntityProxyChange.getProxyId()
Returns an unpopulated copy of the changed proxy — all properties are undefined except its id.<T extends EntityProxy>
EntityProxyId<T> RequestFactory.getProxyId
(String historyToken) Return the appropriateEntityProxyId
using a string returned fromRequestFactory.getHistoryToken(EntityProxyId)
.Violation.getProxyId()
Deprecated.Returns the proxy id associated with thisViolation
if the object associated with the violation is anEntityProxy
.EntityProxy.stableId()
Returns theEntityProxyId
that identifies a particular instance of the type proxied by the receiver.Modifier and TypeMethodDescription<T extends EntityProxy>
TProxySerializer.deserialize
(EntityProxyId<T> id) Recreate aEntityProxy
instance that was previously passed toProxySerializer.serialize(BaseProxy)
.<P extends EntityProxy>
Request<P> RequestContext.find
(EntityProxyId<P> proxyId) Return a request to find a fresh instance of the referenced proxy.<P extends EntityProxy>
Request<P> RequestFactory.find
(EntityProxyId<P> proxyId) Return a request to find a fresh instance of the referenced proxy.RequestFactory.getHistoryToken
(EntityProxyId<?> proxy) Get aHistory
compatible token that represents the given proxy class. -
Uses of EntityProxyId in com.google.web.bindery.requestfactory.shared.testing
Modifier and TypeMethodDescription<T extends EntityProxy>
EntityProxyId<T> FakeRequestFactory.getProxyId
(String historyToken) Returnsnull
.Modifier and TypeMethodDescription<P extends EntityProxy>
Request<P> FakeRequestContext.find
(EntityProxyId<P> proxyId) Returnsnull
.<P extends EntityProxy>
Request<P> FakeRequestFactory.find
(EntityProxyId<P> proxyId) Returnsnull
.FakeRequestFactory.getHistoryToken
(EntityProxyId<?> proxy) Returnsnull
.