|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.confluence.macro.browser.DefaultMacroMetadataProvider
public class DefaultMacroMetadataProvider
| Constructor Summary | |
|---|---|
DefaultMacroMetadataProvider(ModuleDescriptorCache<? extends com.atlassian.plugin.ModuleDescriptor> macroModuleDescriptorCache,
MacroFallbackParser macroFallbackParser)
|
|
| Method Summary | |
|---|---|
MacroMetadata |
getByMacroName(String macroName)
Returns the metadata for the named macro if it is known to this provider. |
MacroMetadata |
getByMacroNameAndId(String macroName,
String alternateId)
Returns the metadata for the named macro if it is known to this provider. |
Collection<MacroMetadata> |
getData()
Returns a collection of MacroMetadata for use in the Macro Browser. |
Collection<MacroSummary> |
getSummaries()
Returns a collection of MacroMetadata for use in the Macro Browser. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultMacroMetadataProvider(ModuleDescriptorCache<? extends com.atlassian.plugin.ModuleDescriptor> macroModuleDescriptorCache,
MacroFallbackParser macroFallbackParser)
| Method Detail |
|---|
public Collection<MacroMetadata> getData()
MacroMetadataProviderMacroMetadata for use in the Macro Browser.
This collection need not necessarily be unique.
getData in interface MacroMetadataProviderpublic Collection<MacroSummary> getSummaries()
MacroMetadataProviderMacroMetadata for use in the Macro Browser.
This collection need not necessarily be unique. It's just the summaries.
getSummaries in interface MacroMetadataProviderpublic MacroMetadata getByMacroName(String macroName)
MacroMetadataProvider
getByMacroName in interface MacroMetadataProvidermacroName - the (simple, unfriendly) name of the macro.
public MacroMetadata getByMacroNameAndId(String macroName,
String alternateId)
MacroMetadataProvider
getByMacroNameAndId in interface MacroMetadataProvidermacroName - the (simple, unfriendly) name of the macro.alternateId - additional identification for macros where the macroName is not sufficient. If alternateId
is null, then it should be ignored.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||