com.atlassian.confluence.renderer
Class DefaultShortcutLinksManager

java.lang.Object
  extended by com.atlassian.confluence.renderer.DefaultShortcutLinksManager
All Implemented Interfaces:
ShortcutLinksManager

public class DefaultShortcutLinksManager
extends java.lang.Object
implements ShortcutLinksManager


Constructor Summary
DefaultShortcutLinksManager()
           
 
Method Summary
 void addShortcutLink(java.lang.String key, ShortcutLinkConfig shortcutLinkConfig)
          Add a shortcut.
 ShortcutLinkConfig getShortcutLinkConfig(java.lang.String key)
           
 java.util.Map<java.lang.String,ShortcutLinkConfig> getShortcutLinks()
           
 boolean hasShortcutLink(java.lang.String key)
           
 void removeShortcutLink(java.lang.String key)
           
 void setBandanaManager(com.atlassian.bandana.BandanaManager bandanaManager)
           
 void updateShortcutLinks(java.util.Map shortcutLinks)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultShortcutLinksManager

public DefaultShortcutLinksManager()
Method Detail

getShortcutLinks

public java.util.Map<java.lang.String,ShortcutLinkConfig> getShortcutLinks()
Specified by:
getShortcutLinks in interface ShortcutLinksManager

addShortcutLink

public void addShortcutLink(java.lang.String key,
                            ShortcutLinkConfig shortcutLinkConfig)
Add a shortcut. All shortcut keys will be stored as lowercase.

Specified by:
addShortcutLink in interface ShortcutLinksManager

removeShortcutLink

public void removeShortcutLink(java.lang.String key)
Specified by:
removeShortcutLink in interface ShortcutLinksManager

updateShortcutLinks

public void updateShortcutLinks(java.util.Map shortcutLinks)
Specified by:
updateShortcutLinks in interface ShortcutLinksManager

setBandanaManager

public void setBandanaManager(com.atlassian.bandana.BandanaManager bandanaManager)

hasShortcutLink

public boolean hasShortcutLink(java.lang.String key)
Specified by:
hasShortcutLink in interface ShortcutLinksManager

getShortcutLinkConfig

public ShortcutLinkConfig getShortcutLinkConfig(java.lang.String key)
Specified by:
getShortcutLinkConfig in interface ShortcutLinksManager


Copyright © 2003-2011 Atlassian. All Rights Reserved.