Interface RequestFactoryEditorDriver<P,E extends Editor<? super P>>

Type Parameters:
P - the type of Proxy being edited
E - the type of Editor that will edit the Record
All Superinterfaces:
EditorDriver<RequestContext>
All Known Implementing Classes:
MockRequestFactoryEditorDriver

public interface RequestFactoryEditorDriver<P,E extends Editor<? super P>> extends EditorDriver<RequestContext>
The interface that links RequestFactory and the Editor framework together.

Instances of this interface are created with

 interface MyRFED extends RequestFactoryEditorDriver<MyObjectProxy, MyObjectEditor> {}
 MyRFED instance = GWT.create(MyRFED.class);
 {
 instance.initialize(.....);
 myRequest.with(instance.getPaths());
 
 // Fire the request, in the callback
 instance.edit(retrievedRecord);
 // Control when the request is sent
 instance.flush().fire(new Receiver {...});
 }
 
See Also: