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 |
getMacroDescriptor(String macroId,
String syntaxId,
String wikiId,
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.
|
void |
getMacroDescriptors(String syntaxId,
String wikiId,
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, String wikiId, com.google.gwt.user.client.rpc.AsyncCallback<MacroDescriptor> async)
MacroServiceAsyncgetMacroDescriptor in interface MacroServiceAsyncmacroId - a macro identifiersyntaxId - a syntax identifierwikiId - a wiki identifierasync - the call-back to be used for notifying the caller after receiving the response from the serverpublic void getMacroDescriptor(String macroId, String syntaxId, com.google.gwt.user.client.rpc.AsyncCallback<MacroDescriptor> async)
MacroServiceAsyncgetMacroDescriptor 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 serverpublic void getMacroDescriptors(String syntaxId, String wikiId, com.google.gwt.user.client.rpc.AsyncCallback<List<MacroDescriptor>> async)
MacroServiceAsyncgetMacroDescriptors in interface MacroServiceAsyncsyntaxId - a syntax identifierwikiId - a wiki identifierasync - the call-back to be used for notifying the caller after receiving the response from the serverpublic void getMacroDescriptors(String syntaxId, com.google.gwt.user.client.rpc.AsyncCallback<List<MacroDescriptor>> async)
MacroServiceAsyncgetMacroDescriptors in interface MacroServiceAsyncsyntaxId - a syntax identifierasync - the call-back to be used for notifying the caller after receiving the response from the serverCopyright © 2004–2016 XWiki. All rights reserved.