C
- the type of data used to configure the load from the proxyD
- the type of data being returned by the data proxypublic abstract class RequestFactoryProxy<C,D> extends Object implements DataProxy<C,D>
Constructor and Description |
---|
RequestFactoryProxy() |
Modifier and Type | Method and Description |
---|---|
protected List<FilterConfig> |
createRequestFilterConfig(RequestContext request,
List<? extends FilterConfig> original)
Helper method to translate a list of
FilterConfig instances to something that
RequestFactory is able to send over the wire. |
protected List<SortInfo> |
createRequestSortInfo(RequestContext request,
List<? extends SortInfo> original)
Helper method to translate a list of
SortInfo instances to something that
RequestFactory is able to send over the wire. |
void |
load(C loadConfig,
<any> callback)
Data should be retrieved using the specified load config.
|
abstract void |
load(C loadConfig,
<any> receiver)
Process results using a Receiver.
|
public final void load(C loadConfig, <any> callback)
DataProxy
public abstract void load(C loadConfig, <any> receiver)
protected List<SortInfo> createRequestSortInfo(RequestContext request, List<? extends SortInfo> original)
SortInfo
instances to something that
RequestFactory is able to send over the wire. Must be given the RequestContext
instance to be used to send the request so the newly created object exists in the request.request
- the request over which these items will be sentoriginal
- the list of SortInfo
instances to copySortInfo
instances able to be sent over the given requestprotected List<FilterConfig> createRequestFilterConfig(RequestContext request, List<? extends FilterConfig> original)
FilterConfig
instances to something that
RequestFactory is able to send over the wire. Must be given the RequestContext
instance to be used to send the request so the newly created object exists in the request.request
- the request over which these items will be sentoriginal
- the list of FilterConfig
instances to copyFilterConfig
instances able to be sent over the given requestCopyright © 2018. All rights reserved.