public class MacroServiceAsyncCacheProxy extends Object implements MacroServiceAsync
MacroServiceAsync.| Constructor and Description |
|---|
MacroServiceAsyncCacheProxy(MacroServiceAsync service)
Creates a new cache proxy for the given service.
|
| Modifier and Type | Method and Description |
|---|---|
void |
getMacroDescriptor(String macroId,
String syntaxId,
com.google.gwt.user.client.rpc.AsyncCallback<MacroDescriptor> async)
Makes a request to the server to get the descriptor for the specified macro.
|
void |
getMacroDescriptors(String syntaxId,
com.google.gwt.user.client.rpc.AsyncCallback<List<MacroDescriptor>> async)
Makes a request to the server to get all the macro descriptors for the specified syntax.
|
public MacroServiceAsyncCacheProxy(MacroServiceAsync service)
service - the service to be cachedpublic void getMacroDescriptor(String macroId, String syntaxId, com.google.gwt.user.client.rpc.AsyncCallback<MacroDescriptor> async)
getMacroDescriptor in interface MacroServiceAsyncmacroId - a macro identifiersyntaxId - a syntax identifierasync - the call-back to be used for notifying the caller after receiving the response from the serverMacroServiceAsync.getMacroDescriptor(String, String, AsyncCallback)public void getMacroDescriptors(String syntaxId, com.google.gwt.user.client.rpc.AsyncCallback<List<MacroDescriptor>> async)
getMacroDescriptors in interface MacroServiceAsyncsyntaxId - a syntax identifierasync - the call-back to be used for notifying the caller after receiving the response from the serverMacroServiceAsync.getMacroDescriptors(String, AsyncCallback)Copyright © 2004–2014 XWiki. All rights reserved.