com.atlassian.confluence.plugins.linkbrowser.client
Interface LinkBrowserPanelPresenter

All Known Subinterfaces:
AttachmentsPresenter, RecentlyViewedPresenter, SearchLinkPresenter, WebLinkPresenter
All Known Implementing Classes:
AttachmentsPresenterImpl, RecentlyViewedPresenterImpl, SearchLinkPresenterImpl, WebLinkPresenterImpl

public interface LinkBrowserPanelPresenter


Method Summary
 String getAlias()
           
 String getDestination()
           
 String getDestinationTitle()
           
 LinkBrowserPanelDisplay getDisplay()
           
 String getHref()
           
 boolean isAliasSpecified()
           
 void loadLinkInfo(LinkInfo linkInfo)
          Loads the data from this link info object into the current panel.
 void onDisplay(String alias)
           
 

Method Detail

getAlias

String getAlias()
Returns:
the alias text of the link

getDestination

String getDestination()
Returns:
the wiki markup of the link destination

getDestinationTitle

String getDestinationTitle()
Returns:
the link title displayed in the editor, even if there is no alias defined

getHref

String getHref()
Returns:
the href for the link

isAliasSpecified

boolean isAliasSpecified()

loadLinkInfo

void loadLinkInfo(LinkInfo linkInfo)
Loads the data from this link info object into the current panel.

Parameters:
linkInfo -

getDisplay

LinkBrowserPanelDisplay getDisplay()
Returns:
the LinkBrowserPanelDisplay the presenter is responsible for

onDisplay

void onDisplay(String alias)


Copyright © 2003-2011 Atlassian. All Rights Reserved.