java.lang.Object | ||
↳ | com.google.gwt.event.shared.GwtEvent<H extends com.google.gwt.event.shared.EventHandler> | |
↳ | com.google.gwt.requestfactory.shared.EntityProxyChange<P extends com.google.gwt.requestfactory.shared.EntityProxy> |
Abstract base class for an event announcing changes to an
EntityProxy
.
Note that this event includes an unpopulated copy of the changed proxy — all properties are undefined except it's id. That is, the event includes only enough information for receivers to issue requests to get themselves fresh copies of the proxy.
TODO: use ProxyId rather than an empty proxy
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
EntityProxyChange.Handler<P extends EntityProxy> | Implemented by methods that handle EntityProxyChange events. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructs an EntityProxyChange object.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the type associated with this instance.
| |||||||||||
Returns an unpopulated copy of the changed proxy — all properties are
undefined except its id.
| |||||||||||
Returns the
WriteOperation associated with this instance. | |||||||||||
Register a handler for a EntityProxyChange events for a particular proxy
class.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Should only be called by
HandlerManager . |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class com.google.gwt.event.shared.GwtEvent | |||||||||||
From class
java.lang.Object
|
Constructs an EntityProxyChange object.
proxy | an EntityProxy instance of type P |
---|---|
writeOperation | a WriteOperation instance
|
Returns the type associated with this instance.
GwtEvent.Type
of type Handler<P>
Returns an unpopulated copy of the changed proxy — all properties are undefined except its id.
EntityProxyId
<P>
Returns the WriteOperation
associated with this instance.
WriteOperation
instance
Register a handler for a EntityProxyChange events for a particular proxy class.
eventBus | the EventBus |
---|---|
proxyType | a Class instance of type P |
handler | an EntityProxyChange.Handler instance of type P |
EntityProxy
instance
Should only be called by HandlerManager
. In other words, do not use
or call.
handler | handler |
---|