org.xwiki.gwt.wysiwyg.client.plugin.macro
Interface MacroService

All Superinterfaces:
com.google.gwt.user.client.rpc.RemoteService

@Role
@RemoteServiceRelativePath(value="MacroService.gwtrpc")
public interface MacroService
extends com.google.gwt.user.client.rpc.RemoteService

The service interface used on the server.

Version:
$Id: eadb5752cec7fcacc57a3d8d0fea776f9a755510 $

Method Summary
 MacroDescriptor getMacroDescriptor(String macroId, String syntaxId)
           
 List<MacroDescriptor> getMacroDescriptors(String syntaxId)
           
 

Method Detail

getMacroDescriptor

MacroDescriptor getMacroDescriptor(String macroId,
                                   String syntaxId)
Parameters:
macroId - a macro identifier
syntaxId - a syntax identifier
Returns:
an object describing the specified macro

getMacroDescriptors

List<MacroDescriptor> getMacroDescriptors(String syntaxId)
Parameters:
syntaxId - a syntax identifier
Returns:
the list of all the macro descriptors for the specified syntax


Copyright © 2004-2013 XWiki. All Rights Reserved.