net.sourceforge.blogentis.plugins.base
Class AbstractNavigationExtension.LinkToTemplate

java.lang.Object
  extended bynet.sourceforge.blogentis.plugins.base.AbstractNavigationExtension.AbstractLink
      extended bynet.sourceforge.blogentis.plugins.base.AbstractNavigationExtension.LinkToTemplate
All Implemented Interfaces:
ILinkTo
Direct Known Subclasses:
AbstractNavigationExtension.LinkToParameterPage
Enclosing class:
AbstractNavigationExtension

protected static class AbstractNavigationExtension.LinkToTemplate
extends AbstractNavigationExtension.AbstractLink


Field Summary
protected  java.lang.String page
           
 
Fields inherited from class net.sourceforge.blogentis.plugins.base.AbstractNavigationExtension.AbstractLink
au, label
 
Constructor Summary
AbstractNavigationExtension.LinkToTemplate(java.lang.String page, java.lang.String name)
           
AbstractNavigationExtension.LinkToTemplate(java.lang.String page, java.lang.String name, AbstractNavigationExtension.Authenticator a)
           
 
Method Summary
 AbsoluteLinkURL getLink(BlogRunData data, AbsoluteLinkURL link)
          Get the linked page that this link should lead to.
 boolean isCurrentPage(BlogRunData data)
          Check if this link's target is the same as the current request.
 
Methods inherited from class net.sourceforge.blogentis.plugins.base.AbstractNavigationExtension.AbstractLink
getLabel, isAuthorized
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

page

protected java.lang.String page
Constructor Detail

AbstractNavigationExtension.LinkToTemplate

public AbstractNavigationExtension.LinkToTemplate(java.lang.String page,
                                                  java.lang.String name)

AbstractNavigationExtension.LinkToTemplate

public AbstractNavigationExtension.LinkToTemplate(java.lang.String page,
                                                  java.lang.String name,
                                                  AbstractNavigationExtension.Authenticator a)
Method Detail

getLink

public AbsoluteLinkURL getLink(BlogRunData data,
                               AbsoluteLinkURL link)
Description copied from interface: ILinkTo
Get the linked page that this link should lead to.

Parameters:
data - the RunData of the request.
link - an (possibly modified) link.
Returns:

isCurrentPage

public boolean isCurrentPage(BlogRunData data)
Description copied from interface: ILinkTo
Check if this link's target is the same as the current request.

Parameters:
data - The current request
Returns:
true if the current request shows the current page.


Copyright © 2003-2004 SourceForge.net. All Rights Reserved.