java.lang.Object | ||
↳ | com.google.gwt.requestfactory.shared.impl.IdFactory | |
↳ | com.google.gwt.requestfactory.shared.impl.AbstractRequestFactory |
Known Direct Subclasses |
Base type for generated RF interfaces.
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface com.google.gwt.requestfactory.shared.RequestFactory |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new proxy with an assigned ID.
| |||||||||||
Return a request to find a fresh instance of the referenced proxy.
| |||||||||||
Returns the event bus this factory's events are posted on, which was set
via
initialize(EventBus) . | |||||||||||
Get a
History compatible token that
represents the given proxy class. | |||||||||||
Get a
History compatible token that
represents the given class. | |||||||||||
Return the class object which may be used to create new instances of the
type of this token, via
create(Class . | |||||||||||
Return the appropriate
EntityProxyId using a string returned from
getHistoryToken(EntityProxyId) . | |||||||||||
Returns a ProxySerializer that can encode and decode the various
EntityProxy and ValueProxy types reachable from the RequestFactory.
| |||||||||||
Start this request factory with a user-provided transport.
| |||||||||||
The choice of a default request transport is runtime-specific.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Implementations of EntityProxies are provided by an AutoBeanFactory, which
is itself a generated type.
| |||||||||||
Used by
AbstractRequestContext to quiesce update events for objects
that haven't truly changed. |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class com.google.gwt.requestfactory.shared.impl.IdFactory | |||||||||||
From class
java.lang.Object
| |||||||||||
From interface com.google.gwt.requestfactory.shared.RequestFactory |
Creates a new proxy with an assigned ID.
Return a request to find a fresh instance of the referenced proxy.
proxyId | an EntityProxyId instance of type P |
---|
Request
object
Returns the event bus this factory's events are posted on, which was set
via initialize(EventBus)
.
EventBus
associated with this instance
Get a History
compatible token that
represents the given proxy class. It can be processed by
getProxyClass(String)
.
The history token returned for an EntityProxyId associated with a newly-created (future) EntityProxy will differ from the token returned by this method after the EntityProxy has been persisted. Once an EntityProxy has been persisted, the return value for this method will always be stable, regardless of when the EntityProxyId was retrieved relative to the persist operation. In other words, the "future" history token returned for an as-yet-unpersisted EntityProxy is only valid for the duration of the RequestFactory's lifespan.
proxy | an EntityProxyId instance |
---|
History
compatible token
Get a History
compatible token that
represents the given class. It can be processed by
getProxyClass(String)
clazz | a Class object for an EntityProxy subclass |
---|
History
compatible token
Return the class object which may be used to create new instances of the
type of this token, via create(Class
. The token may
represent either a proxy instance (see getHistoryToken(EntityProxyId>)
) or a proxy
class (see getProxyClass(String)
).
historyToken | a String token |
---|
EntityProxy
subclass
Return the appropriate EntityProxyId
using a string returned from
getHistoryToken(EntityProxyId)
.
historyToken | a String token |
---|
Returns a ProxySerializer that can encode and decode the various EntityProxy and ValueProxy types reachable from the RequestFactory.
store | a helper object for the ProxySerializer to provide low-level storage access |
---|
Start this request factory with a user-provided transport.
eventBus | an EventBus |
---|---|
transport | a RequestTransport instance
|
The choice of a default request transport is runtime-specific.
eventBus | an EventBus
|
---|
Implementations of EntityProxies are provided by an AutoBeanFactory, which is itself a generated type.
Used by AbstractRequestContext
to quiesce update events for objects
that haven't truly changed.