@Role
public interface MacroCategoryManager
| Modifier and Type | Method and Description |
|---|---|
Set<String> |
getMacroCategories()
Returns all the macro categories currently available in the system.
|
Set<String> |
getMacroCategories(Syntax syntax)
Returns all the macro categories currently available in the system for macros registered for a given syntax
and for all syntaxes.
|
Set<MacroId> |
getMacroIds(String category) |
Set<MacroId> |
getMacroIds(String category,
Syntax syntax) |
Set<String> getMacroCategories() throws MacroLookupException
MacroLookupException - error when looking up macrosSet<String> getMacroCategories(Syntax syntax) throws MacroLookupException
syntax - the syntax to filter the macros by syntax.MacroLookupException - error when looking up macrosSet<MacroId> getMacroIds(String category) throws MacroLookupException
category - name of the category or null.MacroLookupException - error when lookup macrosSet<MacroId> getMacroIds(String category, Syntax syntax) throws MacroLookupException
category - name of the category or null.syntax - the syntax to filter the macros by syntax.MacroLookupException - error when lookup macrosCopyright © 2004–2014 XWiki. All rights reserved.