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

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

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

The service interface used on the server.

Version:
$Id: MacroService.java 26786 2010-02-07 16:46:17Z mflorea $

Method Summary
 MacroDescriptor getMacroDescriptor(java.lang.String macroId, java.lang.String syntaxId)
           
 java.util.List<MacroDescriptor> getMacroDescriptors(java.lang.String syntaxId)
           
 

Method Detail

getMacroDescriptor

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

getMacroDescriptors

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


Copyright © 2004-2011 XWiki. All Rights Reserved.