net.sourceforge.blogentis.plugins.impl
Class UserNavigationExtension.LogInOut

java.lang.Object
  extended bynet.sourceforge.blogentis.plugins.base.AbstractNavigationExtension.AbstractLink
      extended bynet.sourceforge.blogentis.plugins.impl.UserNavigationExtension.LogInOut
All Implemented Interfaces:
ILinkTo
Enclosing class:
UserNavigationExtension

public static class UserNavigationExtension.LogInOut
extends AbstractNavigationExtension.AbstractLink


Field Summary
(package private)  java.lang.String action
           
 
Fields inherited from class net.sourceforge.blogentis.plugins.base.AbstractNavigationExtension.AbstractLink
au, label
 
Constructor Summary
UserNavigationExtension.LogInOut(java.lang.String action, java.lang.String name)
           
 
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

action

java.lang.String action
Constructor Detail

UserNavigationExtension.LogInOut

public UserNavigationExtension.LogInOut(java.lang.String action,
                                        java.lang.String name)
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.