@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.
|
default String |
getMacroCategory(MacroId macroId)
Return the set of category of a given macro.
|
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–2022 XWiki. All rights reserved.