java.lang.Object | |
↳ | com.google.gwt.requestfactory.client.testing.MockRequestFactoryEditorDriver<P, E extends com.google.gwt.editor.client.Editor<P>> |
A no-op implementation of RequestFactoryEditorDriver
that records its
inputs.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Records its arguments.
| |||||||||||
Records its arguments.
| |||||||||||
Returns
null or the last value recorded. | |||||||||||
Returns
null or the last value recorded. | |||||||||||
Returns an empty list.
| |||||||||||
Returns
null or the last value recorded. | |||||||||||
Returns a zero-length array.
| |||||||||||
Returns
null or the last value recorded. | |||||||||||
Returns
null or the last value recorded. | |||||||||||
Returns
null or the last value recorded. | |||||||||||
Returns
false . | |||||||||||
Initializes a driver that will not be able to support subscriptions.
| |||||||||||
Records its arguments.
| |||||||||||
Initializes a driver with the editor it will run, and a RequestFactory to
use for subscription services.
| |||||||||||
A no-op method that always returns false.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.google.gwt.requestfactory.client.RequestFactoryEditorDriver
|
Records its arguments.
proxy | a Proxy of type P |
---|
Records its arguments.
proxy | the proxy to be edited |
---|---|
saveRequest | the request context that will accumulate edits and is
returned form flush()
|
Returns null
or the last value recorded.
edit(P, RequestContext)
Returns null
or the last value recorded.
Returns an empty list.
EditorError
instances
Returns null
or the last value recorded.
Returns false
.
true if errors are present
Initializes a driver that will not be able to support subscriptions. Calls
to subscribe()
will do
nothing.
editor | an Editor of type E
|
---|
Records its arguments.
eventBus | the EventBus |
---|---|
requestFactory | a RequestFactory instance |
editor | an Editor of type E |
Initializes a driver with the editor it will run, and a RequestFactory to use for subscription services.
requestFactory | a RequestFactory instance |
---|---|
editor | an Editor of type E |
A no-op method that always returns false.
errors | a Iterable over Violation instances |
---|
true
if there were any unconsumed EditorErrors which
can be retrieved from getErrors()