net.sourceforge.blogentis.plugins.base
Class AbstractNavigationExtension

java.lang.Object
  extended bynet.sourceforge.blogentis.plugins.AbstractExtension
      extended bynet.sourceforge.blogentis.plugins.AbstractBlogExtension
          extended bynet.sourceforge.blogentis.plugins.base.AbstractNavigationExtension
All Implemented Interfaces:
IBlogExtension, IExtension, INavigationExtension
Direct Known Subclasses:
BasicNavigationExtension, StorageNavigationExtension, TrackbackNavExtension, UserNavigationExtension

public abstract class AbstractNavigationExtension
extends AbstractBlogExtension
implements INavigationExtension

Author:
abas

Nested Class Summary
protected static class AbstractNavigationExtension.AbstractLink
           
protected static interface AbstractNavigationExtension.Authenticator
           
protected static class AbstractNavigationExtension.LinkToActionPage
           
protected static class AbstractNavigationExtension.LinkToParameterPage
           
protected static class AbstractNavigationExtension.LinkToSplitPage
           
protected static class AbstractNavigationExtension.LinkToTemplate
           
protected static class AbstractNavigationExtension.TargetAuthenticator
           
 
Field Summary
protected static AbstractNavigationExtension.Authenticator AuthorAuthenticator
           
protected static AbstractNavigationExtension.Authenticator BlogAdminAuthenticator
           
protected static AbstractNavigationExtension.Authenticator EditorAuthenticator
           
protected static AbstractNavigationExtension.Authenticator SiteAdminAuthenticator
           
 
Fields inherited from class net.sourceforge.blogentis.plugins.AbstractBlogExtension
blog, preferences
 
Fields inherited from interface net.sourceforge.blogentis.plugins.base.INavigationExtension
ADMIN_LIST_NAME, ADMIN_SITE_NAME, APPEARANCE_LIST_NAME, AUTHORING_ACTIONS_NAME, BLOG_SETTINGS_NAME, SIDEBOX_LIST_NAME, USER_ACTIONS_NAME
 
Constructor Summary
AbstractNavigationExtension(IPlugin plugin, Blog blog)
           
 
Method Summary
 void addNavigations(BlogRunData data, java.lang.String navName, java.util.List links)
          This method will be called to fill the list of links.
 
Methods inherited from class net.sourceforge.blogentis.plugins.AbstractBlogExtension
getPreferences, setPreferences
 
Methods inherited from class net.sourceforge.blogentis.plugins.AbstractExtension
getPlugin
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.sourceforge.blogentis.plugins.IBlogExtension
getPreferences, setPreferences
 
Methods inherited from interface net.sourceforge.blogentis.plugins.IExtension
getName, getPlugin
 

Field Detail

SiteAdminAuthenticator

protected static final AbstractNavigationExtension.Authenticator SiteAdminAuthenticator

BlogAdminAuthenticator

protected static final AbstractNavigationExtension.Authenticator BlogAdminAuthenticator

EditorAuthenticator

protected static final AbstractNavigationExtension.Authenticator EditorAuthenticator

AuthorAuthenticator

protected static final AbstractNavigationExtension.Authenticator AuthorAuthenticator
Constructor Detail

AbstractNavigationExtension

public AbstractNavigationExtension(IPlugin plugin,
                                   Blog blog)
Method Detail

addNavigations

public void addNavigations(BlogRunData data,
                           java.lang.String navName,
                           java.util.List links)
Description copied from interface: INavigationExtension
This method will be called to fill the list of links. If this extension does not know about the specified navName, it will simply leave the list unmodified.

Specified by:
addNavigations in interface INavigationExtension
Parameters:
data - the BlogRunData of the current request
navName - the navigation lists' name.
links - the navigation list to be modified.


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